1
0
cuberite-2a/source/Mobs
madmaxoft@gmail.com 4cebaa99f8 Refactored the world time.
Now it is stored in two values - WorldAge (only incremented, plugins cannot change) and TimeOfDay (plugins can change). Since sub-tick precision is needed in Tick(), we store it both as number of seconds (double) and number of ticks (Int64) is calculated off of that.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1022 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-01 21:38:20 +00:00
..
AggressiveMonster.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
AggressiveMonster.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Bat.cpp Added Bats and Witches. 2012-11-01 10:56:47 +00:00
Bat.h Added Bats and Witches. 2012-11-01 10:56:47 +00:00
Blaze.cpp Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Blaze.h Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Cavespider.cpp Refactored the world time. 2012-11-01 21:38:20 +00:00
Cavespider.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Chicken.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Chicken.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Cow.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Cow.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Creeper.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Creeper.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Enderman.cpp Refactored the world time. 2012-11-01 21:38:20 +00:00
Enderman.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Ghast.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Ghast.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Magmacube.cpp Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Magmacube.h Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Monster.cpp Refactored the world time. 2012-11-01 21:38:20 +00:00
Monster.h Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
Mooshroom.cpp Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Mooshroom.h Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Ocelot.cpp Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Ocelot.h Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
PassiveAggressiveMonster.cpp Source files cleanup: The rest of the files renamed. 2012-09-23 22:09:57 +00:00
PassiveAggressiveMonster.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
PassiveMonster.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
PassiveMonster.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Pig.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Pig.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Sheep.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Sheep.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Silverfish.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Silverfish.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Skeleton.cpp Refactored the world time. 2012-11-01 21:38:20 +00:00
Skeleton.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Slime.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Slime.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Spider.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Spider.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Squid.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Squid.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Villager.cpp Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Villager.h Added spawn eggs with mobs (patch committed by Luksor) 2012-10-19 18:30:46 +00:00
Witch.cpp Added Bats and Witches. 2012-11-01 10:56:47 +00:00
Witch.h Added Bats and Witches. 2012-11-01 10:56:47 +00:00
Wolf.cpp Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Wolf.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Zombie.cpp Refactored the world time. 2012-11-01 21:38:20 +00:00
Zombie.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00
Zombiepigman.cpp Refactored the world time. 2012-11-01 21:38:20 +00:00
Zombiepigman.h Source files cleanup: Mobs-related files in a separate subfolder, renamed. 2012-09-23 20:53:08 +00:00