From 9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 23 Mar 2022 21:59:48 +0100 Subject: Moved application state internals to GameWinDX9 --- Stars45/Game.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Stars45/Game.h') diff --git a/Stars45/Game.h b/Stars45/Game.h index 6b69788..d0d5841 100644 --- a/Stars45/Game.h +++ b/Stars45/Game.h @@ -15,7 +15,6 @@ #include "Screen.h" #include "Video.h" #include "VideoSettings.h" -#include "WndProc.h" // +--------------------------------------------------------------------+ @@ -69,7 +68,6 @@ public: bool Paused() { return paused; } bool Server() { return server; } bool ShowMouse() { return show_mouse; } - bool IsWindowed(); HINSTANCE GetHINST(); HWND GetHWND(); @@ -85,8 +83,6 @@ public: virtual void ShowStats(); protected: - friend LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM uParam, LPARAM lParam); - Universe* world; VideoFactory* video_factory; Video* video; @@ -107,14 +103,6 @@ protected: char* palette_name; // Internal variables for the state of the app - bool is_windowed; - bool is_active; - bool is_device_lost; - bool is_minimized; - bool is_maximized; - bool ignore_size_change; - bool is_device_initialized; - bool is_device_restored; DWORD window_style; // Saved window style for mode switches RECT bounds_rect; // Saved window bounds for mode switches RECT client_rect; // Saved client area size for mode switches -- cgit v1.1