summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockLeaves.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-09-09Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy981-6/+0
2014-08-31Check range of y in HasNearLogworktycho1-1/+1
Fixes #803
2014-07-23Fix item durability.Howaner1-16/+0
Fixes #1181
2014-07-23BlockLeaves: Fixed comment style.madmaxoft1-2/+2
2014-07-19Fixed style: spaces after commas.madmaxoft1-1/+1
2014-07-17Fixed issues relating to saplings and leavesTiger Wang1-2/+8
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201
2014-07-17Basic style fixes.madmaxoft1-4/+4
2014-07-17Normalized comments.madmaxoft1-1/+1
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-06-08Fixed E_META_...Typos in BlockID.hnarroo1-2/+2
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-3/+3
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-3/+3
2014-04-23The new leaves don't decay anymore.STRWarrior1-0/+1
Fixes #792
2014-03-30Fixed a few Clang warnings in BlockHandlers.madmaxoft1-9/+10
2014-03-27Wrong if in BlockLeavesHowaner1-1/+1
2014-03-27Add new leaves to all classes.Howaner1-1/+1
2014-03-16Wrong if in BlockLeavesHowaner1-1/+1
2014-03-16Add new leaves to all classes.Howaner1-1/+2
2014-02-19Add new Trees (without Generator)Howaner1-0/+2
2014-02-02Changed Signiture of OnUpdateTycho1-3/+3
2014-02-01Changed pointers to referencesTycho1-6/+6
2014-02-01Changed signitures of Several BLockHandler MethodsTycho1-3/+3
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
2014-01-26Refactored cBlockHandler::OnUse and dependentsTycho1-4/+4
2013-11-30Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft1-12/+13
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-184/+184
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6
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-1/+1
Note that cItems is used in the function signature but not yet exported in the API, TODO! git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-18/+18
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-01Slight refactoring of BlockHandlers - dropping unneeded virtual functionsmadmaxoft@gmail.com1-18/+35
( 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-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com1-0/+5
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-28Fixed a few warningsmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@799 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-5/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+162
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