diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-24 20:46:45 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-24 20:46:45 +0100 |
commit | 2ce26574efa89a5709f121acdf289ad3366d3881 (patch) | |
tree | 875fe891bb91d05539b7f691dbdd0a18b3ec88e9 /src/Entities/Entity.h | |
parent | ProtoProxy: Fixed connection on *nix. (diff) | |
download | cuberite-2ce26574efa89a5709f121acdf289ad3366d3881.tar cuberite-2ce26574efa89a5709f121acdf289ad3366d3881.tar.gz cuberite-2ce26574efa89a5709f121acdf289ad3366d3881.tar.bz2 cuberite-2ce26574efa89a5709f121acdf289ad3366d3881.tar.lz cuberite-2ce26574efa89a5709f121acdf289ad3366d3881.tar.xz cuberite-2ce26574efa89a5709f121acdf289ad3366d3881.tar.zst cuberite-2ce26574efa89a5709f121acdf289ad3366d3881.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 91463bfd6..62dc42c3f 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -4,6 +4,7 @@ #include "../Item.h" #include "../Vector3d.h" #include "../Vector3f.h" +#include "../Vector3i.h" @@ -33,7 +34,6 @@ class cWorld; -class cReferenceManager; class cClientHandle; class cPlayer; class cChunk; @@ -373,9 +373,6 @@ protected: /// The entity which is attached to this entity (rider), NULL if none cEntity * m_Attachee; - cReferenceManager* m_Referencers; - cReferenceManager* m_References; - // Flags that signal that we haven't updated the clients with the latest. bool m_bDirtyHead; bool m_bDirtyOrientation; @@ -416,11 +413,6 @@ protected: void SetWorld(cWorld * a_World) { m_World = a_World; } - friend class cReferenceManager; - void AddReference( cEntity*& a_EntityPtr ); - void ReferencedBy( cEntity*& a_EntityPtr ); - void Dereference( cEntity*& a_EntityPtr ); - private: // Measured in degrees, [-180, +180) double m_HeadYaw; |