Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-04-20 | Valid Height is now checked by vector. | x12xx12x | 1 | -2/+2 | |
2022-04-20 | Updated protocol functions to Vector3x | x12xx12x | 1 | -1/+1 | |
also added support in included functions | |||||
2021-03-28 | Do not fake a tool when converting to pickups (#5170) | Tiger Wang | 1 | -1/+1 | |
* When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it. * Fixes #4795 - Remove unused a_Digger parameter to ConvertToPickups. | |||||
2020-10-05 | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 1 | -1/+1 | |
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-25 | Grass spread: check chunk & light validity correctly | Tiger Wang | 1 | -2/+2 | |
2020-09-25 | Unify block entity pickup conversion | Tiger Wang | 1 | -1/+1 | |
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | |||||
2020-09-20 | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 1 | -15/+8 | |
* 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> | |||||
2020-07-06 | Comment capitalisation | Tiger Wang | 1 | -2/+2 | |
2020-07-06 | Use enum to represent light states | Tiger Wang | 1 | -19/+34 | |
2020-07-06 | Made grass spreader prettier | Tiger Wang | 1 | -63/+89 | |
2020-04-21 | Vector3 in Handlers (#4680) | Mattes D | 1 | -12/+13 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2020-04-17 | More Vector3 in cBlockHandler (#4644) | Mattes D | 1 | -25/+29 | |
* cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | |||||
2020-03-17 | Silk touch pickaxe drops grass block (#4485) | Mat | 1 | -26/+6 | |
2019-10-28 | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 1 | -13/+21 | |
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -3/+11 | |
2018-08-29 | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 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. | |||||
2017-08-03 | Remove double includes part 2 (#3890) | peterbell10 | 1 | -1/+0 | |
2017-06-13 | FastRandom rewrite (#3754) | peterbell10 | 1 | -4/+4 | |
2016-04-16 | Prevented snow from killing grass | LogicParrot | 1 | -2/+4 | |
2016-04-16 | Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage | LogicParrot | 1 | -6/+9 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -6/+6 | |
2015-11-23 | Adjusted height validation using cChunkDef::IsValidHeight() | Julian Laubstein | 1 | -1/+1 | |
2015-07-14 | Improved maps | Tiger Wang | 1 | -3/+18 | |
2015-07-03 | Moved grabbing the light value to after the transparency check. | Samuel Barney | 1 | -3/+4 | |
2015-07-03 | Added missing parens | Samuel Barney | 1 | -1/+1 | |
2015-07-03 | Grass now only dies if it has an opaque block above it. | Samuel Barney | 1 | -4/+7 | |
Grass only spreads to a dirt block if the light level is above 4 and the block above it is transparent. | |||||
2015-06-22 | Rebased version of Code | Samuel Barney | 1 | -19/+16 | |
2015-03-20 | Correct world height validations. | Tommy Santerre | 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 | |||||
2015-03-14 | Fixed grass spread, closes #1743 | Tiger Wang | 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 | |||||
2015-03-05 | Grass checks for sufficient light before spreading | Alexander Harkness | 1 | -1/+13 | |
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 1 | -1/+1 | |
2014-09-30 | Code improvements | Howaner | 1 | -2/+2 | |
2014-09-30 | Fixed 1.8 dirt types | Howaner | 1 | -1/+9 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -2/+2 | |
2014-09-09 | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 1 | -6/+0 | |
2014-08-19 | Code formatting fixes. | Howaner | 1 | -1/+1 | |
2014-05-07 | Add lava and water check to block handlers. | Howaner | 1 | -2/+2 | |
2014-05-07 | Rename CanChangeDirtToGrass to CanDirtGrowGrass | Howaner | 1 | -2/+2 | |
2014-04-06 | Remove old import | Howaner | 1 | -2/+1 | |
2014-04-06 | Add CanChangeDirtToGrass function to Block Handlers. | Howaner | 1 | -3/+3 | |
2014-04-03 | Remove old function | Howaner | 1 | -6/+0 | |
2014-04-03 | Grass now grows under up-side-down slabs | Howaner | 1 | -3/+12 | |
2014-03-30 | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 1 | -5/+5 | |
2014-03-27 | Change SpreadSource prefix to ss | Howaner | 1 | -1/+1 | |
2014-03-27 | Add SpreadSource | Howaner | 1 | -1/+4 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -2/+2 | |
2014-02-02 | Changed Signiture of OnUpdate | Tycho | 1 | -1/+1 | |
2014-01-26 | Removed cWorld Include | Tycho | 1 | -1/+0 | |
2013-12-20 | Fixed assertion during dirt block OnUpdate() | Tiger Wang | 1 | -1/+1 | |
2013-11-30 | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 1 | -12/+20 | |
2013-11-30 | Grass doesn't spread to podzol or grassless dirt blocks. | madmaxoft | 1 | -2/+3 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-10-29 | Grass no longer grows under water, and water on top kills it. | Samuel Barney | 1 | -2/+2 | |
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -88/+88 | |
2013-05-09 | Fixed a few out-of-bounds reads | madmaxoft@gmail.com | 1 | -4/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1465 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-16 | Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-26 | Fixed a valgrind warning in BlockDirt. | madmaxoft@gmail.com | 1 | -3/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1011 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-07 | All blockticking is now done in cBlockHandlers | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@942 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -9/+9 | |
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 | -12/+19 | |
( 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 | -2/+2 | |
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 | -1/+6 | |
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-07-21 | Grass blockticking fix | madmaxoft@gmail.com | 1 | -30/+32 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@689 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Some code improvements | lapayo94@gmail.com | 1 | -4/+7 | |
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/+62 | |
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 |