svn-id: r15399
This commit is contained in:
Travis Howell 2004-10-03 23:37:34 +00:00
parent e681049e56
commit 781191e83d
3 changed files with 31 additions and 2 deletions

View File

@ -809,6 +809,7 @@ protected:
void o80_cursorCommand();
void o80_setState();
void o80_drawWizPolygon();
void o80_unknownE0();
void o80_pickVarRandom();
};

View File

@ -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];

View File

@ -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),