diff options
author | Nipun Garg | 2019-06-08 17:42:16 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:45 +0200 |
commit | 2975f5222fa8cfcf8b09b8bb892da1b06c59bcda (patch) | |
tree | 59f6e6fa712acb2dae3a0968af6adf9fdf33e143 | |
parent | 078004ab71a9e79b0556db05f8bc93e131aa772c (diff) | |
download | scummvm-rg350-2975f5222fa8cfcf8b09b8bb892da1b06c59bcda.tar.gz scummvm-rg350-2975f5222fa8cfcf8b09b8bb892da1b06c59bcda.tar.bz2 scummvm-rg350-2975f5222fa8cfcf8b09b8bb892da1b06c59bcda.zip |
HDB: Add _starField to hold PIC_STARX graphics
-rw-r--r-- | engines/hdb/draw-manager.cpp | 8 | ||||
-rw-r--r-- | engines/hdb/draw-manager.h | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp index 6cd7909ec0..bb80c38c08 100644 --- a/engines/hdb/draw-manager.cpp +++ b/engines/hdb/draw-manager.cpp @@ -79,8 +79,14 @@ bool DrawMan::init() { TODO: Load Mouse Pointer and Display Cursor */ + //Load all 4 levels of star colors + _starField[0] = getPicture("pic_star64"); + _starField[1] = getPicture("pic_star128"); + _starField[2] = getPicture("pic_star192"); + _starField[3] = getPicture("pic_star256"); + /* - TODO: Load all 4 levels of star colors and the snowflake + TODO: Load the snowflake */ _systemInit = true; diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h index b27638dd94..f5b03f9551 100644 --- a/engines/hdb/draw-manager.h +++ b/engines/hdb/draw-manager.h @@ -87,6 +87,7 @@ private: int _tileSkyStars; // Index of sky_stars tile int _tileSkyStarsLeft; // Left-scrolling stars, slow int _tileSkyClouds; // Index of sky_stars tile + Picture *_starField[4]; Picture *_skyClouds; bool _systemInit; |