diff options
Diffstat (limited to 'src/core/entity.h')
-rw-r--r-- | src/core/entity.h | 7 |
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 |