aboutsummaryrefslogtreecommitdiff
path: root/font_epilepsy/textures/font_epilepsy_0460.png
diff options
context:
space:
mode:
authorPierre-Yves Rollo <dev@pyrollo.com>2018-01-28 15:09:49 +0100
committerGitHub <noreply@github.com>2018-01-28 15:09:49 +0100
commitc7d13fca9e795b366dedcb4d65426510ff85dcdc (patch)
tree8163ba1896c9528683a10fa0288c9c60699034d8 /font_epilepsy/textures/font_epilepsy_0460.png
parent78e3b852740c77b78e19b814e649f66b91dba673 (diff)
parent1c1be8a7c13cb664551503b88516c75b189aed87 (diff)
downloaddisplay_modpack-c7d13fca9e795b366dedcb4d65426510ff85dcdc.tar.gz
display_modpack-c7d13fca9e795b366dedcb4d65426510ff85dcdc.tar.bz2
display_modpack-c7d13fca9e795b366dedcb4d65426510ff85dcdc.zip
Merge pull request #9 from Thomas--S/lbm_update
Update the entities as soon as mapblock is loaded
Diffstat (limited to 'font_epilepsy/textures/font_epilepsy_0460.png')
0 files changed, 0 insertions, 0 deletions
span> "lua_api/l_settings.h" extern "C" { #include "lualib.h" } MainMenuScripting::MainMenuScripting(GUIEngine* guiengine) { setGuiEngine(guiengine); //TODO add security luaL_openlibs(getStack()); SCRIPTAPI_PRECHECKHEADER lua_pushstring(L, DIR_DELIM); lua_setglobal(L, "DIR_DELIM"); lua_newtable(L); lua_setglobal(L, "gamedata"); lua_newtable(L); lua_setglobal(L, "engine"); // Initialize our lua_api modules lua_getglobal(L, "engine"); int top = lua_gettop(L); InitializeModApi(L, top); lua_pop(L, 1); infostream << "SCRIPTAPI: initialized mainmenu modules" << std::endl; } void MainMenuScripting::InitializeModApi(lua_State *L, int top) { // Initialize mod api modules ModApiMainMenu::Initialize(L, top); ModApiUtil::Initialize(L, top); // Register reference classes (userdata) LuaSettings::Register(L); }