summaryrefslogtreecommitdiffhomepage
path: root/Stars45/GameWinDX9.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/GameWinDX9.h')
-rw-r--r--Stars45/GameWinDX9.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Stars45/GameWinDX9.h b/Stars45/GameWinDX9.h
index bf5470d..9f31ce1 100644
--- a/Stars45/GameWinDX9.h
+++ b/Stars45/GameWinDX9.h
@@ -10,6 +10,7 @@
#include "Color.h"
#include "Game.h"
#include "Types.h"
+#include "WndProc.h"
class GameWinDX9 : public Game
@@ -45,12 +46,23 @@ public:
protected:
+ friend LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM uParam, LPARAM lParam);
+
PALETTEENTRY standard_palette[256];
BYTE inverse_palette[32768];
int max_tex_size;
Color screen_color;
+ 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;
+
private:
static GameWinDX9* instance;
};