Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+7 |
| | | | | | | | | | 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 | -6/+17 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -4/+15 |
| | |||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -4/+3 |
| | |||||
* | Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage | LogicParrot | 2016-04-16 | 1 | -1/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -8/+8 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -2/+0 |
| | | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | ||||
* | allow use failures to propagate from the entity/block to the player | Gargaj | 2015-12-13 | 1 | -1/+3 |
| | |||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| * | Fixed farmland issues. | Howaner | 2014-09-12 | 1 | -2/+2 |
| | | |||||
* | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -50/+13 |
|/ | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -2/+2 |
| | |||||
* | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Forgotten changes to cChunkInterface. | madmaxoft | 2014-03-01 | 1 | -2/+2 |
| | |||||
* | Removed cBlockHandler forward declaration from cChunkInterface. | madmaxoft | 2014-03-01 | 1 | -9/+22 |
| | | | | Wasn't needed. Also reformatted the code. | ||||
* | Changed Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -0/+5 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -3/+3 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -0/+4 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -7/+51 |
| | |||||
* | First attempt at Implementing Interfaces | Tycho | 2014-01-25 | 1 | -0/+26 |