Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-08-04 | Door drops respect player gamemode | Tiger Wang | 1 | -6/+0 | |
* Rely on caller to handle converting to pickups, all OnBroken needs to do is to maintain the unity of the door * Fixes #4797 * Fixes #4796 | |||||
2020-04-21 | Vector3 in Handlers (#4680) | Mattes D | 1 | -30/+64 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -2/+2 | |
2020-04-11 | Fix rotation metas on blocks | Alexander Harkness | 1 | -2/+2 | |
2020-04-10 | Add mixins for blocks that rotate based on player yaw at placement | Alexander Harkness | 1 | -37/+3 | |
Also add observer block handler. | |||||
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 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 | |||||
2019-10-28 | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 1 | -2/+34 | |
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -42/+26 | |
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 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. | |||||
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 1 | -6/+6 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 1 | -4/+4 | |
2017-07-28 | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 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. | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -3/+3 | |
2015-12-13 | allow use failures to propagate from the entity/block to the player | Gargaj | 1 | -1/+1 | |
2015-07-14 | Improved maps | Tiger Wang | 1 | -14/+22 | |
2015-07-14 | Fix duping doors (#1327) | mmdk95 | 1 | -0/+4 | |
2015-06-13 | Fixed typo in BlockDoor.h | Lane Kolbly | 1 | -1/+1 | |
2015-05-24 | Made -Weverything an error. | tycho | 1 | -3/+3 | |
2015-04-21 | Fix door placing in connection with slabs | wraith11 | 1 | -5/+20 | |
Except top-half slabs as transparent blocks for doors. | |||||
2014-12-25 | Fixed door placement. | Mattes D | 1 | -1/+2 | |
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 1 | -12/+27 | |
Fixes #1618. | |||||
2014-09-30 | Code improvements | Howaner | 1 | -1/+4 | |
2014-09-30 | Fixed 1.8 doors. | Howaner | 1 | -1/+14 | |
2014-09-27 | Added default value to switch and spruce gate to fence gate handler | Masy98 | 1 | -0/+5 | |
2014-09-27 | Fixed convertToPickups for doors | Masy98 | 1 | -1/+38 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -0/+1 | |
2014-09-09 | Removed old sound-configuration for doors | Masy98 | 1 | -1/+0 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -1/+1 | |
2014-06-16 | Fix a few warnings | Tycho | 1 | -3/+3 | |
2014-06-09 | Added Y coord checks and documentation to cBlockDoorHandler. | madmaxoft | 1 | -19/+40 | |
2014-05-31 | Moved the IsDoor check before the meta get. | Howaner | 1 | -2/+1 | |
2014-05-31 | Add doxy-comment | Howaner | 1 | -3/+4 | |
2014-05-30 | Better SetOpen() and IsOpen() function from the doors. | Howaner | 1 | -76/+26 | |
2014-05-29 | Add SetOpen() and IsOpen() to BlockDoor.h and fix door redstone bug. | Howaner | 1 | -9/+80 | |
2014-03-25 | Fixed spelling; Rotater to Rotator. | narroo | 1 | -3/+3 | |
2014-03-24 | Added MetaRotate/Mirror Support for a number of classes. | narroo | 1 | -59/+7 | |
2014-03-05 | Add data backsending, when the Client interacts a Block and the Interact is cancelled. | Howaner | 1 | -0/+1 | |
2014-03-02 | Reformatted | Tycho | 1 | -2/+2 | |
2014-03-01 | Revesed typedef | Tycho | 1 | -1/+1 | |
2014-03-01 | Implemented Rotations | Tycho | 1 | -2/+3 | |
2014-02-27 | Added some Metadate rotaters using templated Mixin | Tycho | 1 | -1/+56 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -3/+3 | |
May Fix #640 | |||||
2014-02-01 | Changed Signiture of OnDestroyedByPlayer | Tycho | 1 | -1/+1 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -16/+16 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -17/+16 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-25 | First attempt at Implementing Interfaces | Tycho | 1 | -1/+1 | |
2014-01-17 | Removed internal cEntity::GetRot() usage. | madmaxoft | 1 | -1/+1 | |
2014-01-16 | Removed obsoleted functions | Tiger Wang | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-09-13 | Removed place on top and side preventions | Tiger Wang | 1 | -6/+0 | |
2013-09-09 | Removed the cDoors class. | madmaxoft | 1 | -2/+78 | |
The helper functions that it implemented were moved into their respective blockhandlers. | |||||
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -105/+105 | |
2013-03-15 | Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking. | madmaxoft@gmail.com | 1 | -2/+2 | |
Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -4/+63 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-20 | Fixed a bool evaluation warning in BlockDoor.h | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1083 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-19 | Implemented double doors | luksor111@gmail.com | 1 | -1/+6 | |
Implemented fence gate Updated g_BlockTransparent[] Doors can now only be opened by right clicking Doors will now drop when not supported by block git-svn-id: http://mc-server.googlecode.com/svn/trunk@1080 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -7/+7 | |
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-01 | Slight refactoring of BlockHandlers - dropping unneeded virtual functions | madmaxoft@gmail.com | 1 | -14/+24 | |
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Unified folder name-casing | madmaxoft@gmail.com | 1 | -0/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-11 | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 1 | -0/+1 | |
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564 git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-19 | Fixed Bug #236 | lapayo94@gmail.com | 1 | -1/+2 | |
Workbench, Chest and Furnace are usable again git-svn-id: http://mc-server.googlecode.com/svn/trunk@755 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Some code improvements | lapayo94@gmail.com | 1 | -8/+8 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -0/+29 | |
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6 |