aboutsummaryrefslogtreecommitdiff
path: root/verbs.cpp
diff options
context:
space:
mode:
authorJames Brown2002-05-07 18:44:34 +0000
committerJames Brown2002-05-07 18:44:34 +0000
commit705f3040047eec9a2e8617b975704cea3e1e19aa (patch)
tree6e6c592d7afa938182faed0ba7926838e27d718d /verbs.cpp
parente2df4d2b3bfc9fc9f6b3e6de2d5c02ff3178022b (diff)
downloadscummvm-rg350-705f3040047eec9a2e8617b975704cea3e1e19aa.tar.gz
scummvm-rg350-705f3040047eec9a2e8617b975704cea3e1e19aa.tar.bz2
scummvm-rg350-705f3040047eec9a2e8617b975704cea3e1e19aa.zip
Beginning of support for multiple resolutions.
Makes Zak256 inventory scrolling work. svn-id: r4227
Diffstat (limited to 'verbs.cpp')
-rw-r--r--verbs.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/verbs.cpp b/verbs.cpp
index 04e14af15a..b4f86960ad 100644
--- a/verbs.cpp
+++ b/verbs.cpp
@@ -63,6 +63,12 @@ void Scumm::checkExecVerbs()
runInputScript(2, 0, code);
} else {
over = checkMouseOver(mouse.x, mouse.y);
+
+ // FIXME For the future: Indy3 and under inv scrolling
+ /*
+ if (over >= 31 && over <= 36)
+ over += _inventoryOffset;
+ */
runInputScript(1, over != 0 ? _verbs[over].verbid : 0, code);
}
}
@@ -138,6 +144,12 @@ void Scumm::drawVerb(int vrb, int mode)
if (vs->curmode == 2)
string[4].color = vs->dimcolor;
+ // FIXME For the future: Indy3 and under inv scrolling
+ /*
+ if (vrb >= 31 && vrb <= 36)
+ vrb += _inventoryOffset;
+ */
+
_messagePtr = getResourceAddress(rtVerb, vrb);
assert(_messagePtr);