summary refs log tree commit diff
path: root/src/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.cpp')
-rw-r--r--src/Main.cpp29
1 files changed, 2 insertions, 27 deletions
diff --git a/src/Main.cpp b/src/Main.cpp
index a4899a9..46f7c12 100644
--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -3,37 +3,12 @@
 #include "Game.h"
 
 /********************> Globals <*****/
-
 Game game;
 
-/********************> main() <*****/
-
-int 	main( int argc, char *argv[] )
-
-	{
-#ifdef OS9
-	ToolboxInit();
-
-	if ( HasAppearance() )
-
-		RegisterAppearanceClient();
-#endif
-
+int main(int argc, char *argv[])
+{
 	game.InitGL();
-
 	game.InitGame();
-
 	game.EventLoop();
-
 	game.Dispose();
-
-#ifdef OS9
-	if ( HasAppearance() )
-
-		UnregisterAppearanceClient();
-
-	FlushEvents( everyEvent, 0 );
-
-	ExitToShell();
-#endif
 }