Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-09-10 19:17:52 +0000
committerStijn Buys <ingar@osirion.org>2008-09-10 19:17:52 +0000
commit83fb219e62113a9f41888af4f2726e5ce5305970 (patch)
tree3ba9780192fc7aa7d1fe7988b30a85c5ba08d422 /src/core/entity.h
parent033bd59cfc2dff93529ad448459ad6348ea29c8d (diff)
serverside entities
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h5
1 files changed, 5 insertions, 0 deletions
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);