diff options
author | Martin Kiewitz | 2016-02-13 20:42:30 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-13 20:42:30 +0100 |
commit | 9f59b5ed7c3130bd7b0060e770a9ec915a91a891 (patch) | |
tree | a25c0a9be25596fa1c236fb2a49879253a27e0e2 /engines/agi/opcodes.cpp | |
parent | 94e5804b84e3e165055fd210f002279d0deb1bb0 (diff) | |
download | scummvm-rg350-9f59b5ed7c3130bd7b0060e770a9ec915a91a891.tar.gz scummvm-rg350-9f59b5ed7c3130bd7b0060e770a9ec915a91a891.tar.bz2 scummvm-rg350-9f59b5ed7c3130bd7b0060e770a9ec915a91a891.zip |
AGI: Fix priority band handling
- Fix saving/loading priority bands table. Now saving the actual raw
data
- Now also saving the flag, that defines if the priority table got
modified by scripts
- For older saved games it will try to figure out the state of that
flag
- Blocking set.pri.base for AGI below 2.936
- set.pri.base was actually introduced in 2.936 and not AGI3
- The set.pri.base bug was present in 2.936 as well
- Saved games created between the graphics rewrite and this
commit may have priority issues for games, that used AGI2.936+
Diffstat (limited to 'engines/agi/opcodes.cpp')
-rw-r--r-- | engines/agi/opcodes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/opcodes.cpp b/engines/agi/opcodes.cpp index 359d79ee4a..78beb475ee 100644 --- a/engines/agi/opcodes.cpp +++ b/engines/agi/opcodes.cpp @@ -347,9 +347,9 @@ AgiInstruction insV2[] = { { "push.script", "", &cmdPushScript }, // BB { "pop.script", "", &cmdPopScript }, // BC { "hold.key", "", &cmdHoldKey }, // BD - { "set.pri.base", "n", &cmdSetPriBase }, // BE + { "set.pri.base", "n", &cmdSetPriBase }, // BE // AGI2.936+ { "discard.sound", "n", &cmdDiscardSound }, // BF - { "hide.mouse", "", &cmdHideMouse }, // 1 arg for AGI version 3.002.086 + { "hide.mouse", "", &cmdHideMouse }, // 1 arg for AGI version 3.002.086 AGI3+ only starts here { "allow.menu", "n", &cmdAllowMenu }, // C1 { "show.mouse", "", &cmdShowMouse }, // C2 { "fence.mouse", "nnnn", &cmdFenceMouse }, // C3 |