From 6b2a17a2ccb1a0d45489208f7f23b9d6a65b110d Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 23 Mar 2022 22:57:42 +0100 Subject: Removed Clock from Game for now While testing waters around exporting things out from Game to GameWinDX9 I noticed that if both ContentBundle and Clock (primarily) are removed from it, then the WinDX9 will be almost equivalent to base. This is worrying mainly because I'm only fortified in seeing deep relationships between various classes sadly including Video. --- Stars45/Game.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Stars45/Game.h') diff --git a/Stars45/Game.h b/Stars45/Game.h index d0d5841..518789c 100644 --- a/Stars45/Game.h +++ b/Stars45/Game.h @@ -10,7 +10,6 @@ #ifndef Game_h #define Game_h -#include "Clock.h" #include "Types.h" #include "Screen.h" #include "Video.h" @@ -58,7 +57,6 @@ public: static Game* GetInstance(); - Clock* GetClock(); DWORD Frame(); void SetMaxFrameLength(double seconds) { max_frame_length = seconds; } @@ -107,8 +105,6 @@ protected: RECT bounds_rect; // Saved window bounds for mode switches RECT client_rect; // Saved client area size for mode switches - Clock clock; - int status; int exit_code; @@ -124,5 +120,3 @@ protected: // +--------------------------------------------------------------------+ #endif // Game_h - - -- cgit v1.1