diff options
author | Aki <please@ignore.pl> | 2024-03-12 00:31:44 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-03-12 00:31:44 +0100 |
commit | 2914a714cebae7f30d47362dfe50c39cb6621163 (patch) | |
tree | 1bbf4cb36448279ff7ee4f2a4e8b484485f06c1f /StarsEx/Game.h | |
parent | bee3cae04a8789cfdc1688ae6d2d47c387431783 (diff) | |
download | starshatter-2914a714cebae7f30d47362dfe50c39cb6621163.zip starshatter-2914a714cebae7f30d47362dfe50c39cb6621163.tar.gz starshatter-2914a714cebae7f30d47362dfe50c39cb6621163.tar.bz2 |
Removed some connections from Starserver and Game to Types.h
This was intended to be wider but DataLoader seems to stop progress
once again. This in turn asks for rework of FoundationEx, Readers and
Virtual Filesystem.
Diffstat (limited to 'StarsEx/Game.h')
-rw-r--r-- | StarsEx/Game.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/StarsEx/Game.h b/StarsEx/Game.h index 50b3379..878f2d0 100644 --- a/StarsEx/Game.h +++ b/StarsEx/Game.h @@ -10,9 +10,8 @@ #ifndef Game_h #define Game_h -#include "Types.h" +#include <cstdint> -// +--------------------------------------------------------------------+ class Game { @@ -33,11 +32,7 @@ public: Game(); virtual ~Game(); - // - // MAIN GAME FUNCTIONALITY: - // - - virtual bool Init(HINSTANCE hi, HINSTANCE hpi, LPSTR cmdline, int nCmdShow); + virtual bool Init(); virtual int Run(); virtual void Exit(); @@ -54,7 +49,7 @@ public: static Game* GetInstance(); - DWORD Frame(); + std::uint32_t Frame(); bool Active() const { return active; } bool Paused() const { return paused; } @@ -75,12 +70,11 @@ protected: bool active; bool paused; - DWORD frame_number; + std::uint32_t frame_number; private: static Game* instance; }; -// +--------------------------------------------------------------------+ #endif // Game_h |