Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -13/+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> | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -5/+5 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+1 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -3/+8 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -88/+40 |
| | |||||
* | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 2018-01-05 | 1 | -4/+2 |
| | | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | ||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -12/+17 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -5/+5 |
| | |||||
* | BigFlower fixes (#3826) | peterbell10 | 2017-07-07 | 1 | -3/+28 |
| | | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | ||||
* | Generated tall flowers have flower type meta in both blocks | peterbell10 | 2017-06-19 | 1 | -1/+4 |
| | |||||
* | Double tall grass drops seeds when broken by water (#3763) | dbhicks | 2017-06-14 | 1 | -6/+15 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -2/+1 |
| | |||||
* | Replace double grass and large fern with placed block | Lukas Pioch | 2017-04-06 | 1 | -1/+23 |
| | |||||
* | Changed big flowers so they don't need air above them. | Altenius | 2017-01-28 | 1 | -1/+11 |
| | |||||
* | Changed big flowers so they can only be placed on dirt | Altenius | 2017-01-28 | 1 | -1/+4 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -3/+3 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -5/+6 |
| | |||||
* | 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 | ||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -12/+0 |
| | | | | Fixes #1618. | ||||
* | Removed more unessicary includes | Tycho | 2014-09-26 | 1 | -1/+1 |
| | |||||
* | Improved cBlockHandler::DropBlock | Tiger Wang | 2014-09-13 | 1 | -3/+3 |
| | |||||
* | 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 | -3/+3 |
| | |||||
* | Fixed block drops | Tiger Wang | 2014-07-24 | 1 | -3/+3 |
| | | | | * Fixes #1242 (the issue addressed within) | ||||
* | Merge branch 'master' into saplingsandleaves | Tiger Wang | 2014-07-20 | 1 | -2/+2 |
|\ | | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h | ||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | | |||||
* | | Fixed issues relating to saplings and leaves | Tiger Wang | 2014-07-17 | 1 | -3/+3 |
|/ | | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | ||||
* | Change CanBeAt() from big flower | Howaner | 2014-04-03 | 1 | -5/+1 |
| | |||||
* | Add "a_RelY < cChunkDef::Height" to BlockBigFlower | Howaner | 2014-03-29 | 1 | -0/+1 |
| | |||||
* | Add tallgrass drop to big flowers. | Howaner | 2014-03-28 | 1 | -3/+40 |
| | | | Add tallgrass drop, when a players break a tallgrass with the shear. | ||||
* | door -> flower | Howaner | 2014-03-28 | 1 | -1/+1 |
| | |||||
* | Add tall flower handler. | Howaner | 2014-03-28 | 1 | -0/+97 |