aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mapgen.h
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-12-03 10:40:46 -0500
committerGitHub <noreply@github.com>2022-12-03 10:40:46 -0500
commitb3ffc4b327622bec63793476191b95bc174bf33c (patch)
treef528352d914b5aacb8b4d8b31f2e702efe18d0dc /src/script/lua_api/l_mapgen.h
parente84d259ec7fcc00466bd947070cb4ed77cd83c52 (diff)
downloadminetest-b3ffc4b327622bec63793476191b95bc174bf33c.tar.xz
Add `minetest.get_mapgen_edges` (#12999)
Diffstat (limited to 'src/script/lua_api/l_mapgen.h')
-rw-r--r--src/script/lua_api/l_mapgen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_mapgen.h b/src/script/lua_api/l_mapgen.h
index 0bdc56fc5..1428a91c8 100644
--- a/src/script/lua_api/l_mapgen.h
+++ b/src/script/lua_api/l_mapgen.h
@@ -61,6 +61,9 @@ private:
// set mapgen parameters
static int l_set_mapgen_params(lua_State *L);
+ // get_mapgen_edges([mapgen_limit[, chunksize]])
+ static int l_get_mapgen_edges(lua_State *L);
+
// get_mapgen_setting(name)
static int l_get_mapgen_setting(lua_State *L);