summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Game.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-23 22:57:42 +0100
committerAki <please@ignore.pl>2022-03-23 22:57:42 +0100
commit6b2a17a2ccb1a0d45489208f7f23b9d6a65b110d (patch)
tree0c0c86871cdd51462617a946a9f35fe3501bd6a7 /Stars45/Game.h
parent9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4 (diff)
downloadstarshatter-6b2a17a2ccb1a0d45489208f7f23b9d6a65b110d.zip
starshatter-6b2a17a2ccb1a0d45489208f7f23b9d6a65b110d.tar.gz
starshatter-6b2a17a2ccb1a0d45489208f7f23b9d6a65b110d.tar.bz2
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.
Diffstat (limited to 'Stars45/Game.h')
-rw-r--r--Stars45/Game.h6
1 files changed, 0 insertions, 6 deletions
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
-
-