1
0
Fork 0
cuberite-2a/src/Entities
peterbell10 13144a08e4
Enable some more clang-tidy linter checks (#4738)
* 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-14 22:15:35 +00:00
..
ArrowEntity.cpp Improve entity position updates (#4701) 2020-05-04 08:10:47 +00:00
ArrowEntity.h Improve entity position updates (#4701) 2020-05-04 08:10:47 +00:00
Boat.cpp Add comment for boat position broadcast 2020-05-04 09:13:55 +01:00
Boat.h Using Super. 2020-04-16 20:07:48 +00:00
CMakeLists.txt Update submodules (#4727) 2020-05-09 15:51:15 +01:00
EnderCrystal.cpp Unify entity spawn packet sending 2020-04-30 23:04:56 +01:00
EnderCrystal.h Using Super. 2020-04-16 20:07:48 +00:00
Entity.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Entity.h Cleanup unneeded globals (#4736) 2020-05-10 16:16:38 +00:00
EntityEffect.cpp Using Super. 2020-04-16 20:07:48 +00:00
EntityEffect.h Using Super. 2020-04-16 20:07:48 +00:00
ExpBottleEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
ExpBottleEntity.h Using Super. 2020-04-16 20:07:48 +00:00
ExpOrb.cpp Using Super. 2020-04-16 20:07:48 +00:00
ExpOrb.h Using Super. 2020-04-16 20:07:48 +00:00
FallingBlock.cpp Unify entity spawn packet sending 2020-04-30 23:04:56 +01:00
FallingBlock.h Using Super. 2020-04-16 20:07:48 +00:00
FireChargeEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
FireChargeEntity.h Using Super. 2020-04-16 20:07:48 +00:00
FireworkEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
FireworkEntity.h Using Super. 2020-04-16 20:07:48 +00:00
Floater.cpp Add cEntity::GetBoundingBox, and use where appropriate. (#4711) 2020-05-03 21:04:33 +01:00
Floater.h Using Super. 2020-04-16 20:07:48 +00:00
GhastFireballEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
GhastFireballEntity.h Using Super. 2020-04-16 20:07:48 +00:00
HangingEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
HangingEntity.h Using Super. 2020-04-16 20:07:48 +00:00
ItemFrame.cpp Unify entity spawn packet sending 2020-04-30 23:04:56 +01:00
ItemFrame.h Using Super. 2020-04-16 20:07:48 +00:00
LeashKnot.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
LeashKnot.h Using Super. 2020-04-16 20:07:48 +00:00
Minecart.cpp Fixed various MSVC warnings. 2020-05-06 12:53:37 +01:00
Minecart.h Refactor minecart collision detection code. (#4712) 2020-05-04 21:04:21 +00:00
Painting.cpp Using Super. 2020-04-16 20:07:48 +00:00
Painting.h Using Super. 2020-04-16 20:07:48 +00:00
Pawn.cpp Add cEntity::GetBoundingBox, and use where appropriate. (#4711) 2020-05-03 21:04:33 +01:00
Pawn.h Using Super. 2020-04-16 20:07:48 +00:00
Pickup.cpp Improve entity position updates (#4701) 2020-05-04 08:10:47 +00:00
Pickup.h Using Super. 2020-04-16 20:07:48 +00:00
Player.cpp Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
Player.h Enable some more clang-tidy linter checks (#4738) 2020-05-14 22:15:35 +00:00
ProjectileEntity.cpp Use Vector3 for cLineBlockTracer and cBlockTracer (#4715) 2020-05-08 10:04:07 +01:00
ProjectileEntity.h Unify entity spawn packet sending 2020-04-30 23:04:56 +01:00
SplashPotionEntity.cpp Unify entity spawn packet sending 2020-04-30 23:04:56 +01:00
SplashPotionEntity.h Unify entity spawn packet sending 2020-04-30 23:04:56 +01:00
TNTEntity.cpp Unify entity spawn packet sending 2020-04-30 23:04:56 +01:00
TNTEntity.h Using Super. 2020-04-16 20:07:48 +00:00
ThrownEggEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
ThrownEggEntity.h Using Super. 2020-04-16 20:07:48 +00:00
ThrownEnderPearlEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
ThrownEnderPearlEntity.h Using Super. 2020-04-16 20:07:48 +00:00
ThrownSnowballEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
ThrownSnowballEntity.h Using Super. 2020-04-16 20:07:48 +00:00
WitherSkullEntity.cpp Using Super. 2020-04-16 20:07:48 +00:00
WitherSkullEntity.h Using Super. 2020-04-16 20:07:48 +00:00