diff options
author | kwolekr <kwolekr@minetest.net> | 2013-06-26 17:19:39 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-06-27 22:35:35 -0400 |
commit | 8aa930f28e69f3518831500022988ca2a4b6985d (patch) | |
tree | 5699c9b0cd8eaa54f4fadf8dcd7d0ba98a9c3c74 /src/script/lua_api/l_vmanip.h | |
parent | 2c0b51795e6fa6747d881f1871c89830abb6e6e8 (diff) | |
download | hax-minetest-server-8aa930f28e69f3518831500022988ca2a4b6985d.tar.gz hax-minetest-server-8aa930f28e69f3518831500022988ca2a4b6985d.zip |
Add minetest.get_mapgen_object to API
Diffstat (limited to '')
-rw-r--r-- | src/script/lua_api/l_vmanip.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<v3s16, MapBlock *> 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(); |