summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockStems.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Using Super.Mattes D2020-04-161-2/+2
|
* Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D2020-04-031-1/+1
| | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
* Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D2019-10-281-25/+121
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-7/+17
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it.Samuel Barney2015-08-191-12/+21
| | | | * Blocks now have an effect upon plant growth, just like in vanilla.
* Improved mapsTiger Wang2015-07-141-3/+6
|
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-6/+0
|
* Fixed a few Clang warnings in BlockHandlers.madmaxoft2014-03-301-1/+2
|
* Changed Signiture of OnUpdateTycho2014-02-021-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
* Fixed melon and pumpkin growing.madmaxoft2013-12-201-1/+1
|
* Merge pull request #387 from mc-server/trapdoorsMattes D2013-11-301-1/+0
|\ | | | | Trapdoors, redstone fixes, and snow
| * Removed unneeded CPP filesTiger Wang2013-11-291-1/+0
| | | | | | | | Also removed unneeded #include in BlockStems
* | Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft2013-11-301-4/+6
|/
* Moved source to srcAlexander Harkness2013-11-241-0/+58