Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged OnBreak with OnPlayerBreak (#4967) | 12xx12 | 2020-10-08 | 1 | -2/+3 |
| | | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.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 | -21/+16 |
| | | | | | | | | | | | | | * 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> | ||||
* | Rail: avoid invalid game states (#4864) | Tiger Wang | 2020-09-13 | 1 | -12/+10 |
| | | | | | | + Check CanBeAt Ref: #4859 Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -22/+28 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -4/+4 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -38/+57 |
| | |||||
* | cBlockRail: Fix assertion failure (#4075) | peterbell10 | 2017-11-21 | 1 | -3/+3 |
| | |||||
* | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 2017-11-20 | 1 | -49/+50 |
| | |||||
* | Only allow rails to be placed where valid. | peterbell10 | 2017-09-21 | 1 | -1/+8 |
| | | | | Fixes #3507. | ||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -2/+0 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Made cBlockHandler OnPlacedByPlayer call OnPlaced, made BlockRailHandler use NeighborChanged instead of OnNeighborChanged. | Lane Kolbly | 2017-07-18 | 1 | -16/+16 |
| | |||||
* | Fix meta mirror (#3470) | Mattes D | 2016-12-09 | 1 | -32/+56 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -15/+15 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -3/+4 |
| | | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | ||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -13/+7 |
| | |||||
* | Added neighbor specification in the OnNeighborChanged() block callback. | Mattes D | 2015-07-01 | 1 | -19/+17 |
| | | | | | Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213. | ||||
* | Fixed compile and a few more warnings | tycho | 2015-05-19 | 1 | -1/+6 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -8/+8 |
| | | | | Spaces around some operators are checked. | ||||
* | Merge branch 'master' into redstone | Tiger Wang | 2014-12-13 | 1 | -16/+72 |
|\ | |||||
| * | BasicStyle: Added missing braces to control statements. | Mattes D | 2014-12-05 | 1 | -16/+72 |
| | | |||||
* | | Fixed some block checks | Tiger Wang | 2014-10-25 | 1 | -2/+2 |
|/ | | | | * Fixes #1330 | ||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -11/+11 |
| | |||||
* | 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. | ||||
* | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 2014-03-30 | 1 | -0/+1 |
| | |||||
* | Fixed Minor typos. | narroo | 2014-03-26 | 1 | -6/+6 |
| | |||||
* | Added MetaRotate/Mirror Support for a number of classes. | narroo | 2014-03-24 | 1 | -0/+135 |
| | |||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -2/+2 |
| | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -2/+2 |
| | | | | May Fix #640 | ||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -18/+18 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -3/+3 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Refactored GetPlacementBlockTypeMeta | Tycho | 2014-01-26 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' into GeneratingBenchmark2 | Tycho | 2014-01-26 | 1 | -9/+19 |
|\ | | | | | | | | | | | Conflicts: src/Blocks/BlockRail.h src/World.h | ||||
| * | Fixed weird meta with curved rails | Tiger Wang | 2014-01-19 | 1 | -5/+15 |
| | | |||||
| * | Added more rail functionality | Tiger Wang | 2014-01-19 | 1 | -4/+4 |
| | | |||||
* | | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -71/+71 |
|/ | |||||
* | Fixed rails not updating with diagonals | Tiger Wang | 2013-12-25 | 1 | -0/+34 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+398 |