summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Game.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Game.h')
-rw-r--r--StarsEx/Game.h14
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