From c376af320ebd9d9e435ef3003dd35136dbd71ae8 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 28 Feb 2022 22:49:18 +0100 Subject: 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. --- Stars45/Game.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Stars45/Game.h') 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]; }; // +--------------------------------------------------------------------+ -- cgit v1.1