GOB: Some more Addy stubs

svn-id: r55509
This commit is contained in:
Sven Hesse 2011-01-25 01:28:31 +00:00
parent 176e49975c
commit 1a44ed588f
3 changed files with 19 additions and 0 deletions

View File

@ -593,6 +593,7 @@ protected:
virtual void setupOpcodesFunc();
virtual void setupOpcodesGob();
void o7_draw0x0C();
void o7_draw0x0D();
void o7_draw0x44();
void o7_draw0x45();
@ -606,6 +607,7 @@ protected:
void o7_draw0xA2();
void o7_draw0xA4();
void o7_draw0xC4();
void o7_draw0xC5();
void o7_draw0xC6();
};

View File

@ -237,6 +237,10 @@ bool Inter_Playtoons::oPlaytoons_checkData(OpFuncParams &params) {
debugC(2, kDebugFileIO, "oPlaytoons_checkData: \"%s\" instead of \"%s\"", file + 3, file);
file += 3;
}
if (strncmp(file, "<ME>", 4) == 0) {
debugC(2, kDebugFileIO, "oPlaytoons_checkData: \"%s\" instead of \"%s\"", file + 4, file);
file += 4;
}
if (strncmp(file, "<STK>", 5) == 0) {
debugC(2, kDebugFileIO, "oPlaytoons_checkData: \"%s\" instead of \"%s\"", file + 5, file);
file += 5;

View File

@ -43,6 +43,7 @@ Inter_v7::Inter_v7(GobEngine *vm) : Inter_Playtoons(vm) {
void Inter_v7::setupOpcodesDraw() {
Inter_Playtoons::setupOpcodesDraw();
OPCODEDRAW(0x0C, o7_draw0x0C);
OPCODEDRAW(0x0D, o7_draw0x0D);
OPCODEDRAW(0x44, o7_draw0x44);
OPCODEDRAW(0x45, o7_draw0x45);
@ -56,6 +57,7 @@ void Inter_v7::setupOpcodesDraw() {
OPCODEDRAW(0xA2, o7_draw0xA2);
OPCODEDRAW(0xA4, o7_draw0xA4);
OPCODEDRAW(0xC4, o7_draw0xC4);
OPCODEDRAW(0xC5, o7_draw0xC5);
OPCODEDRAW(0xC6, o7_draw0xC6);
}
@ -67,6 +69,10 @@ void Inter_v7::setupOpcodesGob() {
Inter_Playtoons::setupOpcodesGob();
}
void Inter_v7::o7_draw0x0C() {
WRITE_VAR(17, 0);
}
void Inter_v7::o7_draw0x0D() {
_vm->_game->_script->evalExpr(0);
Common::String str0 = _vm->_game->_script->getResultStr();
@ -210,6 +216,13 @@ void Inter_v7::o7_draw0xC4() {
warning("Addy Stub Draw 0xC4: \"%s\", \"%s\"", str0.c_str(), str1.c_str());
}
void Inter_v7::o7_draw0xC5() {
_vm->_game->_script->evalExpr(0);
Common::String str0 = _vm->_game->_script->getResultStr();
warning("Addy Stub Draw 0xC5: \"%s\"", str0.c_str());
}
void Inter_v7::o7_draw0xC6() {
_vm->_game->_script->evalExpr(0);
Common::String str0 = _vm->_game->_script->getResultStr();