summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Game.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-23 21:59:48 +0100
committerAki <please@ignore.pl>2022-03-23 21:59:48 +0100
commit9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4 (patch)
treefb5a264f26e4c3b07dc1c8e6260e7730b44fd343 /Stars45/Game.h
parent2c4aaec387ffe0eb60f92a027539195993b6408f (diff)
downloadstarshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.zip
starshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.tar.gz
starshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.tar.bz2
Moved application state internals to GameWinDX9
Diffstat (limited to 'Stars45/Game.h')
-rw-r--r--Stars45/Game.h12
1 files changed, 0 insertions, 12 deletions
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