summaryrefslogtreecommitdiffstats
path: root/src/Entities/LeashKnot.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-07Some emplace_back replacements (#5149)12xx121-1/+1
* replace push_back with emplace_back when a new object was created in the function call
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-1/+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
2020-05-01Unify entity spawn packet sendingTiger Wang1-1/+1
2020-04-20Delet SpawnObject paramsTiger Wang1-1/+1
* Fix #4679 awkward...
2020-04-16Using Super.Mattes D1-4/+4
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-2/+2
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-3/+3
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+1
Add check for number of empty lines between functions and fix the corresponding failures
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly1-2/+2
* Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos
2017-09-19Removed UTF-8 BOM (#4033)Lukas Pioch1-1/+1
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-42/+19
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-19/+42
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-42/+19
2017-08-24Use ref instead of pointerLukas Pioch1-1/+1
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+185