summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockSignPost.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not fake a tool when converting to pickups (#5170)Tiger Wang2021-03-281-1/+1
| | | | | * When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it. * Fixes #4795 - Remove unused a_Digger parameter to ConvertToPickups.
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-1/+1
| | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Unify block entity pickup conversionTiger Wang2020-09-251-1/+1
| | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-28/+20
| | | | | | | | | | | | | * BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-4/+28
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Using Super.Mattes D2020-04-161-2/+2
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-5/+13
|
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-1/+1
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Merge pull request #2349 from cuberite/mapsTiger Wang2015-07-151-7/+6
|\ | | | | Improved maps
| * Improved mapsTiger Wang2015-07-141-7/+6
| |
* | Fixed bad logic.Alexander Harkness2015-05-161-1/+1
| |
* | Should Fix sign flipping.Alexander Harkness2015-05-161-2/+2
|/ | | Fixes #1118
* Refactored all player block placing to go through hooks.Mattes D2014-12-241-11/+0
| | | | Fixes #1618.
* Signs can be placed on wallsigns.Alexander Harkness2014-10-231-1/+1
| | | Fixes #1438
* Removed old sound-configuration for SignPostsMasy982014-09-091-6/+0
|
* Fixed signs not staying on other signsTiger Wang2014-08-041-1/+2
|
* Normalized code style for both sign handlers.madmaxoft2014-07-181-8/+11
|
* Added a extra wall sign handler.Howaner2014-07-181-0/+103
Fixes #1119