]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/environment.h
make it slightly less annoying :o)
[dragonfireclient.git] / src / environment.h
index eac69d222af38b49a7642632a2e8db04b9f7f6fc..055e2b1f68c0fc5ab78e4082ffab09e779c3f5ae 100644 (file)
@@ -36,6 +36,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "map.h"
 #include <ostream>
 #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<u16, ClientActiveObject*> m_active_objects;
        Queue<ClientEnvEvent> m_client_event_queue;
+       IntervalLimiter m_active_object_light_update_interval;
+       IntervalLimiter m_lava_hurt_interval;
 };
 
 #endif