aboutsummaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-05-31 20:02:55 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-05-31 20:02:55 +0300
commitbbead93c1a00a1c31956e12c94717f179ac5b84b (patch)
tree16d62d58402d4c2c9abd5bade155569e0255bf1d /src/map.h
parent774042508550c11f0e4fc39256226a4d9d919d77 (diff)
downloadminetest-bbead93c1a00a1c31956e12c94717f179ac5b84b.tar.xz
Reduced server CPU usage on NodeMetadata step()s. Also furnace now cooks while no players are near it.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 09154547c..6f7ac0d3b 100644
--- a/src/map.h
+++ b/src/map.h
@@ -46,8 +46,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define MAPTYPE_CLIENT 2
enum MapEditEventType{
+ // Node added (changed from air or something else to something)
MEET_ADDNODE,
+ // Node removed (changed to air)
MEET_REMOVENODE,
+ // Node metadata of block changed (not knowing which node exactly)
+ // p stores block coordinate
+ MEET_BLOCK_NODE_METADATA_CHANGED,
+ // Anything else
MEET_OTHER
};