X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fenvironment.h;h=055e2b1f68c0fc5ab78e4082ffab09e779c3f5ae;hb=0931d4b7ff95dc9b51bee28851c3780b2648ffd0;hp=eac69d222af38b49a7642632a2e8db04b9f7f6fc;hpb=033ae0dcaecc37fee487e44896a0c0fb4c844e4e;p=dragonfireclient.git diff --git a/src/environment.h b/src/environment.h index eac69d222..055e2b1f6 100644 --- a/src/environment.h +++ b/src/environment.h @@ -36,6 +36,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "map.h" #include #include "utility.h" +#include "activeobject.h" + +class Server; +class ActiveBlockModifier; +class ServerActiveObject; class Environment { @@ -118,11 +123,6 @@ class ActiveBlockList This is not thread-safe. Server uses an environment mutex. */ -#include "serverobject.h" - -class Server; -class ActiveBlockModifier; - class ServerEnvironment : public Environment { public: @@ -412,6 +412,8 @@ class ClientEnvironment : public Environment scene::ISceneManager *m_smgr; core::map m_active_objects; Queue m_client_event_queue; + IntervalLimiter m_active_object_light_update_interval; + IntervalLimiter m_lava_hurt_interval; }; #endif