1
0
cuberite-2a/source/Mobs
madmaxoft@gmail.com afaf104b40 Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.
Also added a few utility functions to cEntity for distinguishing the types (IsPlayer(), IsPickup() etc.)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1092 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 12:52:14 +00:00
..
AggressiveMonster.cpp Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. 2012-12-21 12:52:14 +00:00
AggressiveMonster.h Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. 2012-12-21 12:52:14 +00:00
Bat.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Bat.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Blaze.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Blaze.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Cavespider.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Cavespider.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Chicken.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Chicken.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Cow.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Cow.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Creeper.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Creeper.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Enderman.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Enderman.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Ghast.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Ghast.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Magmacube.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Magmacube.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Monster.cpp Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. 2012-12-21 12:52:14 +00:00
Monster.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Mooshroom.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Mooshroom.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Ocelot.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Ocelot.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
PassiveAggressiveMonster.cpp Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. 2012-12-21 12:52:14 +00:00
PassiveAggressiveMonster.h Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) 2012-12-21 11:04:08 +00:00
PassiveMonster.cpp Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) 2012-12-21 11:04:08 +00:00
PassiveMonster.h Refactored the TakeDamage API to take equipped weapon and armor into consideration (PvP untested) 2012-12-21 11:04:08 +00:00
Pig.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Pig.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Sheep.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Sheep.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Silverfish.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Silverfish.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Skeleton.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Skeleton.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Slime.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Slime.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Spider.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Spider.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Squid.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Squid.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Villager.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Villager.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Witch.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Witch.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Wolf.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Wolf.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Zombie.cpp Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Zombie.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00
Zombiepigman.cpp Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type. 2012-12-21 12:52:14 +00:00
Zombiepigman.h Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass(). 2012-12-21 12:21:20 +00:00