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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Tue Jan 25 02:28:32 CET 2011


Revision: 55509
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55509&view=rev
Author:   drmccoy
Date:     2011-01-25 01:28:31 +0000 (Tue, 25 Jan 2011)

Log Message:
-----------
GOB: Some more Addy stubs

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

Modified: scummvm/trunk/engines/gob/inter.h
===================================================================
--- scummvm/trunk/engines/gob/inter.h	2011-01-25 00:50:26 UTC (rev 55508)
+++ scummvm/trunk/engines/gob/inter.h	2011-01-25 01:28:31 UTC (rev 55509)
@@ -593,6 +593,7 @@
 	virtual void setupOpcodesFunc();
 	virtual void setupOpcodesGob();
 
+	void o7_draw0x0C();
 	void o7_draw0x0D();
 	void o7_draw0x44();
 	void o7_draw0x45();
@@ -606,6 +607,7 @@
 	void o7_draw0xA2();
 	void o7_draw0xA4();
 	void o7_draw0xC4();
+	void o7_draw0xC5();
 	void o7_draw0xC6();
 };
 

Modified: scummvm/trunk/engines/gob/inter_playtoons.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_playtoons.cpp	2011-01-25 00:50:26 UTC (rev 55508)
+++ scummvm/trunk/engines/gob/inter_playtoons.cpp	2011-01-25 01:28:31 UTC (rev 55509)
@@ -237,6 +237,10 @@
 		debugC(2, kDebugFileIO, "oPlaytoons_checkData: \"%s\" instead of \"%s\"", file + 3, file);
 		file += 3;
 	}
+	if (strncmp(file, "<ME>", 4) == 0) {
+		debugC(2, kDebugFileIO, "oPlaytoons_checkData: \"%s\" instead of \"%s\"", file + 4, file);
+		file += 4;
+	}
 	if (strncmp(file, "<STK>", 5) == 0) {
 		debugC(2, kDebugFileIO, "oPlaytoons_checkData: \"%s\" instead of \"%s\"", file + 5, file);
 		file += 5;

Modified: scummvm/trunk/engines/gob/inter_v7.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v7.cpp	2011-01-25 00:50:26 UTC (rev 55508)
+++ scummvm/trunk/engines/gob/inter_v7.cpp	2011-01-25 01:28:31 UTC (rev 55509)
@@ -43,6 +43,7 @@
 void Inter_v7::setupOpcodesDraw() {
 	Inter_Playtoons::setupOpcodesDraw();
 
+	OPCODEDRAW(0x0C, o7_draw0x0C);
 	OPCODEDRAW(0x0D, o7_draw0x0D);
 	OPCODEDRAW(0x44, o7_draw0x44);
 	OPCODEDRAW(0x45, o7_draw0x45);
@@ -56,6 +57,7 @@
 	OPCODEDRAW(0xA2, o7_draw0xA2);
 	OPCODEDRAW(0xA4, o7_draw0xA4);
 	OPCODEDRAW(0xC4, o7_draw0xC4);
+	OPCODEDRAW(0xC5, o7_draw0xC5);
 	OPCODEDRAW(0xC6, o7_draw0xC6);
 }
 
@@ -67,6 +69,10 @@
 	Inter_Playtoons::setupOpcodesGob();
 }
 
+void Inter_v7::o7_draw0x0C() {
+	WRITE_VAR(17, 0);
+}
+
 void Inter_v7::o7_draw0x0D() {
 	_vm->_game->_script->evalExpr(0);
 	Common::String str0 = _vm->_game->_script->getResultStr();
@@ -210,6 +216,13 @@
 	warning("Addy Stub Draw 0xC4: \"%s\", \"%s\"", str0.c_str(), str1.c_str());
 }
 
+void Inter_v7::o7_draw0xC5() {
+	_vm->_game->_script->evalExpr(0);
+	Common::String str0 = _vm->_game->_script->getResultStr();
+
+	warning("Addy Stub Draw 0xC5: \"%s\"", str0.c_str());
+}
+
 void Inter_v7::o7_draw0xC6() {
 	_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