summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockRedstone.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-10/+5
| | | | | | | | | | | | | * 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/+16
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Using Super.Mattes D2020-04-161-2/+2
|
* Fix certain item drops (#4536)Mat2020-03-231-2/+7
| | | | | | | | | | | * Fix certain item drops * Revert unwanted changes * Revert unwanted changes * Revert change * Style fixes
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-9/+6
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Improved mapsTiger Wang2015-07-141-3/+6
|
* Added mechanics placeable on halfslabsJulian Laubstein2014-10-191-2/+25
|
* Code formatting fixes.Howaner2014-08-191-2/+2
|
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-1/+1
|
* Changed pointers to referencesTycho2014-02-011-1/+1
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-1/+1
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Renamed g_TorchPlaceable...Tiger Wang2014-01-111-1/+1
| | | | ...to g_FullyOccupiesVoxel, as recommended by @bearbin
* Fixed dust from being placed on nonsolidsTiger Wang2013-12-191-1/+1
|
* Removed unneeded CPP filesTiger Wang2013-11-291-3/+4
| | | | Also removed unneeded #include in BlockStems
* Moved source to srcAlexander Harkness2013-11-241-0/+35