From 8aa930f28e69f3518831500022988ca2a4b6985d Mon Sep 17 00:00:00 2001 From: kwolekr Date: Wed, 26 Jun 2013 17:19:39 -0400 Subject: Add minetest.get_mapgen_object to API --- src/script/lua_api/l_vmanip.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/script/lua_api/l_vmanip.h') diff --git a/src/script/lua_api/l_vmanip.h b/src/script/lua_api/l_vmanip.h index 568f7104e..5a57d6bfa 100644 --- a/src/script/lua_api/l_vmanip.h +++ b/src/script/lua_api/l_vmanip.h @@ -36,6 +36,7 @@ class LuaVoxelManip private: ManualMapVoxelManipulator *vm; std::map modified_blocks; + bool do_gc; static const char className[]; static const luaL_reg methods[]; @@ -50,6 +51,7 @@ private: static int l_set_lighting(lua_State *L); public: + LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool dogc); LuaVoxelManip(Map *map); ~LuaVoxelManip(); -- cgit v1.2.3