aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-12-29 01:31:37 -0500
committerkwolekr <kwolekr@minetest.net>2014-12-29 01:31:37 -0500
commitcc3ab5efa527884e40cfc8e44692ed892d3480b3 (patch)
tree88403c7e4df7d842f5279b6916a6da1a70c01a79 /doc
parent3c637b4bafcef7b90c98a8d656d300ccd8d37eac (diff)
downloadminetest-cc3ab5efa527884e40cfc8e44692ed892d3480b3.tar.gz
minetest-cc3ab5efa527884e40cfc8e44692ed892d3480b3.tar.bz2
minetest-cc3ab5efa527884e40cfc8e44692ed892d3480b3.zip
LuaVoxelManip: Remove blank allocator
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 2 insertions, 2 deletions
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