aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/draw-manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/draw-manager.cpp')
-rw-r--r--engines/hdb/draw-manager.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp
index 4a74e3de40..534ca966e8 100644
--- a/engines/hdb/draw-manager.cpp
+++ b/engines/hdb/draw-manager.cpp
@@ -395,6 +395,16 @@ int DrawMan::animateTile(int tileIndex) {
return _tLookupArray[tileIndex].animIndex;
}
+void DrawMan::setCursor(int x, int y) {
+ _cursorX = x;
+ _cursorY = y;
+}
+
+void DrawMan::getCursor(int *x, int *y) {
+ *x = _cursorX;
+ *y = _cursorY;
+}
+
Picture::Picture() : _width(0), _height(0), _name("") {
_surface.create(_width, _height, g_hdb->_format);
}