aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_vmanip.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-01-04 22:37:20 -0500
committerkwolekr <kwolekr@minetest.net>2015-01-04 22:38:48 -0500
commitbdcf03ae36553f4c7ba48d18ef8d67f05590dd60 (patch)
tree1b2a0603fedebb23ca08ec7de96846810de2a32f /src/script/lua_api/l_vmanip.h
parenta92c0830113e7a32d056fabd3cbd58cedbde684a (diff)
downloadminetest-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.h3
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);