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-05-01 16:59:54 +0000
committerStijn Buys <ingar@osirion.org>2008-05-01 16:59:54 +0000
commita22542f273de28d06ecaf2bd6fd741821e98512b (patch)
tree54ed82cf99f8bfe517c3ab418e1f62beac688d96 /src/core/entity.h
parent4e5343ce9aa83a5c0b04bf744dd287fb56ff39fc (diff)
lights offset and frequency
Diffstat (limited to 'src/core/entity.h')
-rw-r--r--src/core/entity.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/entity.h b/src/core/entity.h
index 05ca641..e71b034 100644
--- a/src/core/entity.h
+++ b/src/core/entity.h
@@ -61,6 +61,12 @@ public:
/// core type id
virtual inline unsigned int type() const { return Default; }
+ /// client state
+ inline unsigned int state() const { return entity_renderstate; }
+
+ /// client render fuzz factor
+ inline float fuzz() const { return entity_renderfuzz; };
+
/// entity flags
inline unsigned int flags() const { return entity_flags; }
@@ -150,6 +156,7 @@ public:
bool entity_destroyed;
unsigned int entity_renderstate;
+ float entity_renderfuzz;
private:
/// add an entity to the registry