From cc3ab5efa527884e40cfc8e44692ed892d3480b3 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Mon, 29 Dec 2014 01:31:37 -0500 Subject: LuaVoxelManip: Remove blank allocator --- doc/lua_api.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 557fdccb1..f48c433c6 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1613,7 +1613,7 @@ minetest.get_perlin(seeddiff, octaves, persistence, scale) minetest.get_voxel_manip() ^ Return voxel manipulator object minetest.get_voxel_manip(p1, p2) -^ Return voxel manipulator object with blank data preallocated +^ Return voxel manipulator object with map pre-loaded minetest.set_gen_notify(flags, {deco_ids}) ^ Set the types of on-generate notifications that should be collected ^ flags is a flag field with the available flags: @@ -2215,7 +2215,7 @@ methods: VoxelManip: An interface to the MapVoxelManipulator for Lua - Can be created via VoxelManip() - Also minetest.get_voxel_manip() -- Specify a pmin, pmax in either to allocate a blank chunk of data prefilled with cignore +- Specify a pmin, pmax to create a VoxelManip with map already loaded methods: - read_from_map(p1, p2): Reads a chunk of map from the map containing the region formed by p1 and p2. ^ returns actual emerged pmin, actual emerged pmax -- cgit v1.2.3