22 static std::string
getTextData(lua_State *L,
const std::string &name);
30 static int getIntegerData(lua_State *L,
const std::string &name,
bool& valid);
38 static int getBoolData(lua_State *L,
const std::string &name ,
bool& valid);
50 static int l_start(lua_State *L);
52 static int l_close(lua_State *L);
170 static void Initialize(lua_State *L,
int top);
Implementation of lua api support for mainmenu.
Definition l_mainmenu.h:13
static int l_get_max_supp_proto(lua_State *L)
Definition l_mainmenu.cpp:1031
static int l_get_textlist_index(lua_State *L)
Definition l_mainmenu.cpp:217
static int l_get_temp_path(lua_State *L)
Definition l_mainmenu.cpp:725
static int l_get_texturepath_share(lua_State *L)
Definition l_mainmenu.cpp:709
static int l_get_cache_path(lua_State *L)
Definition l_mainmenu.cpp:718
static int l_show_keys_menu(lua_State *L)
Definition l_mainmenu.cpp:519
static void InitializeAsync(lua_State *L, int top)
Definition l_mainmenu.cpp:1168
static int l_get_modpath(lua_State *L)
Definition l_mainmenu.cpp:651
static int l_get_mapgen_names(lua_State *L)
Definition l_mainmenu.cpp:626
static int l_share_file(lua_State *L)
Definition l_mainmenu.cpp:1077
static int l_get_active_driver(lua_State *L)
Definition l_mainmenu.cpp:985
static int l_delete_world(lua_State *L)
Definition l_mainmenu.cpp:594
static int l_open_dir(lua_State *L)
Definition l_mainmenu.cpp:1069
static int l_get_modpaths(lua_State *L)
Definition l_mainmenu.cpp:660
static bool mayModifyPath(std::string path)
Checks if a path may be modified.
Definition l_mainmenu.cpp:830
static int l_get_content_info(lua_State *L)
Definition l_mainmenu.cpp:342
static int l_update_formspec(lua_State *L)
Definition l_mainmenu.cpp:78
static int l_get_texturepath(lua_State *L)
Definition l_mainmenu.cpp:700
static int l_open_url(lua_State *L)
Definition l_mainmenu.cpp:1045
static int l_extract_zip(lua_State *L)
Definition l_mainmenu.cpp:801
static int l_copy_dir(lua_State *L)
Definition l_mainmenu.cpp:764
static int l_get_content_translation(lua_State *L)
Definition l_mainmenu.cpp:500
static int getIntegerData(lua_State *L, const std::string &name, bool &valid)
read an integer variable from gamedata table within lua stack
Definition l_mainmenu.cpp:46
static int l_check_mod_configuration(lua_State *L)
Definition l_mainmenu.cpp:409
static int l_create_dir(lua_State *L)
Definition l_mainmenu.cpp:735
static int l_set_topleft_text(lua_State *L)
Definition l_mainmenu.cpp:611
static int l_get_mainmenu_path(lua_State *L)
Definition l_mainmenu.cpp:820
static void Initialize(lua_State *L, int top)
initialize this API module
Definition l_mainmenu.cpp:1111
static int l_may_modify_path(lua_State *L)
Definition l_mainmenu.cpp:858
static int l_set_clouds(lua_State *L)
Definition l_mainmenu.cpp:204
static std::string getTextData(lua_State *L, const std::string &name)
read a text variable from gamedata table within lua stack
Definition l_mainmenu.cpp:33
static int l_show_path_select_dialog(lua_State *L)
Definition l_mainmenu.cpp:867
static int getBoolData(lua_State *L, const std::string &name, bool &valid)
read a bool variable from gamedata table within lua stack
Definition l_mainmenu.cpp:62
static int l_start(lua_State *L)
Definition l_mainmenu.cpp:112
static int l_get_active_renderer(lua_State *L)
Definition l_mainmenu.cpp:993
static int l_get_games(lua_State *L)
Definition l_mainmenu.cpp:274
static int l_open_url_dialog(lua_State *L)
Definition l_mainmenu.cpp:1053
static int l_get_clientmodpath(lua_State *L)
Definition l_mainmenu.cpp:682
static int l_gettext(lua_State *L)
Definition l_mainmenu.cpp:944
static int l_download_file(lua_State *L)
Definition l_mainmenu.cpp:890
static int l_set_background(lua_State *L)
Definition l_mainmenu.cpp:159
static int l_get_table_index(lua_State *L)
Definition l_mainmenu.cpp:224
static int l_create_world(lua_State *L)
Definition l_mainmenu.cpp:535
static int l_get_user_path(lua_State *L)
Definition l_mainmenu.cpp:643
static int l_get_gamepath(lua_State *L)
Definition l_mainmenu.cpp:691
static int l_get_window_info(lua_State *L)
Definition l_mainmenu.cpp:954
static int l_get_formspec_version(lua_State *L)
Definition l_mainmenu.cpp:1038
static int l_is_dir(lua_State *L)
Definition l_mainmenu.cpp:792
static int l_irrlicht_device_supports_touch(lua_State *L)
Definition l_mainmenu.cpp:1017
static int l_delete_dir(lua_State *L)
Definition l_mainmenu.cpp:748
static int l_get_min_supp_proto(lua_State *L)
Definition l_mainmenu.cpp:1025
static int l_close(lua_State *L)
Definition l_mainmenu.cpp:149
static int l_get_active_irrlicht_device(lua_State *L)
Definition l_mainmenu.cpp:1000
static int l_get_worlds(lua_State *L)
Definition l_mainmenu.cpp:241
static int l_do_async_callback(lua_State *L)
Definition l_mainmenu.cpp:1090
static int l_set_formspec_prepend(lua_State *L)
Definition l_mainmenu.cpp:97
static int l_get_language(lua_State *L)
Definition l_mainmenu.cpp:933
static int l_get_video_drivers(lua_State *L)
Definition l_mainmenu.cpp:912