summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.h (unfollow)
Commit message (Expand)AuthorFilesLines
2020-09-17BlockHandler: no dynamic allocation (#4862)Tiger Wang1-3/+3
2020-08-04OnBroken/OnPlaced are for entity actionsTiger Wang1-22/+5
2020-04-21Vector3 in Handlers (#4680)Mattes D1-28/+52
2020-04-17More Vector3 in cBlockHandler (#4644)Mattes D1-3/+16
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-1/+1
2019-10-28Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D1-0/+4
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-27/+67
2019-08-05Register vanilla blocks in BlockTypeRegistry.Mattes D1-0/+7
2018-01-08Rewrite cClientHandle::HandleRightClick (#4089)9caihezi1-1/+2
2017-11-20cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0091-1/+1
2017-08-25Bed piston fix (#3956)Lane Kolbly1-2/+2
2017-08-24Minor changes (#3909)mathiascode1-1/+1
2017-08-01cBlockHandler: take player by refpeterbell101-6/+6
2017-07-28Check for intersection between placed blocks and entities. (#3850)Lane Kolbly1-0/+7
2017-07-07BigFlower fixes (#3826)peterbell101-9/+4
2017-07-07Added bed entity (#3823)Lukas Pioch1-0/+4
2016-02-05Bulk clearing of whitespaceLogicParrot1-21/+21
2015-12-13blockheight mechanismGargaj1-1/+5
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj1-2/+3
2015-08-19* Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it.Samuel Barney1-0/+3
2015-07-31Unified the doxy-comment format.Mattes D1-19/+18
2015-07-14Improved mapsTiger Wang1-0/+3
2015-07-01Added neighbor specification in the OnNeighborChanged() block callback.Mattes D1-7/+13
2015-06-22Rebased version of CodeSamuel Barney1-3/+0
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-11/+10
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-09-26Removed more unessicary includesTycho1-4/+4
2014-09-13Improved cBlockHandler::DropBlockTiger Wang1-1/+1
2014-09-09Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy981-3/+0
2014-07-24Fixed block dropsTiger Wang1-1/+2
2014-07-24Removed redundant semicolons and re-added warningarchshift1-4/+4
2014-07-20Proper comment for DropBlock()Tiger Wang1-2/+5
2014-07-17Fixed issues relating to saplings and leavesTiger Wang1-5/+5
2014-07-17Basic style fixes.madmaxoft1-11/+11
2014-05-07Rename CanChangeDirtToGrass to CanDirtGrowGrassHowaner1-2/+2
2014-04-06Remove old importHowaner1-1/+1
2014-04-06Add CanChangeDirtToGrass function to Block Handlers.Howaner1-0/+3
2014-03-08Fixed issues with int vs size_t and a few other warningsTycho1-0/+2
2014-03-05Add SendBlockTo to cWorldInterfaceHowaner1-1/+1
2014-03-05Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner1-1/+4
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew1-19/+3
2014-02-04Improved Type safety of eBlockFaceTycho1-3/+3
2014-02-02Changed Signiture of OnUpdateTycho1-3/+4
2014-02-01Changed Signiture of OnDiggingTycho1-1/+1
2014-02-01Changed Signiture of OnDestroyedByPlayerTycho1-2/+2
2014-02-01Changed pointers to referencesTycho1-9/+9
2014-02-01Changed signitures of Several BLockHandler MethodsTycho1-4/+4
2014-01-26Refactored GetPlacementBlockTypeMetaTycho1-1/+1
2014-01-26Refactored cBlockHandler::OnUse and dependentsTycho1-6/+6
2014-01-25First attempt at Implementing InterfacesTycho1-1/+2
2013-12-22merged in warnings changesTycho Bickerstaff1-1/+5
2013-12-22converted commneted paramater names to the unused macroTycho Bickerstaff1-1/+5
2013-12-21Piston is now warnings cleanTycho Bickerstaff1-1/+1
2013-11-30Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft1-3/+4
2013-11-30Properly fixed snow height, fixes #98 and #264Tiger Wang1-10/+17
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-05Clarified cBlockHandler::ConvertToPickups() dox.madmaxoft1-1/+1
2013-09-15Removed leftover CanBePlacedOnSideTiger Wang1-3/+0
2013-09-15Removed leftover DoesAllowBlockOnTopTiger Wang1-4/+1
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-158/+158
2013-03-26BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches.madmaxoft@gmail.com1-0/+15
2013-03-15Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking.madmaxoft@gmail.com1-4/+5
2013-01-27Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com1-2/+2
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-10/+24
2012-10-23New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker)luksor111@gmail.com1-1/+1
2012-10-14Floody fluid simulator now dries up correctly, too.madmaxoft@gmail.com1-0/+6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-18/+19
2012-10-01Slight refactoring of BlockHandlers - dropping unneeded virtual functionsmadmaxoft@gmail.com1-42/+73
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-0/+0
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com1-1/+2
2012-08-22Added a documentation for block and item handlerslapayo94@gmail.com1-6/+29
2012-08-19Fixed Bug #236lapayo94@gmail.com1-1/+2
2012-08-06A bit of cleanup and documentation around the UI window handlingmadmaxoft@gmail.com1-12/+21
2012-08-06BLOCKTYPE signedness change - fixed more detailsmadmaxoft@gmail.com1-1/+1
2012-07-16Some code improvementslapayo94@gmail.com1-6/+5
2012-07-16Fixed some small bugs :)lapayo94@gmail.com1-0/+3
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+54