diff options
Diffstat (limited to 'Source/Main.cpp')
| -rw-r--r-- | Source/Main.cpp | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/Source/Main.cpp b/Source/Main.cpp new file mode 100644 index 0000000..3eb8803 --- /dev/null +++ b/Source/Main.cpp @@ -0,0 +1,64 @@ +/********************> Headers <*****/ + +#include "Game.h" + + + +/********************> Globals <*****/ + + + +Game game; + + + +/********************> main() <*****/ + +void main( void ) + + { + + + + ToolboxInit(); + + + + if ( HasAppearance() ) + + RegisterAppearanceClient(); + + + + + + game.InitGL(); + + + + game.InitGame(); + + + + game.EventLoop(); + + + + game.Dispose(); + + + + if ( HasAppearance() ) + + UnregisterAppearanceClient(); + + + + FlushEvents( everyEvent, 0 ); + + ExitToShell(); + + + +} + |
