aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_gameui.cpp
Commit message (Expand)AuthorAge
* LINT fixLoic Blot2018-05-29
* Fix GameUI flag value regression introduced by a78659ed0529226ad937f5e241ad72...Loic Blot2018-05-29
* GameUI refactor (part 4/X): Move Game::guitext_status, Game::m_statustext, Ga...Loic Blot2018-01-05
* GameUI refactor (part 3/X): Move Game::guitext2, Game::guitext_info, Game::in...Loic Blot2018-01-05
* GameUI refactor (part 2/X): Move Game::guitext to GameUI + enhancements on St...Loic Blot2018-01-05
* GameUI refactor (part 1/X): GameUI object creation + GameUIFlags move to GameUILoic Blot2018-01-05
="hl opt">()..DIR_DELIM local gamepath = scriptdir.."game"..DIR_DELIM local commonpath = scriptdir.."common"..DIR_DELIM local asyncpath = scriptdir.."async"..DIR_DELIM dofile(commonpath.."strict.lua") dofile(commonpath.."serialize.lua") dofile(commonpath.."misc_helpers.lua") if INIT == "game" then dofile(gamepath.."init.lua") elseif INIT == "mainmenu" then local mainmenuscript = core.setting_get("main_menu_script") if mainmenuscript ~= nil and mainmenuscript ~= "" then dofile(mainmenuscript) else dofile(core.get_mainmenu_path()..DIR_DELIM.."init.lua") end elseif INIT == "async" then dofile(asyncpath.."init.lua") else error(("Unrecognized builtin initialization type %s!"):format(tostring(INIT))) end