diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-21 18:11:55 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-21 21:31:11 +0700 |
commit | 325dca9f212f9fd44cd10a8180529970c7a08c72 (patch) | |
tree | e1cfaec078dfa49f4d51d05eef8a5b0967843a41 /src/Main.cpp | |
parent | 10f5376de856ecead4e8bbf66f19157f36f7a382 (diff) | |
download | blackshades-1.2.0.tar.gz |
Remove trailing whitespaces and duplicated blank lines 1.2.0
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 - - } - |