1
0
forked from 0ad/0ad
0ad/source/ps/scripting
elexis 27da92e55f Main.cpp cleanup.
Use an enum to indicate the type of engine shutdown instead of three
bools.
State in the comments that the program is restarted within the same
process.

In preparation of introducing an IsQuitRequested function (which shall
not be named is_quit_requested as stressed by Vladislav):
Rename kill_mainloop to QuitEngine, restart_mainloop to RestartEngine,
restart_mainloop_in_atlas to StartAtlas to not break consistency.
Don't rename RestartInAtlas in JS just now.
Group declarations at the top of main.cpp.

This was SVN commit r21817.
2018-05-08 09:45:54 +00:00
..
JSInterface_ConfigDB.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
JSInterface_ConfigDB.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_Console.cpp Clean some forward declarations. 2018-04-27 16:06:42 +00:00
JSInterface_Console.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_Debug.cpp Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_Debug.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_Game.cpp Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_Game.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_Main.cpp Main.cpp cleanup. 2018-05-08 09:45:54 +00:00
JSInterface_Main.h Main.cpp cleanup. 2018-05-08 09:45:54 +00:00
JSInterface_Mod.cpp Main.cpp cleanup. 2018-05-08 09:45:54 +00:00
JSInterface_Mod.h Clean some forward declarations. 2018-04-27 16:06:42 +00:00
JSInterface_ModIo.cpp Clean some forward declarations. 2018-04-27 16:06:42 +00:00
JSInterface_ModIo.h Clean some forward declarations. 2018-04-27 16:06:42 +00:00
JSInterface_SavedGame.cpp Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_SavedGame.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_VFS.cpp Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_VFS.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_VisualReplay.cpp Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
JSInterface_VisualReplay.h Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00