diff options
author | Travis Howell | 2005-10-02 01:26:53 +0000 |
---|---|---|
committer | Travis Howell | 2005-10-02 01:26:53 +0000 |
commit | d69f43444717793a3f6d8175512949e09da2545c (patch) | |
tree | 5ffeafe1b595eabdc2c922ec033c27642ec203d5 /scumm/script_v5.cpp | |
parent | cc08602770717f29b0733533aeea42a2c185df4f (diff) | |
download | scummvm-rg350-d69f43444717793a3f6d8175512949e09da2545c.tar.gz scummvm-rg350-d69f43444717793a3f6d8175512949e09da2545c.tar.bz2 scummvm-rg350-d69f43444717793a3f6d8175512949e09da2545c.zip |
Inventory works in Macintosh version of indy3 now.
svn-id: r18921
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 54 |
1 files changed, 30 insertions, 24 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index cf9a43c2ce..5feb919262 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -2396,30 +2396,36 @@ void ScummEngine_v5::o5_verbOps() { vs->curRect.top = getVarOrDirectWord(PARAM_2); // Macintosh verison of indy3ega used different interface, so adjust values. if ((_platform == Common::kPlatformMacintosh) && (_gameId == GID_INDY3)) { - if ((verb > 0) && (verb < 14) || (verb > 31) && (verb < 35)) { - switch (verb) { - case 1: - case 2: - case 9: - vs->curRect.left += 16; - break; - case 10: - case 11: - case 12: - vs->curRect.left += 36; - break; - case 4: - case 5: - case 8: - vs->curRect.left += 60; - break; - case 13: - case 32: - case 33: - case 34: - vs->curRect.left += 90; - break; - } + switch (verb) { + case 1: + case 2: + case 9: + vs->curRect.left += 16; + break; + case 10: + case 11: + case 12: + vs->curRect.left += 36; + break; + case 4: + case 5: + case 8: + vs->curRect.left += 60; + break; + case 13: + case 32: + case 33: + case 34: + vs->curRect.left += 90; + break; + case 107: + vs->curRect.left -= 54; + vs->curRect.top += 16; + break; + case 108: + vs->curRect.left -= 54; + vs->curRect.top += 8; + break; } } else if (_gameId == GID_LOOM256) { // FIXME: hack loom notes into right spot |