summaryrefslogtreecommitdiffstats
path: root/source/Entity.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2013-02-03Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorldfaketruth1-1/+13
2012-12-22MTRand 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)madmaxoft@gmail.com1-0/+11
2012-12-21Added more constants into eEntityType; made them a compulsory parameter to the constructor, so that all entities have proper type.madmaxoft@gmail.com1-3/+3
2012-12-21Reworked the IsA() / GetClass() framework to actually be useful. Added GetParentClass().madmaxoft@gmail.com1-4/+11
2012-12-21Replaced "const double &" with plain "double" for simplicitymadmaxoft@gmail.com1-11/+11
2012-10-06Removed a few debugging messages from the release builds.madmaxoft@gmail.com1-1/+1
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-6/+6
2012-08-28Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore.madmaxoft@gmail.com1-0/+2
2012-08-24Monster classes don't use cPackets. Chat messages are sent / broadcast without cPackets. BlockEntities don't use cPackets.madmaxoft@gmail.com1-39/+8
2012-08-19Window, Chest, Furnace and Pawn are not using cPackets at allmadmaxoft@gmail.com1-11/+2
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-382/+382
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-2/+1
2012-03-10Using references instead of pointers for sending packetsmadmaxoft@gmail.com1-3/+3
2012-03-09cClientHandles have a unique ID now to distinguish themfaketruth1-1/+1
2012-03-07Fixed bug where cPlayer's cClientHandle was used after cPlayer was destroyed http://forum.mc-server.org/showthread.php?tid=380faketruth1-0/+2
2012-03-03Got rid of some hardcoded numbers, now using hardcoded variables! woofaketruth1-1/+1
2012-02-26Attempt at fixing crashes with disconnecting playersmadmaxoft@gmail.com1-6/+10
2012-02-22That 2nd assert didn't make much sense...faketruth1-1/+2
2012-02-22Added some asserts to trace a bugfaketruth1-1/+1
2012-02-20Removed some more cChunkPtr usagemadmaxoft@gmail.com1-30/+53
2012-02-20Using own ASSERT() that logs to filefaketruth1-1/+1
2012-02-15No longer using pointers for Vector3(f/d/i) in cEntity's and cTracerfaketruth1-21/+18
2012-02-13Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.madmaxoft@gmail.com1-113/+163
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-1/+3
2012-01-19Terrain generation is synchronous again, async generation has bugs.faketruth1-1/+1
2011-12-26Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speedfaketruth1-14/+3
2011-12-25- fixed the code from the last commit :)lapayo94@gmail.com1-4/+6
2011-12-25- Fixed a critical bug, which caused players to not getting spawned on the others clientlapayo94@gmail.com1-0/+5
2011-11-02Fixed some "Entity was not found in any chunk!" warningsfaketruth1-10/+29
2011-11-01You can now run multiple worlds by defining them in settings.ini . However there's no way to change worlds on the fly yetfaketruth1-0/+2
2011-10-31Prepared some parts of the code for multi world support, I created lots of TODO'sfaketruth1-11/+15
2011-10-03MCServer c++ source filesfaketruth1-0/+283