aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2017-07-01 18:43:36 +0200
committerEugene Sandulenko2017-07-03 08:50:10 +0200
commitb0ee5772fba2cccf16ba727deda2d8eaf5e8e655 (patch)
tree7637d255c0abf4b867aa8b934b1db27eb13c1ec7 /engines/mohawk/riven.cpp
parent7801d6489b01207d461034bc75473d1b7ec73c73 (diff)
downloadscummvm-rg350-b0ee5772fba2cccf16ba727deda2d8eaf5e8e655.tar.gz
scummvm-rg350-b0ee5772fba2cccf16ba727deda2d8eaf5e8e655.tar.bz2
scummvm-rg350-b0ee5772fba2cccf16ba727deda2d8eaf5e8e655.zip
MOHAWK: Remove unused / not working functions
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r--engines/mohawk/riven.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index 8b2fa6c754..b6692d0fd4 100644
--- a/engines/mohawk/riven.cpp
+++ b/engines/mohawk/riven.cpp
@@ -248,7 +248,6 @@ void MohawkEngine_Riven::doFrame() {
}
break;
default:
- // TODO: Pass the keypress to the game only if it was not consumed by the engine
_stack->onKeyPressed(event.kbd.keycode);
break;
}
@@ -417,16 +416,12 @@ void MohawkEngine_Riven::refreshCard() {
_card->drawHotspotRects();
// Now we need to redraw the cursor if necessary and handle mouse over scripts
- updateCurrentHotspot();
+ _stack->onMouseMove(_eventMan->getMousePos());
// Finally, install any hardcoded timer
_stack->installCardTimer();
}
-void MohawkEngine_Riven::updateCurrentHotspot() {
- _card->onMouseMove(_eventMan->getMousePos());
-}
-
Common::SeekableReadStream *MohawkEngine_Riven::getExtrasResource(uint32 tag, uint16 id) {
return _extrasFile->getResource(tag, id);
}