mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add core.get_mapgen_names() to Main Menu API (and use it)
Also rewrite mapgen registration for static initialization
This commit is contained in:
parent
5e2753c712
commit
ca89e63b27
6 changed files with 60 additions and 36 deletions
|
@ -73,6 +73,8 @@ private:
|
|||
|
||||
static int l_get_games(lua_State *L);
|
||||
|
||||
static int l_get_mapgen_names(lua_State *L);
|
||||
|
||||
static int l_get_favorites(lua_State *L);
|
||||
|
||||
static int l_delete_favorite(lua_State *L);
|
||||
|
@ -112,7 +114,7 @@ private:
|
|||
static int l_get_modpath(lua_State *L);
|
||||
|
||||
static int l_get_gamepath(lua_State *L);
|
||||
|
||||
|
||||
static int l_get_texturepath(lua_State *L);
|
||||
|
||||
static int l_get_texturepath_share(lua_State *L);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue