From 591e0522b92b85246d8751364ead7d5f962c40ff Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Tue, 16 Feb 2016 16:51:43 +0100 Subject: 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 --- engines/agi/op_cmd.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engines') 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; } -- cgit v1.2.3