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 | -22/+32 |
| | | | | | | | | | | | * 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 | -101/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Do not fake a tool when converting to pickups (#5170) | Tiger Wang | 2021-03-28 | 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. | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -3/+46 |
| | | | | | | | | | | | | | | | * 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 | -44/+68 |
| | | | 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 |
| | |||||
* | Fix building with clang 8.0 (#4346) | Bond-009 | 2019-08-11 | 1 | -1/+1 |
| | |||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -2/+2 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -2/+2 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -8/+7 |
| | |||||
* | Torches can now be placed on top of upside down stairs. | Samuel Barney | 2015-07-14 | 1 | -0/+16 |
| | |||||
* | Merge branch 'master' into PreventNewWarnings | tycho | 2015-05-23 | 1 | -0/+5 |
|\ | |||||
| * | Added missing fencetypes to torchhandler | Julian Laubstein | 2015-05-20 | 1 | -0/+5 |
| | | |||||
* | | Fixed compile and a few more warnings | tycho | 2015-05-19 | 1 | -1/+1 |
|/ | |||||
* | Cleaned up simulators | Tiger Wang | 2014-10-25 | 1 | -0/+1 |
| | |||||
* | Comment suggestions | Tiger Wang | 2014-10-03 | 1 | -2/+3 |
| | |||||
* | Improved torch handler | Tiger Wang | 2014-09-30 | 1 | -70/+51 |
| | |||||
* | Indentation | Julian Laubstein | 2014-09-30 | 1 | -3/+3 |
| | |||||
* | Set right indentation | Julian Laubstein | 2014-09-30 | 1 | -3/+3 |
| | |||||
* | actual solving of the halfslap+torch problem | Julian Laubstein | 2014-09-30 | 1 | -1/+3 |
| | |||||
* | Style fixes. | madmaxoft | 2014-09-29 | 1 | -6/+8 |
| | |||||
* | Update BlockTorch.h | Julian Laubstein | 2014-09-29 | 1 | -3/+3 |
| | |||||
* | Added torches placeable on upside-down-halfslaps | Julian Laubstein | 2014-09-29 | 1 | -1/+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 | -2/+2 |
| | |||||
* | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -2/+2 |
| | |||||
* | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -3/+4 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -6/+6 |
| | | | | | 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. | ||||
* | Added more block exceptions to torches | Tiger Wang | 2014-06-28 | 1 | -0/+4 |
| | |||||
* | Fixed spelling; Rotater to Rotator. | narroo | 2014-03-25 | 1 | -3/+3 |
| | |||||
* | Merge pull request #729 from worktycho/MetaRotate | Mattes D | 2014-03-08 | 1 | -64/+3 |
|\ | | | | | Alternitive solution to #503 | ||||
| * | Reformatted | Tycho | 2014-03-02 | 1 | -2/+2 |
| | | |||||
| * | Implemented Rotations | Tycho | 2014-03-01 | 1 | -64/+3 |
| | | |||||
* | | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -3/+3 |
|/ | |||||
* | Fix gcc not having operator ++ on enums | Tycho | 2014-02-04 | 1 | -6/+7 |
| | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -8/+8 |
| | | | | May Fix #640 | ||||
* | Merge branch 'master' into GeneratingBenchmark2 | Tycho | 2014-02-02 | 1 | -1/+2 |
|\ | | | | | | | | | Conflicts: src/Blocks/BlockTorch.h | ||||
| * | Fixed #620 | Tiger Wang | 2014-02-02 | 1 | -1/+2 |
| | | |||||
* | | Changed Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -1/+1 |
| | | |||||
* | | Changed pointers to references | Tycho | 2014-02-01 | 1 | -5/+5 |
| | | |||||
* | | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -7/+7 |
|/ | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Renamed g_TorchPlaceable... | Tiger Wang | 2014-01-11 | 1 | -3/+3 |
| | | | | ...to g_FullyOccupiesVoxel, as recommended by @bearbin | ||||
* | Cleaned up torch code and added comments | Tiger Wang | 2013-12-06 | 1 | -31/+7 |
| | |||||
* | Removed another export and inline'd stuff | Tiger Wang | 2013-12-06 | 1 | -5/+5 |
| | |||||
* | Removed exporting of a torch function | Tiger Wang | 2013-12-06 | 1 | -3/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into foldermove2 | Alexander Harkness | 2013-11-24 | 1 | -2/+0 |
| | | | | | Conflicts: GNUmakefile | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+277 |