Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | 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 | ||||
* | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 2019-09-29 | 1 | -14/+12 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+1 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Prefer static_cast to reinterpret_cast (#4223) | peterbell10 | 2018-05-02 | 1 | -1/+1 |
| | | | | | | | * Change reinterpret_cast -> static_cast wherever possible * Remove more unnecessary `const_cast`s. reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there. | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -22/+6 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -6/+22 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -22/+6 |
| | |||||
* | Sitting cats block enderchests from opening (#3906) | Bond-009 | 2017-08-17 | 1 | -23/+3 |
| | |||||
* | Added basic ocelot behavior (#3829) | Bond-009 | 2017-07-12 | 1 | -2/+29 |
| | |||||
* | BlockEntities: Support cloning self. | Mattes D | 2017-06-16 | 1 | -2/+17 |
| | |||||
* | Fixes problems with windows: | Lukas Pioch | 2017-06-05 | 1 | -1/+1 |
| | | | | | - Changed cPlayer:OpenWindow to accept a ref, tolua adds a nil check - Close open lua window in destructor, to avoid dangling pointers | ||||
* | Fixed double chests (#3741) | peterbell10 | 2017-06-03 | 1 | -4/+11 |
| | | | | | Normal and trapped chests next to each other don't open a double chest window. Slot changes in the secondary chest are broadcast. Placing a chest in +x of another updates the original chest's metadata. | ||||
* | Double chest window fix (#3735) | peterbell10 | 2017-05-28 | 1 | -49/+116 |
| | |||||
* | Fixed invisible chests (#3722) | Pablo Beltrán | 2017-05-21 | 1 | -4/+3 |
| | | | Fixes #3479, #3403, #3696 | ||||
* | Reduced unnecessary block updates | LogicParrot | 2016-04-22 | 1 | -1/+1 |
| | |||||
* | allow use failures to propagate from the entity/block to the player | Gargaj | 2015-12-13 | 1 | -1/+2 |
| | |||||
* | (Ender) Chests are obstructed by opaque blocks. | Nounours Heureux | 2015-07-07 | 1 | -10/+6 |
| | |||||
* | Correct world height validations. | Tommy Santerre | 2015-03-20 | 1 | -2/+2 |
| | | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | ||||
* | Own classes for all windows. | Howaner | 2014-12-13 | 1 | -1/+1 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -3/+3 |
| | |||||
* | Removed WSSCompact | Tiger Wang | 2014-09-30 | 1 | -42/+0 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into chestcarts | Tiger Wang | 2014-09-27 | 1 | -1/+0 |
|\ | | | | | | | | | Conflicts: src/Entities/Minecart.cpp | ||||
| * | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -1/+0 |
| | | |||||
* | | Implemented Chest Minecarts | Tiger Wang | 2014-09-13 | 1 | -1/+0 |
|/ | |||||
* | Fixed spaces before commas. | madmaxoft | 2014-07-18 | 1 | -2/+2 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | cChestEntity: Renamed a member to avoid confusion. | madmaxoft | 2014-07-12 | 1 | -1/+1 |
| | |||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -3/+4 |
| | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | Chests don't open if obstructed | Tiger Wang | 2014-06-22 | 1 | -0/+13 |
| | | | | * Fixes FS383 | ||||
* | Fixed VC2008 compilation, normalized include paths. | madmaxoft | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | Fixed the remaining derps | Alexander Harkness | 2013-11-27 | 1 | -1/+1 |
| | |||||
* | Further attempts to fix compile | Tiger Wang | 2013-11-25 | 1 | -1/+1 |
| | |||||
* | Attempt to fix compilation | Tiger Wang | 2013-11-24 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+172 |