diff options
author | Aki <please@ignore.pl> | 2022-03-23 21:59:48 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-23 21:59:48 +0100 |
commit | 9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4 (patch) | |
tree | fb5a264f26e4c3b07dc1c8e6260e7730b44fd343 /Stars45/GameWinDX9.h | |
parent | 2c4aaec387ffe0eb60f92a027539195993b6408f (diff) | |
download | starshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.zip starshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.tar.gz starshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.tar.bz2 |
Moved application state internals to GameWinDX9
Diffstat (limited to 'Stars45/GameWinDX9.h')
-rw-r--r-- | Stars45/GameWinDX9.h | 12 |
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; }; |