Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow certain blocks to be placed on top of upside-down stairs/slabs (#5468) | Michal Havlíček | 2023-01-25 | 1 | -3/+26 |
| | | | | | | | | | | | * Placing certain blocks on top of upside down slabs and stairs * remove TODO * fix style errors * IsAnyStairType helper function * Block placement on stairs and slabs | ||||
* | Move item placement into item handlers (#5184) | Tiger Wang | 2021-05-05 | 1 | -70/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 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> | ||||
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -10/+5 |
| | | | | | | | | | | | | | * 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 | -16/+34 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -10/+7 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -0/+1 |
| | |||||
* | blockheight mechanism | Gargaj | 2015-12-13 | 1 | -0/+32 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -3/+26 |
| | |||||
* | Rebased version of Code | Samuel Barney | 2015-06-22 | 1 | -6/+0 |
| | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -18/+0 |
| | |||||
* | Code formatting fixes. | Howaner | 2014-08-19 | 1 | -10/+10 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -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. | ||||
* | Rename CanChangeDirtToGrass to CanDirtGrowGrass | Howaner | 2014-05-07 | 1 | -1/+1 |
| | |||||
* | Add CanChangeDirtToGrass function to Block Handlers. | Howaner | 2014-04-06 | 1 | -0/+5 |
| | |||||
* | Fixed clang warnings in BlockHandlers. | madmaxoft | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | Fixed spelling; Rotater to Rotator. | narroo | 2014-03-25 | 1 | -3/+3 |
| | |||||
* | Merge pull request #775 from worktycho/warnings | Mattes D | 2014-03-09 | 1 | -0/+8 |
|\ | | | | | Fixed a few warnings | ||||
| * | Fixed warnings | Tycho | 2014-03-07 | 1 | -0/+8 |
| | | |||||
* | | Reformatted | Tycho | 2014-03-02 | 1 | -2/+2 |
| | | |||||
* | | Implemented Rotations | Tycho | 2014-03-01 | 1 | -65/+3 |
|/ | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -1/+1 |
| | | | | May Fix #640 | ||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 1 | -1/+1 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Stairs reset meta when dropped, fixes #269 | Tiger Wang | 2013-11-29 | 1 | -2/+22 |
| | | | | Additionally, they now have walking sounds. | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+152 |