diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-05-31 20:02:55 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-05-31 20:02:55 +0300 |
commit | bbead93c1a00a1c31956e12c94717f179ac5b84b (patch) | |
tree | 16d62d58402d4c2c9abd5bade155569e0255bf1d /src/map.h | |
parent | 774042508550c11f0e4fc39256226a4d9d919d77 (diff) | |
download | minetest-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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 }; |