aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-16 16:51:43 +0100
committerMartin Kiewitz2016-02-16 16:51:43 +0100
commit591e0522b92b85246d8751364ead7d5f962c40ff (patch)
treec57ed360b1a1327ec1bde3f1773c0b951b857c5a /engines
parentbd7ef4143df7fb85b70ee98b4dc338618d1602a4 (diff)
downloadscummvm-rg350-591e0522b92b85246d8751364ead7d5f962c40ff.tar.gz
scummvm-rg350-591e0522b92b85246d8751364ead7d5f962c40ff.tar.bz2
scummvm-rg350-591e0522b92b85246d8751364ead7d5f962c40ff.zip
AGI: Set.pri.base comments added (Apple IIgs KQ3+SQ2)
For KQ3 the calls are currently blocked b/c interpreter version For SQ2 they aren't, which causes a few priority issues at the end
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/op_cmd.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp
index 29e00662f4..1a549f5253 100644
--- a/engines/agi/op_cmd.cpp
+++ b/engines/agi/op_cmd.cpp
@@ -2184,6 +2184,14 @@ void cmdPushScript(AgiGame *state, AgiEngine *vm, uint8 *parameter) {
void cmdSetPriBase(AgiGame *state, AgiEngine *vm, uint8 *parameter) {
if ((getVersion() != 0x2425) && (getVersion() < 0x2936)) {
// was only available in the 2.425 interpreter and from 2.936 (last AGI2 version) onwards
+ // Called during KQ3 (Apple IIgs):
+ // - picking up chicken (parameter = 50)
+ // - opening store/tavern door (parameter = 19)
+ // - when pirates say "Land Ho" (parameter = 16)
+ // - when killing the dragon (parameter = 4)
+ // Also called by SQ2 (Apple IIgs):
+ // - in Vohaul's lair (SQ2 currently gets this call through, which breaks some priority)
+ // TODO: Figure out what's going on
warning("set.pri.base called, although not available for current AGI version");
return;
}