From 38bfca98a4203130251b4848d1f4c0f0c3c28ff4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 2 Aug 2008 18:53:57 +0000 Subject: improved globe rendering --- src/core/clientstate.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/clientstate.h') diff --git a/src/core/clientstate.h b/src/core/clientstate.h index 42ead3d..f914d0e 100644 --- a/src/core/clientstate.h +++ b/src/core/clientstate.h @@ -43,6 +43,8 @@ public: inline bool targetable() const { return state_targetable; } + inline float distance() const { return state_distance; } + /// client render fuzz factor inline float fuzz() const { return state_fuzz; }; @@ -65,6 +67,9 @@ public: float state_fuzz; float state_engine_trail_offset; + /// distance from the camera eye to the entity + float state_distance; + size_t state_enginesound; }; -- cgit v1.2.3