diff options
author | Nipun Garg | 2019-06-08 00:16:03 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:45 +0200 |
commit | 76abfae403eadc8f9ace8a5e0d34d39dc07b3d5a (patch) | |
tree | 9896ea110f6f1df46d073563504feba2c7810bb0 /engines | |
parent | 9257a3d498fc496b45c33365a18fd928d759de0d (diff) | |
download | scummvm-rg350-76abfae403eadc8f9ace8a5e0d34d39dc07b3d5a.tar.gz scummvm-rg350-76abfae403eadc8f9ace8a5e0d34d39dc07b3d5a.tar.bz2 scummvm-rg350-76abfae403eadc8f9ace8a5e0d34d39dc07b3d5a.zip |
HDB: Add sky tiles and non-graphics to DrawMan
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/draw-manager.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/draw-manager.h | 6 |
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; }; |