aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2011-01-25 01:28:31 +0000
committerSven Hesse2011-01-25 01:28:31 +0000
commit1a44ed588f86a6be2929f0232edbccd2ce535c03 (patch)
tree5e62529a7cb3ac35f8bb9c4d44728f110ebd8c69 /engines/gob
parent176e49975c52d3686b8391c4f76f1e0af04ce657 (diff)
downloadscummvm-rg350-1a44ed588f86a6be2929f0232edbccd2ce535c03.tar.gz
scummvm-rg350-1a44ed588f86a6be2929f0232edbccd2ce535c03.tar.bz2
scummvm-rg350-1a44ed588f86a6be2929f0232edbccd2ce535c03.zip
GOB: Some more Addy stubs
svn-id: r55509
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/inter.h2
-rw-r--r--engines/gob/inter_playtoons.cpp4
-rw-r--r--engines/gob/inter_v7.cpp13
3 files changed, 19 insertions, 0 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h
index 910fe64e8e..1a87333acf 100644
--- a/engines/gob/inter.h
+++ b/engines/gob/inter.h
@@ -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();
};
diff --git a/engines/gob/inter_playtoons.cpp b/engines/gob/inter_playtoons.cpp
index a46b7d8693..3879b2933a 100644
--- a/engines/gob/inter_playtoons.cpp
+++ b/engines/gob/inter_playtoons.cpp
@@ -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;
diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp
index 3c4e42912a..9c17e8c43d 100644
--- a/engines/gob/inter_v7.cpp
+++ b/engines/gob/inter_v7.cpp
@@ -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();