aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v100he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-05-10 05:34:50 +0000
committerTravis Howell2005-05-10 05:34:50 +0000
commit19b093145042207bb36dcd6055d8a2f47da1b9db (patch)
tree5dfe1e5bbdb23bdd0d2875be2d49dcdb654243a5 /scumm/script_v100he.cpp
parent239e7ae062e9d54aae9524e56cb9aa09d96c7b3e (diff)
downloadscummvm-rg350-19b093145042207bb36dcd6055d8a2f47da1b9db.tar.gz
scummvm-rg350-19b093145042207bb36dcd6055d8a2f47da1b9db.tar.bz2
scummvm-rg350-19b093145042207bb36dcd6055d8a2f47da1b9db.zip
Rename opcode
svn-id: r18024
Diffstat (limited to 'scumm/script_v100he.cpp')
-rw-r--r--scumm/script_v100he.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index 7642b4307a..2c6fd8ff9b 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -89,7 +89,7 @@ void ScummEngine_v100he::setupOpcodes() {
/* 24 */
OPCODE(o72_drawWizImage),
OPCODE(o80_drawWizPolygon),
- OPCODE(o100_unknownE0),
+ OPCODE(o100_drawLine),
OPCODE(o100_drawObject),
/* 28 */
OPCODE(o6_dup),
@@ -801,7 +801,7 @@ void ScummEngine_v100he::o100_dimArray() {
defineArray(fetchScriptWord(), data, 0, 0, 0, pop());
}
-void ScummEngine_v100he::o100_unknownE0() {
+void ScummEngine_v100he::o100_drawLine() {
int id, unk1, unk2, x, x1, y1;
unk2 = pop();
@@ -815,16 +815,16 @@ void ScummEngine_v100he::o100_unknownE0() {
switch (subOp) {
case 1:
- unknownE0(x1, y1, x, unk1, unk2, 2, id);
+ drawLine(x1, y1, x, unk1, unk2, 2, id);
break;
case 20:
- unknownE0(x1, y1, x, unk1, unk2, 1, id);
+ drawLine(x1, y1, x, unk1, unk2, 1, id);
break;
case 40:
- unknownE0(x1, y1, x, unk1, unk2, 3, id);
+ drawLine(x1, y1, x, unk1, unk2, 3, id);
break;
default:
- error("o100_unknownE0: default case %d", subOp);
+ error("o100_drawLine: default case %d", subOp);
}
}