diff options
Diffstat (limited to 'src/Main.cpp')
-rw-r--r-- | src/Main.cpp | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/src/Main.cpp b/src/Main.cpp index 2c8f381..a4899a9 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -2,63 +2,38 @@ #include "Game.h" - - /********************> Globals <*****/ - - Game game; - - /********************> main() <*****/ int main( int argc, char *argv[] ) { - - -#ifdef OS9 +#ifdef OS9 ToolboxInit(); - - if ( HasAppearance() ) RegisterAppearanceClient(); #endif - - - game.InitGL(); - - game.InitGame(); - - game.EventLoop(); - - game.Dispose(); - -#ifdef OS9 +#ifdef OS9 if ( HasAppearance() ) UnregisterAppearanceClient(); - - FlushEvents( everyEvent, 0 ); ExitToShell(); #endif - - } - |