From e472d9537ee7919630e5f6039f8425b06f6c4213 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 8 Mar 2022 19:33:59 +0100 Subject: Replaced time funcs from Game with Clock equivalents This excludes time compression stuff, as it will need some more attention due to casting. I don't quite like the long invocations that go through game instance first then get the clock. It looks bad. I'll need to rethink how modules are being made available in the codebase. --- 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 d9054e9..7ecb198 100644 --- a/Stars45/Game.h +++ b/Stars45/Game.h @@ -77,17 +77,11 @@ public: void SetMaxTexSize(int n); Clock* GetClock(); - DWORD RealTime(); - DWORD GameTime(); DWORD TimeCompression(); void SetTimeCompression(DWORD comp); DWORD Frame(); - void ResetGameTime(); - void SkipGameTime(double seconds); double FrameRate(); - double FrameTime(); - double GUITime(); void SetMaxFrameLength(double seconds) { max_frame_length = seconds; } double GetMaxFrameLength() { return max_frame_length; } -- cgit v1.1