aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/gfx.cpp11
-rw-r--r--engines/hdb/window.cpp16
2 files changed, 27 insertions, 0 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp
index 40a64a21eb..ef3b1fe2c5 100644
--- a/engines/hdb/gfx.cpp
+++ b/engines/hdb/gfx.cpp
@@ -85,6 +85,17 @@ Gfx::Gfx() {
_eRight = 0;
_eTop = 0;
_eBottom = 0;
+ _currentSky = 0;
+ for (int i = 0; i < kNum3DStars; ++i) {
+ _stars3D[i].x = 0;
+ _stars3D[i].y = 0;
+ _stars3D[i].speed = 0;
+ _stars3D[i].color = 0;
+ _stars3DSlow[i].x = 0;
+ _stars3DSlow[i].y = 0;
+ _stars3DSlow[i].speed = 0;
+ _stars3DSlow[i].color = 0;
+ }
}
Gfx::~Gfx() {
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp
index c072e05eca..2b576b0aba 100644
--- a/engines/hdb/window.cpp
+++ b/engines/hdb/window.cpp
@@ -103,6 +103,22 @@ Window::Window() {
_gfxInfobar = nullptr;
_gfxDarken = nullptr;
_infobarDimmed = 0;
+ _invItemSpace = 0;
+ _dialogDelay = 0;
+ _numMsgQueue = 0;
+ _gfxTL = nullptr;
+ _gfxTM = nullptr;
+ _gfxTR = nullptr;
+ _gfxL = nullptr;
+ _gfxM = nullptr;
+ _gfxR = nullptr;
+ _gfxBL = nullptr;
+ _gfxBM = nullptr;
+ _gfxBR = nullptr;
+ _gfxTitleL = nullptr;
+ _gfxTitleM = nullptr;
+ _gfxTitleR = nullptr;
+ _gGfxTL = nullptr;
}
Window::~Window() {