aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2011-02-02 19:52:47 +0000
committerSven Hesse2011-02-02 19:52:47 +0000
commitc1967c1a0a4ca016b6dceff2a911faba7ace0694 (patch)
tree427515fb61880efc19198766f7cd51a4b71a1e16 /engines/gob
parent832cfddf341345554967079374c553ee1822bb5b (diff)
downloadscummvm-rg350-c1967c1a0a4ca016b6dceff2a911faba7ace0694.tar.gz
scummvm-rg350-c1967c1a0a4ca016b6dceff2a911faba7ace0694.tar.bz2
scummvm-rg350-c1967c1a0a4ca016b6dceff2a911faba7ace0694.zip
GOB: Add o7_gob0x201
svn-id: r55737
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/inter.h1
-rw-r--r--engines/gob/inter_v7.cpp7
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h
index bd060b951a..3810df9024 100644
--- a/engines/gob/inter.h
+++ b/engines/gob/inter.h
@@ -623,6 +623,7 @@ protected:
void o7_getDBString();
void o7_oemToANSI(OpGobParams &params);
+ void o7_gob0x201(OpGobParams &params);
private:
INIConfig _inis;
diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp
index f1a12b9b31..a25c2079a4 100644
--- a/engines/gob/inter_v7.cpp
+++ b/engines/gob/inter_v7.cpp
@@ -81,6 +81,7 @@ void Inter_v7::setupOpcodesGob() {
Inter_Playtoons::setupOpcodesGob();
OPCODEGOB(420, o7_oemToANSI);
+ OPCODEGOB(513, o7_oemToANSI);
}
void Inter_v7::o7_draw0x0C() {
@@ -591,4 +592,10 @@ void Inter_v7::storeString(const char *value) {
storeString(varIndex, type, value);
}
+void Inter_v7::o7_gob0x201(OpGobParams &params) {
+ uint16 varIndex = _vm->_game->_script->readUint16();
+
+ WRITE_VAR(varIndex, 1);
+}
+
} // End of namespace Gob