aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-10-03 23:37:34 +0000
committerTravis Howell2004-10-03 23:37:34 +0000
commit781191e83d091167e269056cbd68d233e3f20779 (patch)
treec6b0ce8d07893597a7d9a7064ab55c9047baa901 /scumm
parente681049e560a2efcc59e26073479e06c1030e1bc (diff)
downloadscummvm-rg350-781191e83d091167e269056cbd68d233e3f20779.tar.gz
scummvm-rg350-781191e83d091167e269056cbd68d233e3f20779.tar.bz2
scummvm-rg350-781191e83d091167e269056cbd68d233e3f20779.zip
Add stub
svn-id: r15399
Diffstat (limited to 'scumm')
-rw-r--r--scumm/intern.h1
-rw-r--r--scumm/script_v80he.cpp30
-rw-r--r--scumm/script_v90he.cpp2
3 files changed, 31 insertions, 2 deletions
diff --git a/scumm/intern.h b/scumm/intern.h
index 8cfa0daf3d..f624548021 100644
--- a/scumm/intern.h
+++ b/scumm/intern.h
@@ -809,6 +809,7 @@ protected:
void o80_cursorCommand();
void o80_setState();
void o80_drawWizPolygon();
+ void o80_unknownE0();
void o80_pickVarRandom();
};
diff --git a/scumm/script_v80he.cpp b/scumm/script_v80he.cpp
index 6c83c124b5..afad98009d 100644
--- a/scumm/script_v80he.cpp
+++ b/scumm/script_v80he.cpp
@@ -324,7 +324,7 @@ void ScummEngine_v80he::setupOpcodes() {
OPCODE(o72_deleteFile),
OPCODE(o60_rename),
/* E0 */
- OPCODE(o6_invalid),
+ OPCODE(o80_unknownE0),
OPCODE(o72_getPixel),
OPCODE(o60_localizeArray),
OPCODE(o80_pickVarRandom),
@@ -622,6 +622,34 @@ void ScummEngine_v80he::o80_drawWizPolygon() {
displayWizImage(&wi);
}
+void ScummEngine_v80he::o80_unknownE0() {
+ // wizImage related
+ int a, b, c, d, e, f, type = 1;
+
+ a = pop();
+ b = pop();
+ c = pop();
+ d = pop();
+ e = pop();
+ f = pop();
+
+ byte subOp = fetchScriptByte();
+
+ switch (subOp) {
+ case 55:
+ type = 2;
+ break;
+ case 63:
+ type = 3;
+ break;
+ case 66:
+ type = 1;
+ break;
+ }
+
+ debug(1,"o80_unknownE0 stub: type %d (%d, %d, %d, %d, %d, %d)",subOp, a, b, c, d, e, f);
+}
+
void ScummEngine_v80he::o80_pickVarRandom() {
int num;
int args[100];
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index ca47c5513e..e02dc944c9 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -324,7 +324,7 @@ void ScummEngine_v90he::setupOpcodes() {
OPCODE(o72_deleteFile),
OPCODE(o60_rename),
/* E0 */
- OPCODE(o6_invalid),
+ OPCODE(o80_unknownE0),
OPCODE(o72_getPixel),
OPCODE(o60_localizeArray),
OPCODE(o80_pickVarRandom),