summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-10 01:38:48 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-10 11:28:14 +0200
commitf9da2c9507f10a9193c9bd94d69cc85e53b58ba2 (patch)
tree00885e82f4ab7ff193d481637bbfdeb80c41d0a6 /src/environment.h
parent989aba1966373885d4cac306daea25e102f8d68d (diff)
downloadminetest-f9da2c9507f10a9193c9bd94d69cc85e53b58ba2.tar.gz
minetest-f9da2c9507f10a9193c9bd94d69cc85e53b58ba2.tar.bz2
minetest-f9da2c9507f10a9193c9bd94d69cc85e53b58ba2.zip
Immediate smoke puff when a normal entity is punched to death
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h
index 89c9fd676..fcd16e296 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -356,6 +356,7 @@ private:
#ifndef SERVER
#include "clientobject.h"
+class ClientSimpleObject;
/*
The client-side environment.
@@ -425,6 +426,12 @@ public:
}
/*
+ ClientSimpleObjects
+ */
+
+ void addSimpleObject(ClientSimpleObject *simple);
+
+ /*
ActiveObjects
*/
@@ -469,6 +476,7 @@ private:
IGameDef *m_gamedef;
IrrlichtDevice *m_irr;
core::map<u16, ClientActiveObject*> m_active_objects;
+ core::list<ClientSimpleObject*> m_simple_objects;
Queue<ClientEnvEvent> m_client_event_queue;
IntervalLimiter m_active_object_light_update_interval;
IntervalLimiter m_lava_hurt_interval;