summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-12 14:33:13 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-12 14:33:13 +0200
commit47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6 (patch)
tree82a521d57373bd5017e3c036016d39763ef26e66 /src/map.h
parentdb49f37692d6a23db3e521736e5adcf285022827 (diff)
downloadminetest-47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6.tar.gz
minetest-47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6.tar.bz2
minetest-47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6.zip
starting to separate "material" to "content" and "tile"
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/map.h b/src/map.h
index 62d1f8aee..6944107df 100644
--- a/src/map.h
+++ b/src/map.h
@@ -603,15 +603,18 @@ public:
m_loaded_blocks.clear();
}
- virtual void emerge(VoxelArea a);
+ virtual void emerge(VoxelArea a, s32 caller_id=-1);
void blitBack(core::map<v3s16, MapBlock*> & modified_blocks);
private:
Map *m_map;
- // bool is dummy value
- // SUGG: How 'bout an another VoxelManipulator for storing the
- // information about which block is loaded?
+ /*
+ NOTE: This might be used or not
+ bool is dummy value
+ SUGG: How 'bout an another VoxelManipulator for storing the
+ information about which block is loaded?
+ */
core::map<v3s16, bool> m_loaded_blocks;
};