diff options
author | Paul Gilbert | 2014-03-19 20:12:32 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-19 20:12:32 -0400 |
commit | 4ab73a89abd66890391a977ebf4a23eb361a44a4 (patch) | |
tree | eba336ab191cd05eab643f2e7f8743bc3aa3f255 | |
parent | db017b746dded2ea287c04c37fbb88ef82492781 (diff) | |
download | scummvm-rg350-4ab73a89abd66890391a977ebf4a23eb361a44a4.tar.gz scummvm-rg350-4ab73a89abd66890391a977ebf4a23eb361a44a4.tar.bz2 scummvm-rg350-4ab73a89abd66890391a977ebf4a23eb361a44a4.zip |
MADS: Preliminary code to show game cursor
-rw-r--r-- | engines/mads/events.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/mads/events.cpp b/engines/mads/events.cpp index 182d6cbea7..32d3a09c18 100644 --- a/engines/mads/events.cpp +++ b/engines/mads/events.cpp @@ -85,7 +85,12 @@ void EventsManager::resetCursor() { } void EventsManager::changeCursor() { - warning("TODO: changeCursor"); + if (_cursorSprites) { + MSprite *cursor = _cursorSprites->getFrame(_cursorId - 1); + CursorMan.replaceCursor(cursor->getData(), cursor->w, cursor->h, 0, 0, + cursor->getTransparencyIndex()); + showCursor(); + } } void EventsManager::freeCursors() { |