Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add mixins for blocks that rotate based on player yaw at placement | Alexander Harkness | 2020-04-10 | 1 | -37/+3 |
| | | | | Also add observer block handler. | ||||
* | 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 | -2/+34 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -42/+26 |
| | |||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -1/+1 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -6/+6 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -4/+4 |
| | |||||
* | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 2017-07-28 | 1 | -0/+2 |
| | | | | | | | | | | | | | * Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -3/+3 |
| | |||||
* | allow use failures to propagate from the entity/block to the player | Gargaj | 2015-12-13 | 1 | -1/+1 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -14/+22 |
| | |||||
* | Fix duping doors (#1327) | mmdk95 | 2015-07-14 | 1 | -0/+4 |
| | |||||
* | Fixed typo in BlockDoor.h | Lane Kolbly | 2015-06-13 | 1 | -1/+1 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -3/+3 |
| | |||||
* | Fix door placing in connection with slabs | wraith11 | 2015-04-21 | 1 | -5/+20 |
| | | | | Except top-half slabs as transparent blocks for doors. | ||||
* | Fixed door placement. | Mattes D | 2014-12-25 | 1 | -1/+2 |
| | |||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -12/+27 |
| | | | | Fixes #1618. | ||||
* | Code improvements | Howaner | 2014-09-30 | 1 | -1/+4 |
| | |||||
* | Fixed 1.8 doors. | Howaner | 2014-09-30 | 1 | -1/+14 |
| | |||||
* | Added default value to switch and spruce gate to fence gate handler | Masy98 | 2014-09-27 | 1 | -0/+5 |
| | |||||
* | Fixed convertToPickups for doors | Masy98 | 2014-09-27 | 1 | -1/+38 |
| | |||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -0/+1 |
| | |||||
* | Removed old sound-configuration for doors | Masy98 | 2014-09-09 | 1 | -1/+0 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Fix a few warnings | Tycho | 2014-06-16 | 1 | -3/+3 |
| | |||||
* | Added Y coord checks and documentation to cBlockDoorHandler. | madmaxoft | 2014-06-09 | 1 | -19/+40 |
| | |||||
* | Moved the IsDoor check before the meta get. | Howaner | 2014-05-31 | 1 | -2/+1 |
| | |||||
* | Add doxy-comment | Howaner | 2014-05-31 | 1 | -3/+4 |
| | |||||
* | Better SetOpen() and IsOpen() function from the doors. | Howaner | 2014-05-30 | 1 | -76/+26 |
| | |||||
* | Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug. | Howaner | 2014-05-29 | 1 | -9/+80 |
| | |||||
* | Fixed spelling; Rotater to Rotator. | narroo | 2014-03-25 | 1 | -3/+3 |
| | |||||
* | Added MetaRotate/Mirror Support for a number of classes. | narroo | 2014-03-24 | 1 | -59/+7 |
| | |||||
* | Merge pull request #729 from worktycho/MetaRotate | Mattes D | 2014-03-08 | 1 | -1/+57 |
|\ | | | | | Alternitive solution to #503 | ||||
| * | Reformatted | Tycho | 2014-03-02 | 1 | -2/+2 |
| | | |||||
| * | Revesed typedef | Tycho | 2014-03-01 | 1 | -1/+1 |
| | | |||||
| * | Implemented Rotations | Tycho | 2014-03-01 | 1 | -2/+3 |
| | | |||||
| * | Added some Metadate rotaters using templated Mixin | Tycho | 2014-02-27 | 1 | -1/+56 |
| | | |||||
* | | Add data backsending, when the Client interacts a Block and the Interact is cancelled. | Howaner | 2014-03-05 | 1 | -0/+1 |
|/ | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -3/+3 |
| | | | | May Fix #640 | ||||
* | Changed Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -16/+16 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -17/+16 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | First attempt at Implementing Interfaces | Tycho | 2014-01-25 | 1 | -1/+1 |
| | |||||
* | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 1 | -1/+1 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+175 |