Rename script opcode in Elvira 2.

svn-id: r26986
This commit is contained in:
Travis Howell 2007-05-28 01:11:43 +00:00
parent 572a4b3191
commit 45e8fbe8f5
3 changed files with 5 additions and 5 deletions

View File

@ -1333,7 +1333,7 @@ public:
void oe2_ifExitOpen(); void oe2_ifExitOpen();
void oe2_ifExitClosed(); void oe2_ifExitClosed();
void oe2_ifExitLocked(); void oe2_ifExitLocked();
void oe2_unk174(); void oe2_playEffect();
void oe2_getDollar2(); void oe2_getDollar2();
void oe2_setSRExit(); void oe2_setSRExit();
void oe2_unk177(); void oe2_unk177();

View File

@ -603,7 +603,7 @@ static const char *const elvira2_opcodeNameTable[256] = {
/* 172 */ /* 172 */
"IWBJ|IF_EXIT_CLOSED", "IWBJ|IF_EXIT_CLOSED",
"IWBJ|IF_EXIT_LOCKED", "IWBJ|IF_EXIT_LOCKED",
"W|UNK_174", "W|PLAY_EFFECT",
"|getDollar2", "|getDollar2",
/* 176 */ /* 176 */
"IWBB|SET_SUPER_ROOM_EXIT", "IWBB|SET_SUPER_ROOM_EXIT",

View File

@ -249,7 +249,7 @@ void AGOSEngine_Elvira2::setupOpcodes() {
/* 172 */ /* 172 */
OPCODE(oe2_ifExitClosed), OPCODE(oe2_ifExitClosed),
OPCODE(oe2_ifExitLocked), OPCODE(oe2_ifExitLocked),
OPCODE(oe2_unk174), OPCODE(oe2_playEffect),
OPCODE(oe2_getDollar2), OPCODE(oe2_getDollar2),
/* 176 */ /* 176 */
OPCODE(oe2_setSRExit), OPCODE(oe2_setSRExit),
@ -597,10 +597,10 @@ void AGOSEngine_Elvira2::oe2_ifExitLocked() {
setScriptCondition(getExitState(i, n, d) == 3); setScriptCondition(getExitState(i, n, d) == 3);
} }
void AGOSEngine_Elvira2::oe2_unk174() { void AGOSEngine_Elvira2::oe2_playEffect() {
// 174: // 174:
uint a = getVarOrWord(); uint a = getVarOrWord();
debug(0, "oe2_unk174: stub (%d)", a); debug(0, "oe2_playEffect: stub (%d)", a);
} }
void AGOSEngine_Elvira2::oe2_getDollar2() { void AGOSEngine_Elvira2::oe2_getDollar2() {