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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Thu Jan 27 14:27:04 CET 2011


Revision: 55563
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55563&view=rev
Author:   drmccoy
Date:     2011-01-27 13:27:04 +0000 (Thu, 27 Jan 2011)

Log Message:
-----------
GOB: Add o7_draw0x59 stub

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-01-27 13:26:34 UTC (rev 55562)
+++ scummvm/trunk/engines/gob/inter.h	2011-01-27 13:27:04 UTC (rev 55563)
@@ -599,6 +599,7 @@
 	void o7_displayWarning();
 	void o7_draw0x45();
 	void o7_intToString();
+	void o7_draw0x59();
 	void o7_draw0x89();
 	void o7_findFile();
 	void o7_getSystemProperty();

Modified: scummvm/trunk/engines/gob/inter_v7.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v7.cpp	2011-01-27 13:26:34 UTC (rev 55562)
+++ scummvm/trunk/engines/gob/inter_v7.cpp	2011-01-27 13:27:04 UTC (rev 55563)
@@ -53,6 +53,7 @@
 	OPCODEDRAW(0x44, o7_displayWarning);
 	OPCODEDRAW(0x45, o7_draw0x45);
 	OPCODEDRAW(0x57, o7_intToString);
+	OPCODEDRAW(0x59, o7_draw0x59);
 	OPCODEDRAW(0x89, o7_draw0x89);
 	OPCODEDRAW(0x8A, o7_findFile);
 	OPCODEDRAW(0x8C, o7_getSystemProperty);
@@ -137,6 +138,17 @@
 	sprintf(GET_VARO_STR(destIndex), "%d", READ_VARO_UINT32(valueIndex));
 }
 
+void Inter_v7::o7_draw0x59() {
+	_vm->_game->_script->evalExpr(0);
+	Common::String str0 = _vm->_game->_script->getResultStr();
+	_vm->_game->_script->evalExpr(0);
+	Common::String str1 = _vm->_game->_script->getResultStr();
+
+	int16 expr0 = _vm->_game->_script->readValExpr();
+
+	warning("Addy Stub Draw 0x59: \"%s\", \"%s\", %d", str0.c_str(), str1.c_str(), expr0);
+}
+
 void Inter_v7::o7_draw0x89() {
 	_vm->_game->_script->evalExpr(0);
 	Common::String str0 = _vm->_game->_script->getResultStr();


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