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/GameWinDX9.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Stars45/GameWinDX9.cpp') 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"); -- cgit v1.1