madmaxoft@gmail.com
6744738a85
Rewritten SandSimulator to use direct chunk access; and sand falling on torches now creates a pickup.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1240 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-02 19:57:09 +00:00
madmaxoft@gmail.com
576f8589c0
Removed useless logging from cEntity::GetLookVector()
...
Requested by STR_Warrior http://forum.mc-server.org/showthread.php?tid=434&pid=6368#pid6368
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1205 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-10 13:33:01 +00:00
faketruth
fdcad8a72d
Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorld
...
Using templates to generate ForEach* functions instead of MACROS
Better error reporting in ForEach* functions
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1191 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-02 23:55:29 +00:00
madmaxoft@gmail.com
b29af701b9
MTRand reference is now passed as a Tick() parameter so that it isn't created and destroyed over and over again. All entities will handle physics (empty callback for now)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1096 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-22 10:15:53 +00:00
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
madmaxoft@gmail.com
033af999ba
Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1090 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 12:21:20 +00:00
madmaxoft@gmail.com
ee34d805be
Replaced "const double &" with plain "double" for simplicity
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1085 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-21 10:59:59 +00:00
madmaxoft@gmail.com
770486d2e1
Removed a few debugging messages from the release builds.
...
( http://forum.mc-server.org/showthread.php?tid=571 )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@936 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06 19:00:03 +00:00
madmaxoft@gmail.com
ecfe6ab65b
Source files cleanup: The rest of the files renamed.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23 22:09:57 +00:00