aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/draw-manager.cpp18
-rw-r--r--engines/hdb/draw-manager.h3
2 files changed, 16 insertions, 5 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp
index fabadac2c7..57585ca7d0 100644
--- a/engines/hdb/draw-manager.cpp
+++ b/engines/hdb/draw-manager.cpp
@@ -28,6 +28,7 @@ DrawMan::DrawMan() {
_tLookupArray = NULL;
_gfxCache = new Common::Array<GfxCache *>;
_globalSurface.create(kScreenWidth, kScreenHeight, g_hdb->_format);
+ _pointerDisplayable = 1;
_systemInit = false;
}
@@ -110,11 +111,18 @@ bool DrawMan::init() {
TODO: Setup Gamma Table
*/
- /*
- TODO: Load Mouse Pointer and Display Cursor
- */
-
- //Load all 4 levels of star colors
+ // Load Mouse Pointer and Display Cursor
+ _mousePointer[0] = loadPic(PIC_MOUSE_CURSOR1);
+ _mousePointer[1] = loadPic(PIC_MOUSE_CURSOR2);
+ _mousePointer[2] = loadPic(PIC_MOUSE_CURSOR3);
+ _mousePointer[3] = loadPic(PIC_MOUSE_CURSOR4);
+ _mousePointer[4] = loadPic(PIC_MOUSE_CURSOR5);
+ _mousePointer[5] = loadPic(PIC_MOUSE_CURSOR6);
+ _mousePointer[6] = loadPic(PIC_MOUSE_CURSOR7);
+ _mousePointer[7] = loadPic(PIC_MOUSE_CURSOR8);
+ _showCursor = true;
+
+ // Load all 4 levels of star colors
_starField[0] = getPicture("pic_star64");
_starField[1] = getPicture("pic_star128");
_starField[2] = getPicture("pic_star192");
diff --git a/engines/hdb/draw-manager.h b/engines/hdb/draw-manager.h
index 7f16f07928..9f05b31c26 100644
--- a/engines/hdb/draw-manager.h
+++ b/engines/hdb/draw-manager.h
@@ -172,6 +172,9 @@ private:
// Cursor
int _cursorX, _cursorY;
+ Picture *_mousePointer[8]; // Gfx for screen pointer (4 Animations)
+ int _pointerDisplayable;
+ bool _showCursor;
// Font Data