1
0
forked from 0ad/0ad
0ad/source/ps/GameSetup/Atlas.h
Ykkrosh cbafd43eea # Changed handling of command-line arguments.
* 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.
2006-12-09 14:39:52 +00:00

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);