1
0
Fork 0
cuberite-2a/src/Mobs
Mattes D 01b8ed5295
Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change)
The BlockInfo.h file was removed from Globals.h (main change)
The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics)
The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor)
Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header.
That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified.
eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
2020-04-03 08:57:01 +02:00
..
AggressiveMonster.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
AggressiveMonster.h Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Bat.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Bat.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Blaze.cpp Improvements to blaze and ghast (#4547) 2020-03-26 18:54:40 +01:00
Blaze.h Improvements to blaze and ghast (#4547) 2020-03-26 18:54:40 +01:00
CMakeLists.txt Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
CaveSpider.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
CaveSpider.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Chicken.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Chicken.h Ocelots don't take fall damage (#4171) 2018-02-04 20:53:35 +00:00
Cow.cpp Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
Cow.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Creeper.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Creeper.h 1.9 / 1.9.2 / 1.9.3 / 1.9.4 protocol support (#3135) 2016-05-14 20:12:42 +01:00
EnderDragon.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
EnderDragon.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Enderman.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Enderman.h Use clang-tidy to check more code conventions (#4214) 2018-05-06 18:07:34 +01:00
Ghast.cpp Improvements to blaze and ghast (#4547) 2020-03-26 18:54:40 +01:00
Ghast.h Improvements to blaze and ghast (#4547) 2020-03-26 18:54:40 +01:00
Giant.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Giant.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Guardian.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Guardian.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Horse.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Horse.h Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
IncludeAllMonsters.h Added Rabbits 2014-12-20 10:31:34 +01:00
IronGolem.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
IronGolem.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
MagmaCube.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
MagmaCube.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Monster.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Monster.h Tweak attack ranges 2020-04-02 09:30:50 +02:00
MonsterTypes.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Mooshroom.cpp Replace buckets to the selected hotbar slot, rather than the first available. (#4580) 2020-04-02 12:42:15 +00:00
Mooshroom.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Ocelot.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Ocelot.h Ocelots no longer multiply exponentially (#4272) 2018-07-30 12:49:46 +01:00
PassiveAggressiveMonster.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
PassiveAggressiveMonster.h Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
PassiveMonster.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
PassiveMonster.h Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Path.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
Path.h FastRandom rewrite (#3754) 2017-06-13 21:35:30 +02:00
PathFinder.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
PathFinder.h Correct typo in documentation. 2016-02-05 16:45:55 +00:00
Pig.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Pig.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Rabbit.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Rabbit.h Fixed type-casting-related warnings. 2016-08-24 22:26:53 +02:00
Sheep.cpp Fix typo in block break particle coordinate (#4555) 2020-03-27 02:40:16 +02:00
Sheep.h Minor changes (#3909) 2017-08-24 11:19:40 +02:00
Silverfish.h Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Skeleton.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Skeleton.h fix cavespider poisoning even if attack is in cooldown 2015-11-08 21:01:02 +01:00
Slime.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Slime.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
SnowGolem.cpp Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
SnowGolem.h snow golems are "neutral" 2015-12-13 13:13:37 +01:00
Spider.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Spider.h Spectators added (#2852) 2016-10-12 14:38:45 +02:00
Squid.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Squid.h SetSwimState now takes into account head height 2017-09-01 14:50:02 +01:00
Villager.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Villager.h Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
Witch.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Witch.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
Wither.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Wither.h Changed entity ownership model to use smart pointers 2017-08-07 19:24:16 +01:00
Wolf.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Wolf.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
Zombie.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
Zombie.h AI - Better daylight handling 2015-05-02 14:32:33 +03:00
ZombiePigman.cpp Add ambient mob sounds (#4521) 2020-03-22 15:50:34 +00:00
ZombiePigman.h Fixed cactus detection and zombie pigman sword (#3584) 2017-02-25 19:14:08 +01:00