aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/draw-manager.cpp4
-rw-r--r--engines/hdb/draw-manager.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp
index 35c2b4ce4a..d8bfa3101c 100644
--- a/engines/hdb/draw-manager.cpp
+++ b/engines/hdb/draw-manager.cpp
@@ -61,6 +61,10 @@ bool DrawMan::init() {
// Init Sky Data
_currentSky = 0;
+ _tileSkyStars = getTileIndex("t32_sky_stars");
+ _tileSkyStarsLeft = getTileIndex("t32_sky_stars_left_slow");
+ _tileSkyClouds = getTileIndex("t32_sky_stars_stationary"); // Not completely sure about this filename.
+ _skyClouds = NULL;
/*
TODO: Setup Gamma Table
diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h
index 025b594c74..3c061cce18 100644
--- a/engines/hdb/draw-manager.h
+++ b/engines/hdb/draw-manager.h
@@ -34,6 +34,7 @@ enum {
};
class Tile;
+class Picture;
struct TileLookup {
const char *filename;
@@ -56,6 +57,11 @@ private:
TileLookup *_tLookupArray;
uint16 _skyTiles[kMaxSkies];
int _currentSky; // 0 if no Sky, 1+ for which Sky to use
+ int _tileSkyStars; // Index of sky_stars tile
+ int _tileSkyStarsLeft; // Left-scrolling stars, slow
+ int _tileSkyClouds; // Index of sky_stars tile
+ Picture *_skyClouds;
+
bool _systemInit;
};