[Scummvm-cvs-logs] SF.net SVN: scummvm:[55737] scummvm/trunk/engines/gob

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Wed Feb 2 20:52:48 CET 2011


Revision: 55737
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55737&view=rev
Author:   drmccoy
Date:     2011-02-02 19:52:47 +0000 (Wed, 02 Feb 2011)

Log Message:
-----------
GOB: Add o7_gob0x201

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter.h
    scummvm/trunk/engines/gob/inter_v7.cpp

Modified: scummvm/trunk/engines/gob/inter.h
===================================================================
--- scummvm/trunk/engines/gob/inter.h	2011-02-02 19:32:04 UTC (rev 55736)
+++ scummvm/trunk/engines/gob/inter.h	2011-02-02 19:52:47 UTC (rev 55737)
@@ -623,6 +623,7 @@
 	void o7_getDBString();
 
 	void o7_oemToANSI(OpGobParams &params);
+	void o7_gob0x201(OpGobParams &params);
 
 private:
 	INIConfig _inis;

Modified: scummvm/trunk/engines/gob/inter_v7.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v7.cpp	2011-02-02 19:32:04 UTC (rev 55736)
+++ scummvm/trunk/engines/gob/inter_v7.cpp	2011-02-02 19:52:47 UTC (rev 55737)
@@ -81,6 +81,7 @@
 	Inter_Playtoons::setupOpcodesGob();
 
 	OPCODEGOB(420, o7_oemToANSI);
+	OPCODEGOB(513, o7_oemToANSI);
 }
 
 void Inter_v7::o7_draw0x0C() {
@@ -591,4 +592,10 @@
 	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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list