summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockLadder.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>
* 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-28/+36
| | | 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-8/+33
|
* Deal with covered switches consistently (#4161)peterbell102018-02-051-4/+1
| | | | | | | * Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-1/+1
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-1/+1
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Improved mapsTiger Wang2015-07-141-7/+6
|
* Fixed warnings in MSVC.Mattes D2015-06-021-0/+4
| | | | It complained about undefined return values or using uninitialized variables.
* Fixed a lot of warningstycho2015-05-191-1/+6
|
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-6/+0
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
|
* More trailing whitespace fixes.madmaxoft2014-07-171-3/+3
|
* Normalized comments.madmaxoft2014-07-171-1/+1
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Merge remote-tracking branch 'origin/ClearMetaMixin'madmaxoft2014-07-151-2/+4
|\
| * Added super typedefTycho2014-07-151-1/+2
| |
| * Added first implementation of cClearMetaOnDropTycho2014-07-141-2/+3
| |
* | Fixed some meta resetting bugsTiger Wang2014-07-141-8/+14
|/ | | | | * Fixes #1174 * Fixes #1171
* Fixed spelling; Rotater to Rotator.narroo2014-03-251-2/+2
|
* Added MetaRotate/Mirror Support for a number of classes.narroo2014-03-241-2/+2
|
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-1/+1
|
* Improved Type safety of eBlockFaceTycho2014-02-041-16/+17
| | | | May Fix #640
* Changed pointers to referencesTycho2014-02-011-5/+5
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-9/+9
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Moved source to srcAlexander Harkness2013-11-241-0/+115