diff options
author | James Brown | 2002-05-07 18:44:34 +0000 |
---|---|---|
committer | James Brown | 2002-05-07 18:44:34 +0000 |
commit | 705f3040047eec9a2e8617b975704cea3e1e19aa (patch) | |
tree | 6e6c592d7afa938182faed0ba7926838e27d718d /verbs.cpp | |
parent | e2df4d2b3bfc9fc9f6b3e6de2d5c02ff3178022b (diff) | |
download | scummvm-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.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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); |