diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-29 21:23:51 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-29 21:23:51 -0500 |
commit | ca89e63b27a2548a7615fcf4943c22f88818f6eb (patch) | |
tree | 6e8f0b35321e580d6080a128839406b748b8fc9d /doc | |
parent | 5e2753c712e8f65fa50f4889fc1422393ba21413 (diff) | |
download | minetest-ca89e63b27a2548a7615fcf4943c22f88818f6eb.tar.gz minetest-ca89e63b27a2548a7615fcf4943c22f88818f6eb.tar.bz2 minetest-ca89e63b27a2548a7615fcf4943c22f88818f6eb.zip |
Add core.get_mapgen_names() to Main Menu API (and use it)
Also rewrite mapgen registration for static initialization
Diffstat (limited to 'doc')
-rw-r--r-- | doc/menu_lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index b67d6ca00..45db89fb0 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -143,6 +143,8 @@ core.get_game(index) addon_mods_paths = {[1] = <path>,}, } core.get_games() -> table of all games in upper format (possible in async calls) +core.get_mapgen_names() -> table of all map generator algorithms registered in + the core (possible in async calls) Favorites: core.get_favorites(location) -> list of favorites (possible in async calls) |