diff options
author | Travis Howell | 2006-10-05 10:10:26 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-05 10:10:26 +0000 |
commit | 5af4438cd25c7678544d09f6c574d00af4a84625 (patch) | |
tree | 7863b9d4788fa6c20a80554db879b84c4bfb76cd | |
parent | 4dd72f0b3b6f92722e403eeb11f8227f6374f42c (diff) | |
download | scummvm-rg350-5af4438cd25c7678544d09f6c574d00af4a84625.tar.gz scummvm-rg350-5af4438cd25c7678544d09f6c574d00af4a84625.tar.bz2 scummvm-rg350-5af4438cd25c7678544d09f6c574d00af4a84625.zip |
Fix opening credits of Elvira 2
svn-id: r24123
-rw-r--r-- | engines/agos/agos.h | 3 | ||||
-rw-r--r-- | engines/agos/items.cpp | 28 |
2 files changed, 31 insertions, 0 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h index ee60301c9e..4a54843422 100644 --- a/engines/agos/agos.h +++ b/engines/agos/agos.h @@ -1015,6 +1015,9 @@ public: void oe1_zoneDisk(); void oe1_printStats(); + // Opcodes, Elvira 2 only + void oe2_opcode161(); + // Opcodes, Waxworks only void oww_moveDirn(); void oww_goto(); diff --git a/engines/agos/items.cpp b/engines/agos/items.cpp index 48662f14de..2592b850d4 100644 --- a/engines/agos/items.cpp +++ b/engines/agos/items.cpp @@ -319,10 +319,31 @@ void AGOSEngine::setupElvira2Opcodes(OpcodeProc *op) { op[99] = &AGOSEngine::o1_stopAnimate; op[127] = &AGOSEngine::o1_playTune; op[148] = &AGOSEngine::oww_ifDoorOpen; + op[161] = &AGOSEngine::oe2_opcode161; + op[175] = &AGOSEngine::o_getDollar2; + op[179] = &AGOSEngine::o_isAdjNoun; op[180] = &AGOSEngine::o_b2Set; op[181] = &AGOSEngine::o_b2Clear; op[182] = &AGOSEngine::o_b2Zero; op[183] = &AGOSEngine::o_b2NotZero; + + // Code difference, check if triggered + op[162] = NULL; + op[163] = NULL; + op[164] = NULL; + op[165] = NULL; + op[166] = NULL; + op[167] = NULL; + op[168] = NULL; + op[169] = NULL; + op[170] = NULL; + op[171] = NULL; + op[172] = NULL; + op[173] = NULL; + op[174] = NULL; + op[176] = NULL; + op[177] = NULL; + op[178] = NULL; } void AGOSEngine::setupWaxworksOpcodes(OpcodeProc *op) { @@ -1758,6 +1779,13 @@ void AGOSEngine::oe1_printStats() { // 270: print stats } +// ----------------------------------------------------------------------- +// Elvira 2 Opcodes +// ----------------------------------------------------------------------- + +void AGOSEngine::oe2_opcode161() { + // 161: +} // ----------------------------------------------------------------------- // Waxworks Opcodes |