From 8334100fe1b1bb40bfebff9ec9780c18fe3fd0c7 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 27 Dec 2014 23:09:36 -0500 Subject: LuaVoxelManip: Add option to allocate blank data --- src/map.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/map.h') diff --git a/src/map.h b/src/map.h index 70082d664..57edd7708 100644 --- a/src/map.h +++ b/src/map.h @@ -550,12 +550,14 @@ public: void setMap(Map *map) {m_map = map;} + void initializeBlank(v3s16 pmin, v3s16 pmax); + void initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max, - bool load_if_inexistent = true); + bool load_if_inexistent = true); // This is much faster with big chunks of generated data void blitBackAll(std::map * modified_blocks, - bool overwrite_generated = true); + bool overwrite_generated = true); bool m_is_dirty; -- cgit v1.2.3