diff options
author | kwolekr <kwolekr@minetest.net> | 2015-01-04 22:37:20 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-01-04 22:38:48 -0500 |
commit | bdcf03ae36553f4c7ba48d18ef8d67f05590dd60 (patch) | |
tree | 1b2a0603fedebb23ca08ec7de96846810de2a32f /src/script/lua_api/l_vmanip.h | |
parent | a92c0830113e7a32d056fabd3cbd58cedbde684a (diff) | |
download | minetest-bdcf03ae36553f4c7ba48d18ef8d67f05590dd60.tar.gz minetest-bdcf03ae36553f4c7ba48d18ef8d67f05590dd60.tar.bz2 minetest-bdcf03ae36553f4c7ba48d18ef8d67f05590dd60.zip |
Add minetest.generate_ores() and minetest.generate_decorations()
Diffstat (limited to 'src/script/lua_api/l_vmanip.h')
-rw-r--r-- | src/script/lua_api/l_vmanip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/lua_api/l_vmanip.h b/src/script/lua_api/l_vmanip.h index 887b18663..82c807240 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; @@ -65,6 +64,8 @@ private: static int l_get_emerged_area(lua_State *L); public: + ManualMapVoxelManipulator *vm; + LuaVoxelManip(ManualMapVoxelManipulator *mmvm, bool is_mapgen_vm); LuaVoxelManip(Map *map, v3s16 p1, v3s16 p2); LuaVoxelManip(Map *map); |