aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-10-23 05:32:54 +0000
committerTravis Howell2006-10-23 05:32:54 +0000
commit45965e35766bf2ede011e0f0775754363699937f (patch)
tree91798d0f516c06e218526e25e621ec2d86914241 /engines
parentf766e01112baa93e9aec701cfaacaad955416e3d (diff)
downloadscummvm-rg350-45965e35766bf2ede011e0f0775754363699937f.tar.gz
scummvm-rg350-45965e35766bf2ede011e0f0775754363699937f.tar.bz2
scummvm-rg350-45965e35766bf2ede011e0f0775754363699937f.zip
Add opcode used by lift in Elvira 2
svn-id: r24467
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/debug.h4
-rw-r--r--engines/agos/script_e2.cpp1
-rw-r--r--engines/agos/script_ww.cpp1
3 files changed, 4 insertions, 2 deletions
diff --git a/engines/agos/debug.h b/engines/agos/debug.h
index 6daeb74304..6855e98fd3 100644
--- a/engines/agos/debug.h
+++ b/engines/agos/debug.h
@@ -541,7 +541,7 @@ static const char *const elvira2_opcodeNameTable[256] = {
NULL,
"|SET_TIME",
/* 124 */
- NULL,
+ "WJ|IF_TIME",
"IJ|IS_SIBLING_WITH_A",
"IBB|DO_CLASS_ICONS",
"WW|PLAY_TUNE",
@@ -774,7 +774,7 @@ static const char *const waxworks_opcodeNameTable[256] = {
NULL,
"|SET_TIME",
/* 124 */
- NULL,
+ "WJ|IF_TIME",
"IJ|IS_SIBLING_WITH_A",
"IBB|DO_CLASS_ICONS",
"WW|PLAY_TUNE",
diff --git a/engines/agos/script_e2.cpp b/engines/agos/script_e2.cpp
index a5ae01dff2..4b628094ea 100644
--- a/engines/agos/script_e2.cpp
+++ b/engines/agos/script_e2.cpp
@@ -53,6 +53,7 @@ void AGOSEngine::setupElvira2Opcodes(OpcodeProc *op) {
op[99] = &AGOSEngine::o1_stopAnimate;
op[113] = &AGOSEngine::oe2_drawItem;
op[123] = &AGOSEngine::oe1_setTime;
+ op[124] = &AGOSEngine::oe1_ifTime;
op[127] = &AGOSEngine::o1_playTune;
op[144] = &AGOSEngine::oe2_setDoorOpen;
op[145] = &AGOSEngine::oe2_setDoorClosed;
diff --git a/engines/agos/script_ww.cpp b/engines/agos/script_ww.cpp
index fcd73de34a..7bb378147a 100644
--- a/engines/agos/script_ww.cpp
+++ b/engines/agos/script_ww.cpp
@@ -63,6 +63,7 @@ void AGOSEngine::setupWaxworksOpcodes(OpcodeProc *op) {
op[106] = &AGOSEngine::oww_textMenu;
op[113] = &AGOSEngine::oe2_drawItem;
op[123] = &AGOSEngine::oe1_setTime;
+ op[124] = &AGOSEngine::oe1_ifTime;
op[127] = &AGOSEngine::o1_playTune;
op[144] = &AGOSEngine::oe2_setDoorOpen;
op[145] = &AGOSEngine::oe2_setDoorClosed;