summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockGrass.h (unfollow)
Commit message (Expand)AuthorFilesLines
2020-09-20BlockHandler initialisation is a constant expression (#4891)Tiger Wang1-15/+8
2020-07-06Comment capitalisationTiger Wang1-2/+2
2020-07-06Use enum to represent light statesTiger Wang1-19/+34
2020-07-06Made grass spreader prettierTiger Wang1-63/+89
2020-04-21Vector3 in Handlers (#4680)Mattes D1-12/+13
2020-04-17More Vector3 in cBlockHandler (#4644)Mattes D1-25/+29
2020-03-17Silk touch pickaxe drops grass block (#4485)Mat1-26/+6
2019-10-28Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D1-13/+21
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-3/+11
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-2/+2
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2017-06-13FastRandom rewrite (#3754)peterbell101-4/+4
2016-04-16Prevented snow from killing grassLogicParrot1-2/+4
2016-04-16Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usageLogicParrot1-6/+9
2016-02-05Bulk clearing of whitespaceLogicParrot1-6/+6
2015-11-23Adjusted height validation using cChunkDef::IsValidHeight()Julian Laubstein1-1/+1
2015-07-14Improved mapsTiger Wang1-3/+18
2015-07-03Moved grabbing the light value to after the transparency check.Samuel Barney1-3/+4
2015-07-03Added missing parensSamuel Barney1-1/+1
2015-07-03Grass now only dies if it has an opaque block above it.Samuel Barney1-4/+7
2015-06-22Rebased version of CodeSamuel Barney1-19/+16
2015-03-20Correct world height validations.Tommy Santerre1-1/+1
2015-03-14Fixed grass spread, closes #1743Tiger Wang1-3/+3
2015-03-05Grass checks for sufficient light before spreadingAlexander Harkness1-1/+13
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-1/+1
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D1-1/+1
2014-09-30Code improvementsHowaner1-2/+2
2014-09-30Fixed 1.8 dirt typesHowaner1-1/+9
2014-09-26Removed more unessicary includesTycho1-2/+2
2014-09-09Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy981-6/+0
2014-08-19Code formatting fixes.Howaner1-1/+1
2014-05-07Add lava and water check to block handlers.Howaner1-2/+2
2014-05-07Rename CanChangeDirtToGrass to CanDirtGrowGrassHowaner1-2/+2
2014-04-06Remove old importHowaner1-2/+1
2014-04-06Add CanChangeDirtToGrass function to Block Handlers.Howaner1-3/+3
2014-04-03Remove old functionHowaner1-6/+0
2014-04-03Grass now grows under up-side-down slabsHowaner1-3/+12
2014-03-30Fixed a few Clang warnings in BlockHandlers.madmaxoft1-5/+5
2014-03-27Change SpreadSource prefix to ssHowaner1-1/+1
2014-03-27Add SpreadSourceHowaner1-1/+4
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew1-2/+2
2014-02-02Changed Signiture of OnUpdateTycho1-1/+1
2014-01-26Removed cWorld IncludeTycho1-1/+0
2013-12-20Fixed assertion during dirt block OnUpdate()Tiger Wang1-1/+1
2013-11-30Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft1-12/+20
2013-11-30Grass doesn't spread to podzol or grassless dirt blocks.madmaxoft1-2/+3
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-29Grass no longer grows under water, and water on top kills it.Samuel Barney1-2/+2
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-88/+88
2013-05-09Fixed a few out-of-bounds readsmadmaxoft@gmail.com1-4/+12
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-1/+1
2012-10-26Fixed a valgrind warning in BlockDirt.madmaxoft@gmail.com1-3/+4
2012-10-07All blockticking is now done in cBlockHandlersmadmaxoft@gmail.com1-1/+1
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-9/+9
2012-10-01Slight refactoring of BlockHandlers - dropping unneeded virtual functionsmadmaxoft@gmail.com1-12/+19
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-2/+2
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com1-1/+6
2012-07-21Grass blockticking fixmadmaxoft@gmail.com1-30/+32
2012-07-16Some code improvementslapayo94@gmail.com1-4/+7
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+62