aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/events.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-02-22 12:17:37 -0500
committerPaul Gilbert2014-02-22 12:17:37 -0500
commit02a1d0eaa3f462425d115f4d88c3d2badbc7a236 (patch)
tree4e258dd5087a95d079300feaa0bd5d6119f6a6b2 /engines/mads/events.cpp
parent82514b4a28904ead97552f6605cd3bde6924660b (diff)
downloadscummvm-rg350-02a1d0eaa3f462425d115f4d88c3d2badbc7a236.tar.gz
scummvm-rg350-02a1d0eaa3f462425d115f4d88c3d2badbc7a236.tar.bz2
scummvm-rg350-02a1d0eaa3f462425d115f4d88c3d2badbc7a236.zip
MADS: Further cursor/event initialisation
Diffstat (limited to 'engines/mads/events.cpp')
-rw-r--r--engines/mads/events.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/mads/events.cpp b/engines/mads/events.cpp
index ec0628710c..bb980af7ff 100644
--- a/engines/mads/events.cpp
+++ b/engines/mads/events.cpp
@@ -38,11 +38,16 @@ EventsManager::~EventsManager() {
}
void EventsManager::loadCursors(const Common::String &spritesName) {
- error("TODO: load SpriteSet");
+ _cursorSprites = new SpriteAsset(_vm, "*CURSOR.SS", 0x4000);
}
void EventsManager::setCursor(CursorType cursorId) {
_cursorId = cursorId;
+ changeCursor();
+}
+
+void EventsManager::setCursor2(CursorType cursorId) {
+ _cursorId = cursorId;
_newCursorId = cursorId;
changeCursor();
}