summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockPortal.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-12/+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 D2020-04-211-15/+25
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* More Vector3 in cBlockHandler (#4644)Mattes D2020-04-171-5/+13
| | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-1/+10
|
* Removed unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-1/+1
|
* FastRandom rewrite (#3754)peterbell102017-06-131-2/+1
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Spawn baby mobshallucino2015-07-161-1/+1
|
* Improved mapsTiger Wang2015-07-141-23/+26
|
* Correct world height validations.Tommy Santerre2015-03-201-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
* Added first test to show the object can be createdTycho2014-09-171-1/+1
|
* Code formatting fixes.Howaner2014-08-191-4/+4
|
* Fixed style: spaces after commas.madmaxoft2014-07-191-2/+2
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Normalized comments.madmaxoft2014-07-171-2/+2
| | | | | 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.
* Fixed compile problem.STRWarrior2014-05-101-1/+1
|
* A portal block now chooses a number between 2000 and 0STRWarrior2014-05-101-1/+1
|
* Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman.STRWarrior2014-05-101-0/+14
|
* Improved Type safety of eBlockFaceTycho2014-02-041-1/+1
| | | | May Fix #640
* Changed pointers to referencesTycho2014-02-011-2/+2
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-2/+2
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-2/+2
|
* Moved source to srcAlexander Harkness2013-11-241-0/+108