From 8b778dda61c45f5d7a4dc416478c42ff4aa1de7f Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 23 Feb 2022 23:13:27 +0100 Subject: Moved content management out to ContentBundle --- Stars45/Game.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Stars45/Game.h') diff --git a/Stars45/Game.h b/Stars45/Game.h index 6245b40..b86e0fc 100644 --- a/Stars45/Game.h +++ b/Stars45/Game.h @@ -26,8 +26,6 @@ void ProcessKeyMessage(); // +--------------------------------------------------------------------+ -class ContentBundle; -class Locale; class Universe; class Sound; class SoundCard; @@ -69,7 +67,7 @@ public: static Game* GetInstance(); static void Panic(const char* msg=0); - static const char* GetPanicMessage() { return panicbuf; } + static const char* GetPanicMessage() { return panicbuf; } bool DisplayModeSupported(int w, int h, int bpp); int MaxTexSize(); @@ -109,9 +107,6 @@ public: HINSTANCE GetHINST(); HWND GetHWND(); - void UseLocale(Locale* locale); - Text GetText(const char* key); - virtual bool GameLoop(); virtual void UpdateWorld(); virtual void GameState(); @@ -120,7 +115,6 @@ public: virtual bool InitApplication(HINSTANCE); virtual bool InitInstance(HINSTANCE, int); - virtual bool InitContent(); virtual bool InitGame(); virtual bool InitVideo(); virtual bool ResizeVideo(); @@ -135,7 +129,6 @@ public: protected: friend LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM uParam, LPARAM lParam); - ContentBundle* content; Universe* world; VideoFactory* video_factory; Video* video; -- cgit v1.1