summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockStone.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-9/+4
| | | | | | | | | | | | | * 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>
* Using Super.Mattes D2020-04-161-2/+2
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-8/+22
|
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* Improved mapsTiger Wang2015-07-141-0/+6
|
* Fixed compilation.Alexander Harkness2014-10-111-1/+1
|
* Fixed codestyle again.Alexander Harkness2014-09-291-1/+1
|
* BlockStone.h: fix the codestylew00tc0d32014-09-291-6/+5
|
* BlockStone: drop the right cobblestone on onBreak().netchip2014-09-291-3/+9
| | | | Signed-off-by: netchip <w00tc0d3@outlook.com>
* Implemented tripwire(s) (hooks)Tiger Wang2014-06-281-2/+0
| | | | * Fixes #944
* Moved source to srcAlexander Harkness2013-11-241-0/+29