Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -13/+10 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -3/+3 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+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 D | 2019-10-28 | 1 | -26/+85 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -7/+17 |
| | |||||
* | Break the cactus block when it grows next to a block. (#3851) | Bond-009 | 2017-07-18 | 1 | -2/+6 |
| | |||||
* | * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it. | Samuel Barney | 2015-08-19 | 1 | -4/+21 |
| | | | | * Blocks now have an effect upon plant growth, just like in vanilla. | ||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -3/+6 |
| | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -6/+0 |
| | |||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -1/+1 |
| | |||||
* | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Fixed cacus breaking when next to any non-air block. | STRWarrior | 2013-12-22 | 1 | -1/+1 |
| | |||||
* | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 2013-11-30 | 1 | -2/+2 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+82 |