summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-26 15:48:56 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-26 15:48:56 +0300
commit91cfbe2891a3fbec2aac019ccfba74b667d94fc4 (patch)
tree21ab12f020d71dc7c1534e16d2b295bdd322969e /src/environment.h
parent3b098fd5dc1a3e05d671b3ec1a9acb20a036b88f (diff)
downloadminetest-91cfbe2891a3fbec2aac019ccfba74b667d94fc4.tar.gz
minetest-91cfbe2891a3fbec2aac019ccfba74b667d94fc4.tar.bz2
minetest-91cfbe2891a3fbec2aac019ccfba74b667d94fc4.zip
reorganized a lot of stuff and modified mapgen and objects slightly while doing it
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/environment.h b/src/environment.h
index eac69d222..ce6b5ae1e 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 <ostream>
#include "utility.h"
+#include "activeobject.h"
+
+class Server;
+class ActiveBlockModifier;
+class ServerActiveObject;
class Environment
{
@@ -118,11 +123,6 @@ private:
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,7 @@ private:
scene::ISceneManager *m_smgr;
core::map<u16, ClientActiveObject*> m_active_objects;
Queue<ClientEnvEvent> m_client_event_queue;
+ IntervalLimiter m_active_object_light_update_interval;
};
#endif