summaryrefslogtreecommitdiffhomepage
path: root/Stars45/GameWinDX9.cpp
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/GameWinDX9.cpp
parent2c4aaec387ffe0eb60f92a027539195993b6408f (diff)
downloadstarshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.zip
starshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.tar.gz
starshatter-9f9f2456d5ee0091bf171fae3ad321f82e5f2ca4.tar.bz2
Moved application state internals to GameWinDX9
Diffstat (limited to 'Stars45/GameWinDX9.cpp')
-rw-r--r--Stars45/GameWinDX9.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/Stars45/GameWinDX9.cpp b/Stars45/GameWinDX9.cpp
index cc86769..2189712 100644
--- a/Stars45/GameWinDX9.cpp
+++ b/Stars45/GameWinDX9.cpp
@@ -35,7 +35,15 @@ GameWinDX9::GetInstance()
GameWinDX9::GameWinDX9() :
max_tex_size {2048},
- screen_color {Color::Black}
+ screen_color {Color::Black},
+ is_windowed {false},
+ is_active {false},
+ is_device_lost {false},
+ is_minimized {false},
+ is_maximized {false},
+ ignore_size_change {false},
+ is_device_initialized {false},
+ is_device_restored {false}
{
if (instance != nullptr)
Panic::Panic("Multiple instances of GameWinDX9");