summaryrefslogtreecommitdiffstats
path: root/src/BoundingBox.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Enable some more clang-tidy linter checks (#4738)peterbell102020-05-151-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* cBoundingBox: Fix tolua warning (#4361)peterbell102019-08-081-21/+0
| | | | tolua was warning about no support for `operator =`. Ref: #4360
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-0/+10
|
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-10/+10
|
* Removed double includes (#3885)Lukas Pioch2017-08-021-1/+0
|
* Check for intersection between placed blocks and entities. (#3850)Lane Kolbly2017-07-281-2/+13
| | | | | | | | | | | | | * Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement.
* SelfTests: Moved BoundingBox test to a separate project.Mattes D2016-06-181-66/+0
|
* Bindings: Fixed cBoundingBox API.Mattes D2016-06-051-2/+2
|
* Improved tamed wolf pack cooperation and projectile reactionsLogicParrot2016-01-221-5/+15
|
* SelfTests are registered and executed after logging framework init.Mattes D2015-06-111-4/+9
| | | | Fixes #2228.
* Fixed style: spaces after commas.madmaxoft2014-07-191-1/+1
|
* Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-1/+1
|
* Fixed a couple of missing defsTycho2014-03-141-1/+1
|
* Fixed cBoundingBox self-test code-style.madmaxoft2014-02-161-10/+10
| | | | Also made the class name unique and the global variable static, to avoid linkage problems with other self-tests
* Change Output to stderrworktycho2014-02-051-4/+3
|
* Modified automatic test for boundingBoxTycho2014-02-051-7/+26
|
* Improved Type safety of eBlockFaceTycho2014-02-041-3/+3
| | | | May Fix #640
* Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft2013-12-201-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+331