1
0
forked from 0ad/0ad
0ad/source
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
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics Fix 204b04f2d4 compatibility with zipped mods, refs #5018. 2018-05-01 21:15:55 +00:00
gui In preparation of renaming and grouping main.cpp shutdown variables: 2018-05-08 09:24:16 +00:00
i18n Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
lib Add a mod installer, fixes #4027. 2018-04-15 01:46:28 +00:00
lobby Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
maths Adds a perspective matrix, refracts a matrix projection setup to prepare for an isometric view. 2017-10-29 23:41:59 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
pch Switch to std::shared_ptr and std::weak_ptr. 2015-01-25 03:10:58 +00:00
ps Main.cpp cleanup. 2018-05-08 09:45:54 +00:00
renderer In preparation of renaming and grouping main.cpp shutdown variables: 2018-05-08 09:24:16 +00:00
scriptinterface Fix mod check of non-visual replays and allow conversion of a vector of vectors of strings via ScriptConversions 2018-03-22 15:26:27 +00:00
simulation2 Main.cpp cleanup. 2018-05-08 09:45:54 +00:00
soundmanager Add missing ScriptInterface includes to 2018-04-27 16:48:44 +00:00
third_party Use libsodium for cryptography. 2018-04-08 21:41:31 +00:00
tools Fix 204b04f2d4 compatibility with zipped mods, refs #5018. 2018-05-01 21:15:55 +00:00
main.cpp Main.cpp cleanup. 2018-05-08 09:45:54 +00:00
test_setup.cpp Fix string format of the JS test assertion failure following 7c2e9027c2 (cxxtest expects a char* instead of a std::wstring, so newlines were printed as \n characters). 2017-10-13 21:56:45 +00:00