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);
42 static int l_start(lua_State *L);
44 static int l_close(lua_State *L);
164 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:998
static int l_get_textlist_index(lua_State *L)
Definition l_mainmenu.cpp:218
static int l_get_temp_path(lua_State *L)
Definition l_mainmenu.cpp:746
static int l_get_texturepath_share(lua_State *L)
Definition l_mainmenu.cpp:730
static int l_get_cache_path(lua_State *L)
Definition l_mainmenu.cpp:739
static int l_show_keys_menu(lua_State *L)
Definition l_mainmenu.cpp:524
static void InitializeAsync(lua_State *L, int top)
Definition l_mainmenu.cpp:1143
static int l_get_modpath(lua_State *L)
Definition l_mainmenu.cpp:672
static int l_get_mapgen_names(lua_State *L)
Definition l_mainmenu.cpp:647
static int l_share_file(lua_State *L)
Definition l_mainmenu.cpp:1047
static int l_get_active_driver(lua_State *L)
Definition l_mainmenu.cpp:952
static int l_delete_world(lua_State *L)
Definition l_mainmenu.cpp:615
static int l_open_dir(lua_State *L)
Definition l_mainmenu.cpp:1036
static int l_get_modpaths(lua_State *L)
Definition l_mainmenu.cpp:681
static int l_get_content_info(lua_State *L)
Definition l_mainmenu.cpp:343
static int l_show_touchscreen_layout(lua_State *L)
Definition l_mainmenu.cpp:540
static int l_update_formspec(lua_State *L)
Definition l_mainmenu.cpp:79
static int l_get_texturepath(lua_State *L)
Definition l_mainmenu.cpp:721
static int l_open_url(lua_State *L)
Definition l_mainmenu.cpp:1012
static int l_extract_zip(lua_State *L)
Definition l_mainmenu.cpp:809
static int l_copy_dir(lua_State *L)
Definition l_mainmenu.cpp:778
static int l_get_content_translation(lua_State *L)
Definition l_mainmenu.cpp:505
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:47
static int l_check_mod_configuration(lua_State *L)
Definition l_mainmenu.cpp:412
static int l_create_dir(lua_State *L)
Definition l_mainmenu.cpp:756
static int l_set_topleft_text(lua_State *L)
Definition l_mainmenu.cpp:632
static int l_get_mainmenu_path(lua_State *L)
Definition l_mainmenu.cpp:824
static void Initialize(lua_State *L, int top)
initialize this API module
Definition l_mainmenu.cpp:1085
static int l_may_modify_path(lua_State *L)
Definition l_mainmenu.cpp:834
static int l_set_clouds(lua_State *L)
Definition l_mainmenu.cpp:205
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:34
static int l_show_path_select_dialog(lua_State *L)
Definition l_mainmenu.cpp:844
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:63
static int l_start(lua_State *L)
Definition l_mainmenu.cpp:113
static int l_get_active_renderer(lua_State *L)
Definition l_mainmenu.cpp:960
static int l_get_games(lua_State *L)
Definition l_mainmenu.cpp:275
static int l_open_url_dialog(lua_State *L)
Definition l_mainmenu.cpp:1020
static int l_get_clientmodpath(lua_State *L)
Definition l_mainmenu.cpp:703
static int l_gettext(lua_State *L)
Definition l_mainmenu.cpp:911
static int l_download_file(lua_State *L)
Definition l_mainmenu.cpp:867
static int l_set_background(lua_State *L)
Definition l_mainmenu.cpp:160
static int l_get_table_index(lua_State *L)
Definition l_mainmenu.cpp:225
static int l_create_world(lua_State *L)
Definition l_mainmenu.cpp:556
static int l_get_user_path(lua_State *L)
Definition l_mainmenu.cpp:664
static int l_get_gamepath(lua_State *L)
Definition l_mainmenu.cpp:712
static int l_get_window_info(lua_State *L)
Definition l_mainmenu.cpp:921
static int l_get_formspec_version(lua_State *L)
Definition l_mainmenu.cpp:1005
static int l_is_dir(lua_State *L)
Definition l_mainmenu.cpp:798
static int l_irrlicht_device_supports_touch(lua_State *L)
Definition l_mainmenu.cpp:984
static int l_delete_dir(lua_State *L)
Definition l_mainmenu.cpp:767
static int l_get_min_supp_proto(lua_State *L)
Definition l_mainmenu.cpp:992
static int l_close(lua_State *L)
Definition l_mainmenu.cpp:150
static int l_get_active_irrlicht_device(lua_State *L)
Definition l_mainmenu.cpp:967
static int l_get_worlds(lua_State *L)
Definition l_mainmenu.cpp:242
static int l_do_async_callback(lua_State *L)
Definition l_mainmenu.cpp:1063
static int l_set_formspec_prepend(lua_State *L)
Definition l_mainmenu.cpp:98
static int l_get_language(lua_State *L)
Definition l_mainmenu.cpp:900
static int l_get_video_drivers(lua_State *L)
Definition l_mainmenu.cpp:879