Ykkrosh
cbafd43eea
* Added CmdLineArgs, which does the parsing then lets various pieces of code check for whatever arguments they want. * Made Atlas exit out of main() cleanly, instead of calling exit() itself. * Disabled the global exception-catching in unit tests, via a entry_noSEH, so it doesn't make debugging harder. * Added nice printing of CStr in unit test failure messages, and added comparison of vector vs constant array. This was SVN commit r4688.
11 lines
430 B
C++
11 lines
430 B
C++
class CmdLineArgs;
|
|
|
|
// free reference to Atlas UI SO (avoids resource leak report)
|
|
extern void ATLAS_Shutdown();
|
|
|
|
// starts the Atlas UI if an "-editor" switch is found on the command line.
|
|
// this is the alternative to starting the main menu and clicking on
|
|
// the editor button; it is much faster because it's called during early
|
|
// init and therefore skips GUI setup.
|
|
extern bool ATLAS_RunIfOnCmdLine(const CmdLineArgs& args);
|