Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unify block entity pickup conversion | Tiger Wang | 2020-09-25 | 1 | -1/+1 |
| | | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | ||||
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -9/+4 |
| | | | | | | | | | | | | | * BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Silk touch pickaxe drops grass block (#4485) | Mat | 2020-03-17 | 1 | -100/+1 |
| | |||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -13/+21 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -3/+11 |
| | |||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -4/+4 |
| | |||||
* | Prevented snow from killing grass | LogicParrot | 2016-04-16 | 1 | -2/+4 |
| | |||||
* | Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage | LogicParrot | 2016-04-16 | 1 | -6/+9 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -6/+6 |
| | |||||
* | Adjusted height validation using cChunkDef::IsValidHeight() | Julian Laubstein | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -3/+18 |
| | |||||
* | Moved grabbing the light value to after the transparency check. | Samuel Barney | 2015-07-03 | 1 | -3/+4 |
| | |||||
* | Added missing parens | Samuel Barney | 2015-07-03 | 1 | -1/+1 |
| | |||||
* | Grass now only dies if it has an opaque block above it. | Samuel Barney | 2015-07-03 | 1 | -4/+7 |
| | | | | Grass only spreads to a dirt block if the light level is above 4 and the block above it is transparent. | ||||
* | Rebased version of Code | Samuel Barney | 2015-06-22 | 1 | -19/+16 |
| | |||||
* | Correct world height validations. | Tommy Santerre | 2015-03-20 | 1 | -1/+1 |
| | | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | ||||
* | Fixed grass spread, closes #1743 | Tiger Wang | 2015-03-14 | 1 | -3/+3 |
| | | | | | - Removed the salt parameter in cFastRandom functions, it wasn't doing what we thought it was following the move to C++11 | ||||
* | Grass checks for sufficient light before spreading | Alexander Harkness | 2015-03-05 | 1 | -1/+13 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | Functions in cPluginManager get references instead of pointers. | Mattes D | 2014-10-15 | 1 | -1/+1 |
| | |||||
* | Code improvements | Howaner | 2014-09-30 | 1 | -2/+2 |
| | |||||
* | Fixed 1.8 dirt types | Howaner | 2014-09-30 | 1 | -1/+9 |
| | |||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -2/+2 |
| | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -6/+0 |
| | |||||
* | Code formatting fixes. | Howaner | 2014-08-19 | 1 | -1/+1 |
| | |||||
* | Add lava and water check to block handlers. | Howaner | 2014-05-07 | 1 | -2/+2 |
| | |||||
* | Rename CanChangeDirtToGrass to CanDirtGrowGrass | Howaner | 2014-05-07 | 1 | -2/+2 |
| | |||||
* | Remove old import | Howaner | 2014-04-06 | 1 | -2/+1 |
| | |||||
* | Add CanChangeDirtToGrass function to Block Handlers. | Howaner | 2014-04-06 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' into Slabs | Howaner | 2014-04-03 | 1 | -8/+11 |
|\ | | | | | | | | | Conflicts: src/Blocks/BlockDirt.h | ||||
| * | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 2014-03-30 | 1 | -5/+5 |
| | | |||||
| * | Change SpreadSource prefix to ss | Howaner | 2014-03-27 | 1 | -1/+1 |
| | | |||||
| * | Add SpreadSource | Howaner | 2014-03-27 | 1 | -1/+4 |
| | | |||||
| * | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -2/+2 |
| | | |||||
* | | Remove old function | Howaner | 2014-04-03 | 1 | -6/+0 |
| | | |||||
* | | Grass now grows under up-side-down slabs | Howaner | 2014-04-03 | 1 | -3/+12 |
|/ | |||||
* | Changed Signiture of OnUpdate | Tycho | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Removed cWorld Include | Tycho | 2014-01-26 | 1 | -1/+0 |
| | |||||
* | Fixed assertion during dirt block OnUpdate() | Tiger Wang | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 2013-11-30 | 1 | -12/+20 |
| | |||||
* | Grass doesn't spread to podzol or grassless dirt blocks. | madmaxoft | 2013-11-30 | 1 | -2/+3 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+88 |