diff options
author | Jussi Pitkanen | 2011-06-16 18:58:14 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2011-08-13 23:27:10 +0100 |
commit | 9bc25749d6433b3c7c843406d04ad49b1bd1fd77 (patch) | |
tree | 7fbff0c4a33748d775da4dc55b27836b2b13cb96 /engines/agi/op_cmd.cpp | |
parent | d02251fa4df9dc9e575a8f7e6705f5ef8384a2fd (diff) | |
download | scummvm-rg350-9bc25749d6433b3c7c843406d04ad49b1bd1fd77.tar.gz scummvm-rg350-9bc25749d6433b3c7c843406d04ad49b1bd1fd77.tar.bz2 scummvm-rg350-9bc25749d6433b3c7c843406d04ad49b1bd1fd77.zip |
AGI: Implement V1 SAID test commands
Yes, V1 has three versions of SAID, for one, two and three arguments.
Also add a few corrections to V1 instruction tables.
Diffstat (limited to 'engines/agi/op_cmd.cpp')
-rw-r--r-- | engines/agi/op_cmd.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/agi/op_cmd.cpp b/engines/agi/op_cmd.cpp index a000453f25..f488bda922 100644 --- a/engines/agi/op_cmd.cpp +++ b/engines/agi/op_cmd.cpp @@ -1574,6 +1574,16 @@ void cmd_shake_screen(AgiGame *state, uint8 *p) { state->inputEnabled = originalValue; } +void cmd_set_speed(AgiGame *state, uint8 *p) { + // V1 command + (void)state; + (void)p; +} + +void cmd_unknown(AgiGame *state, uint8 *p) { + warning("Skipping unknown opcode %2X", *(p - 1)); +} + /** * Execute a logic script * @param n Number of the logic resource to execute @@ -1659,7 +1669,6 @@ int AgiEngine::runLogic(int n) { debugC(2, kDebugLevelScripts, "%s%s(%d %d %d)", st, logicNamesCmd[op].name, p[0], p[1], p[2]); -// (this->*_agiCommands[op])(&_game, p); _agiCommands[op](&_game, p); ip += num; } |