diff options
author | Sven Hesse | 2011-02-02 19:52:47 +0000 |
---|---|---|
committer | Sven Hesse | 2011-02-02 19:52:47 +0000 |
commit | c1967c1a0a4ca016b6dceff2a911faba7ace0694 (patch) | |
tree | 427515fb61880efc19198766f7cd51a4b71a1e16 /engines/gob | |
parent | 832cfddf341345554967079374c553ee1822bb5b (diff) | |
download | scummvm-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.h | 1 | ||||
-rw-r--r-- | engines/gob/inter_v7.cpp | 7 |
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 ¶ms); + void o7_gob0x201(OpGobParams ¶ms); 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 ¶ms) { + uint16 varIndex = _vm->_game->_script->readUint16(); + + WRITE_VAR(varIndex, 1); +} + } // End of namespace Gob |