diff options
Diffstat (limited to 'src/script/lua_api/l_vmanip.h')
-rw-r--r-- | src/script/lua_api/l_vmanip.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/lua_api/l_vmanip.h b/src/script/lua_api/l_vmanip.h index 608b55556..ead6efbc4 100644 --- a/src/script/lua_api/l_vmanip.h +++ b/src/script/lua_api/l_vmanip.h @@ -33,7 +33,6 @@ class ManualMapVoxelManipulator; */ class LuaVoxelManip : public ModApiBase { private: - ManualMapVoxelManipulator *vm; std::map<v3s16, MapBlock *> modified_blocks; bool is_mapgen_vm; @@ -62,8 +61,11 @@ private: static int l_set_param2_data(lua_State *L); static int l_was_modified(lua_State *L); + static int l_get_emerged_area(lua_State *L); public: + ManualMapVoxelManipulator *vm; + LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool is_mapgen_vm); LuaVoxelManip(Map *map); ~LuaVoxelManip(); |