Move to HE6

svn-id: r13140
This commit is contained in:
Travis Howell 2004-03-02 10:22:55 +00:00
parent 1bdcc3e5ef
commit 6d0e10433c
3 changed files with 28 additions and 28 deletions

View File

@ -595,6 +595,7 @@ protected:
void o6_readINI();
void o6_unknownF4();
void o6_unknownF9();
void o6_unknownFB();
void o6_readFilePos();
};
@ -621,7 +622,6 @@ protected:
/* Version 7 script opcodes */
void o7_objectX();
void o7_objectY();
void o7_unknownFB();
};
class ScummEngine_v7 : public ScummEngine_v6 {

View File

@ -360,7 +360,7 @@ void ScummEngine_v6he::setupOpcodes() {
OPCODE(o6_invalid),
OPCODE(o6_unknownF9),
OPCODE(o6_unknownFA),
OPCODE(o6_invalid),
OPCODE(o6_unknownFB),
/* FC */
OPCODE(o6_invalid),
OPCODE(o6_invalid),
@ -1393,6 +1393,31 @@ void ScummEngine_v6he::o6_unknownF9() {
warning("stub o6_unknownF9(\"%s\")", filename + r);
}
void ScummEngine_v6he::o6_unknownFB() {
byte b;
b = fetchScriptByte();
switch (b) {
case 246:
case 248:
pop();
pop();
pop();
pop();
pop();
pop();
pop();
pop();
pop();
break;
case 247:
pop();
pop();
break;
}
warning("o6_unknownFB stub");
}
void ScummEngine_v6he::decodeParseString(int m, int n) {
byte b;
int c;

View File

@ -360,7 +360,7 @@ void ScummEngine_v7he::setupOpcodes() {
OPCODE(o6_invalid),
OPCODE(o6_unknownF9),
OPCODE(o6_unknownFA),
OPCODE(o7_unknownFB),
OPCODE(o6_unknownFB),
/* FC */
OPCODE(o6_invalid),
OPCODE(o6_invalid),
@ -406,29 +406,4 @@ void ScummEngine_v7he::o7_objectY() {
push(_objs[objnum].y_pos);
}
void ScummEngine_v7he::o7_unknownFB() {
byte b;
b = fetchScriptByte();
switch (b) {
case 246:
case 248:
pop();
pop();
pop();
pop();
pop();
pop();
pop();
pop();
pop();
break;
case 247:
pop();
pop();
break;
}
warning("o7_unknownFB stub");
}
} // End of namespace Scumm