forked from 0ad/0ad
janwas
dc027002c0
- input.cpp allows feeding in events from the outside (will be used by main.cpp and Atlas msg loop) - most of main.cpp split into ps/GameSetup.* - main.cpp is now a "controller" that drives the game via SDL events (Atlas is another such controller that can override main.cpp). it calls GameSetup functions to set up and processes messages. - add functions to import AtlasUI.dll automatically also, the usual refactoring ;) This was SVN commit r2622.
9 lines
417 B
C
9 lines
417 B
C
// 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 void ATLAS_RunIfOnCmdLine(int argc, char* argv[]);
|