From 83fb219e62113a9f41888af4f2726e5ce5305970 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 10 Sep 2008 19:17:52 +0000 Subject: serverside entities --- src/core/entity.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/entity.h') diff --git a/src/core/entity.h b/src/core/entity.h index 180d535..c988143 100644 --- a/src/core/entity.h +++ b/src/core/entity.h @@ -114,6 +114,9 @@ public: /// base radius of the entity inline float radius() const { return entity_radius; } + /// indicates a server-side entity + inline bool serverside() const { return entity_serverside; } + /*----- serializers ----------------------------------------------- */ /// serialize the entity to a stream @@ -205,6 +208,8 @@ protected: // the previous zone the entity belonged too Zone *entity_oldzone; + bool entity_serverside; + private: // add an entity to the registry static void add(Entity *ent); -- cgit v1.2.3