summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockRail.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Using Super.Mattes D2020-04-161-4/+4
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-38/+57
|
* cBlockRail: Fix assertion failure (#4075)peterbell102017-11-211-3/+3
|
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-49/+50
|
* Only allow rails to be placed where valid.peterbell102017-09-211-1/+8
| | | | Fixes #3507.
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-2/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-1/+1
|
* Made cBlockHandler OnPlacedByPlayer call OnPlaced, made BlockRailHandler use NeighborChanged instead of OnNeighborChanged.Lane Kolbly2017-07-181-16/+16
|
* Fix meta mirror (#3470)Mattes D2016-12-091-32/+56
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-15/+15
|
* Reorganised the redstone simulatorTiger Wang2015-12-181-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 mapsTiger Wang2015-07-141-13/+7
|
* Added neighbor specification in the OnNeighborChanged() block callback.Mattes D2015-07-011-19/+17
| | | | | Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213.
* Fixed compile and a few more warningstycho2015-05-191-1/+6
|
* More style checking.Mattes D2015-05-091-8/+8
| | | | Spaces around some operators are checked.
* Merge branch 'master' into redstoneTiger Wang2014-12-131-16/+72
|\
| * BasicStyle: Added missing braces to control statements.Mattes D2014-12-051-16/+72
| |
* | Fixed some block checksTiger Wang2014-10-251-2/+2
|/ | | | * Fixes #1330
* Basic style fixes.madmaxoft2014-07-171-11/+11
|
* Normalized comments.madmaxoft2014-07-171-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 codejfhumann2014-04-181-1/+1
|
* Fixed a few Clang warnings in BlockHandlers.madmaxoft2014-03-301-0/+1
|
* Fixed Minor typos.narroo2014-03-261-6/+6
|
* Added MetaRotate/Mirror Support for a number of classes.narroo2014-03-241-0/+135
|
* g_BlockXXX => cBlockInfo::XXXandrew2014-03-011-2/+2
|
* Improved Type safety of eBlockFaceTycho2014-02-041-2/+2
| | | | May Fix #640
* Changed pointers to referencesTycho2014-02-011-18/+18
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-3/+3
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Refactored GetPlacementBlockTypeMetaTycho2014-01-261-1/+0
|
* Merge branch 'master' into GeneratingBenchmark2Tycho2014-01-261-9/+19
|\ | | | | | | | | | | Conflicts: src/Blocks/BlockRail.h src/World.h
| * Fixed weird meta with curved railsTiger Wang2014-01-191-5/+15
| |
| * Added more rail functionalityTiger Wang2014-01-191-4/+4
| |
* | Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-71/+71
|/
* Fixed rails not updating with diagonalsTiger Wang2013-12-251-0/+34
|
* Moved source to srcAlexander Harkness2013-11-241-0/+398