aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-11-10 08:00:55 +0000
committerPaweł Kołodziejski2003-11-10 08:00:55 +0000
commit514a9b5120435fc55eb0fde4952d63c60dd7980e (patch)
tree834d8a23ae5df46fbe704679afb19c1a2178d0b0 /scumm/script_v8.cpp
parent3d012651fd43d83ed67617ac0c5c0e32e6dd2ad4 (diff)
downloadscummvm-rg350-514a9b5120435fc55eb0fde4952d63c60dd7980e.tar.gz
scummvm-rg350-514a9b5120435fc55eb0fde4952d63c60dd7980e.tar.bz2
scummvm-rg350-514a9b5120435fc55eb0fde4952d63c60dd7980e.zip
renamed back to o6_ifclassofif and extended names for dim opcodes
svn-id: r11242
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index ba8d3d1331..562b18c86f 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -180,12 +180,12 @@ void ScummEngine_v8::setupOpcodes() {
OPCODE(o6_wordVarInc),
OPCODE(o6_wordVarDec),
/* 70 */
- OPCODE(o8_dim),
+ OPCODE(o8_dimArray),
OPCODE(o6_wordArrayWrite),
OPCODE(o6_wordArrayInc),
OPCODE(o6_wordArrayDec),
/* 74 */
- OPCODE(o8_dim2dim),
+ OPCODE(o8_dim2dimArray),
OPCODE(o6_wordArrayIndexedWrite),
OPCODE(o8_arrayOps),
OPCODE(o6_invalid),
@@ -300,7 +300,7 @@ void ScummEngine_v8::setupOpcodes() {
OPCODE(o6_getRandomNumber),
OPCODE(o6_getRandomNumberRange),
/* D0 */
- OPCODE(o6_getClass),
+ OPCODE(o6_ifClassOfIs),
OPCODE(o6_getState),
OPCODE(o6_getOwner),
OPCODE(o6_isScriptRunning),
@@ -591,7 +591,7 @@ void ScummEngine_v8::o8_wait() {
o6_breakHere();
}
-void ScummEngine_v8::o8_dim() {
+void ScummEngine_v8::o8_dimArray() {
byte subOp = fetchScriptByte();
int array = fetchScriptWord();
@@ -606,11 +606,11 @@ void ScummEngine_v8::o8_dim() {
nukeArray(array);
break;
default:
- error("o8_dim: default case 0x%x", subOp);
+ error("o8_dimArray: default case 0x%x", subOp);
}
}
-void ScummEngine_v8::o8_dim2dim() {
+void ScummEngine_v8::o8_dim2dimArray() {
byte subOp = fetchScriptByte();
int array = fetchScriptWord(), a, b;
@@ -629,7 +629,7 @@ void ScummEngine_v8::o8_dim2dim() {
nukeArray(array);
break;
default:
- error("o8_dim2dim: default case 0x%x", subOp);
+ error("o8_dim2dimArray: default case 0x%x", subOp);
}
}