diff options
author | Aki <please@ignore.pl> | 2022-02-28 22:49:18 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-02-28 22:49:18 +0100 |
commit | c376af320ebd9d9e435ef3003dd35136dbd71ae8 (patch) | |
tree | 224ef8cdd3390260ed97d8278d1223d0494016c8 /Stars45/Game.h | |
parent | 724c36ea74dc6f2dfc097c45825c06df7756e058 (diff) | |
download | starshatter-c376af320ebd9d9e435ef3003dd35136dbd71ae8.zip starshatter-c376af320ebd9d9e435ef3003dd35136dbd71ae8.tar.gz starshatter-c376af320ebd9d9e435ef3003dd35136dbd71ae8.tar.bz2 |
Replaced old panic mechanism uses with the new one
This will allow to split the functionality even further. I predict that at some
point they I will start joining them up together once again, but for now I need
them to be isolated.
Diffstat (limited to 'Stars45/Game.h')
-rw-r--r-- | Stars45/Game.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Stars45/Game.h b/Stars45/Game.h index 1be7170..4e691de 100644 --- a/Stars45/Game.h +++ b/Stars45/Game.h @@ -41,7 +41,7 @@ class Game : public ApplicationDX9 { public: static const char* TYPENAME() { return "Game"; } - enum STATUS { OK, RUN, EXIT, PANIC, INIT_FAILED, TOO_MANY }; + enum STATUS { OK, RUN, EXIT, INIT_FAILED, TOO_MANY }; Game(); virtual ~Game(); @@ -67,8 +67,6 @@ public: // static Game* GetInstance(); - static void Panic(const char* msg=0); - static const char* GetPanicMessage() { return panicbuf; } bool DisplayModeSupported(int w, int h, int bpp); int MaxTexSize(); @@ -192,8 +190,6 @@ protected: double max_frame_length; double min_frame_length; - - static char panicbuf[256]; }; // +--------------------------------------------------------------------+ |