| Commit message (Collapse) | Author | Files | Lines |
|
|
|
* 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
|
|
|
|
|
|
* Change reinterpret_cast -> static_cast wherever possible
* Remove more unnecessary `const_cast`s.
reinterpret_casts should be avoided for the same reason as c-style casts - they don't do any type-checking. reinterpret_cast was mainly being used for down-casting in inheritance hierarchies but static_cast works just as well while also making sure that there is actually an inheritance relationship there.
|
|
Armour durability also no longer changes when it
is used to break blocks or attack mobs.
Fixes #4119
|
|
* 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
|
|
|
|
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
|
|
|
|
|
|
Fixed an issue where creepers didn't explode when they were burned with flint and steel
|
|
|
|
|
|
|
|
|
|
|
|
make attack function more responsive
fix cavespider poisoning even if attack is in cooldown
make attack function more responsive
Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
code style
fix cavespider poisoning even if attack is in cooldown
make attack function more responsive
fix cavespider poisoning even if attack is in cooldown
make attack function more responsive
Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
code style
Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
Merge branch 'master' into cavespider-attack
Merge branch 'master' into cavespider-attack
fix cavespider poisoning even if attack is in cooldown
make attack function more responsive
fix cavespider poisoning even if attack is in cooldown
make attack function more responsive
Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
code style
fix cavespider poisoning even if attack is in cooldown
make attack function more responsive
fix cavespider poisoning even if attack is in cooldown
make attack function more responsive
Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
code style
Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
Merge branch 'master' into cavespider-attack
Merge branch 'master' into cavespider-attack
Merge branch 'cavespider-attack' of github.com:Gargaj/cuberite into cavespider-attack
|
|
Otherwise this keeps spamming the metadata packet for all the creepers on the server.
|
|
|
|
|
|
Ad fix a load of warnings
|
|
|
|
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
|
|
|
|
|
|
|
|
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 explosion time (1.5s, according to minecraftwiki)
- Creeper explodes if right clicked with flint and steel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Creepers now explode with a sound effect
* Creepers drop a music disc on the unlikely event of being killed by a
skeleton's arrow
Inspired by @maniak89's PR #132.
|
|
|
|
|
|
* Implemented suggestions
|
|
Fixes FS #297 and part of FS #403.
Added sizes to all entities.
Moved all damage-related functions from cPawn to cEntity
API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1095 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1093 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
http://forum.mc-server.org/showthread.php?tid=625
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1087 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@883 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@561 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
- refactored many things in the Monster system
git-svn-id: http://mc-server.googlecode.com/svn/trunk@112 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
- Server compatible with the weapons and equip again. (Some Packets were incompatible)
- fixed bucket bugs (not all)
- Fixed clients getting crashed by wrong Pickups
- fixed nearly all mob drops. (Check wheather they are burning is missing Big Grin)
- maybe some other things I can´t recall atm Big Grin
git-svn-id: http://mc-server.googlecode.com/svn/trunk@94 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@29 0a769ca7-a7f5-676a-18bf-c427514a06d6
|
|
|
|
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6
|