summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFire.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-34/+36
| | | | | | | | | | | | | * 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>
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-4/+22
|
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-7/+7
|
* BigFlower fixes (#3826)peterbell102017-07-071-1/+1
| | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Improved mapsTiger Wang2015-07-141-3/+9
|
* Added a size check for portals.STRWarrior2015-06-281-0/+14
| | | | | | Made the portal size configurable Alpha-sorted SetXYZNetherPortalXYZ functions
* implemented DoesIgnoreBuildCollision on BlockFire to allow blocks to be placed on topMartin McArthur2015-06-141-0/+5
|
* More style checking.Mattes D2015-05-091-3/+3
| | | | Spaces around some operators are checked.
* Fixed defect #43661 in Coverity list.Kirill Kirilenko2015-01-231-1/+2
|
* Fixed farmland issues.Howaner2014-09-121-2/+2
|
* Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy982014-09-091-5/+0
|
* Merge branch 'master' into FireHowaner2014-08-201-10/+15
|\
| * Code formatting fixes.Howaner2014-08-191-10/+15
| |
* | Moved the clicked-through block check to the top of the function.Howaner2014-08-111-5/+0
|/
* Normalized comments.madmaxoft2014-07-171-16/+16
| | | | | 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.
* Fix fire break.Howaner2014-05-281-2/+2
|
* Fixed portal Z direction loop coding failureTiger Wang2014-05-041-10/+9
| | | | | * Fixed portals created in the ZP/ZM direction eating its frame * Changed return type of a function
* Fixed a few Clang warnings in BlockHandlers.madmaxoft2014-03-301-10/+12
|
* Changed Signiture of OnDiggingTycho2014-02-011-2/+2
|
* Changed pointers to referencesTycho2014-02-011-15/+15
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-28/+28
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* fixed unused expression warnings in blockFireTycho Bickerstaff2013-12-101-7/+6
|
* Moved source to srcAlexander Harkness2013-11-241-0/+228