From 2914a714cebae7f30d47362dfe50c39cb6621163 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 12 Mar 2024 00:31:44 +0100 Subject: 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. --- StarsEx/Game.cpp | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'StarsEx/Game.cpp') diff --git a/StarsEx/Game.cpp b/StarsEx/Game.cpp index a7fd991..90fcf62 100644 --- a/StarsEx/Game.cpp +++ b/StarsEx/Game.cpp @@ -8,18 +8,14 @@ */ #include "Game.h" + +#include + +#include "Clock.h" +#include "ContentBundle.h" #include "Mouse.h" -#include "Universe.h" -#include "Window.h" -#include "UIEventDispatch.h" #include "Panic.h" -#include "Pcx.h" -#include "Bitmap.h" -#include "VideoSettings.h" -#include "ContentBundle.h" -#include "Clock.h" -#include "WndProc.h" -#include "SoundCard.h" +#include "UIEventDispatch.h" Game* Game::instance {nullptr}; @@ -50,7 +46,7 @@ Game::~Game() // +--------------------------------------------------------------------+ bool -Game::Init(HINSTANCE hi, HINSTANCE hpi, LPSTR cmdline, int nCmdShow) +Game::Init() { status = OK; @@ -172,7 +168,8 @@ Game::GetInstance() // +--------------------------------------------------------------------+ -DWORD Game::Frame() +std::uint32_t +Game::Frame() { return frame_number; } -- cgit v1.1