From c1967c1a0a4ca016b6dceff2a911faba7ace0694 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Wed, 2 Feb 2011 19:52:47 +0000 Subject: GOB: Add o7_gob0x201 svn-id: r55737 --- engines/gob/inter.h | 1 + engines/gob/inter_v7.cpp | 7 +++++++ 2 files changed, 8 insertions(+) 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 -- cgit v1.2.3