summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-18 00:01:50 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-18 00:01:50 +0300
commit78f4142f4ff033351030a2008f76c6bf8768780c (patch)
tree9c393d679276546f4d599b71912a4db56c196352 /src/environment.h
parentea1fda5ebc7fe0aa276de768cacd81df365c69a3 (diff)
downloadminetest-78f4142f4ff033351030a2008f76c6bf8768780c.tar.gz
minetest-78f4142f4ff033351030a2008f76c6bf8768780c.tar.bz2
minetest-78f4142f4ff033351030a2008f76c6bf8768780c.zip
Add /clearobjects
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h
index d93caac3b..5d2fe5551 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -218,6 +218,11 @@ public:
void addActiveBlockModifier(ActiveBlockModifier *abm);
+ /* Other stuff */
+
+ // Clear all objects, loading and going through every MapBlock
+ void clearAllObjects();
+
private:
/*