[Scummvm-cvs-logs] SF.net SVN: scummvm: [24040] scummvm/trunk/engines/agos

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Sep 30 14:39:41 CEST 2006


Revision: 24040
          http://svn.sourceforge.net/scummvm/?rev=24040&view=rev
Author:   eriktorbjorn
Date:     2006-09-30 05:39:34 -0700 (Sat, 30 Sep 2006)

Log Message:
-----------
Another PP opcode stub.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/agos.h
    scummvm/trunk/engines/agos/items.cpp

Modified: scummvm/trunk/engines/agos/agos.h
===================================================================
--- scummvm/trunk/engines/agos/agos.h	2006-09-30 12:28:52 UTC (rev 24039)
+++ scummvm/trunk/engines/agos/agos.h	2006-09-30 12:39:34 UTC (rev 24040)
@@ -1060,6 +1060,7 @@
 	void o4_restoreOopsPosition();
 	void o4_checkTiles();
 	void o4_loadMouseImage();
+	void o4_message();
 	void o4_setShortText();
 	void o4_animate();
 	void o4_loadHiScores();

Modified: scummvm/trunk/engines/agos/items.cpp
===================================================================
--- scummvm/trunk/engines/agos/items.cpp	2006-09-30 12:28:52 UTC (rev 24039)
+++ scummvm/trunk/engines/agos/items.cpp	2006-09-30 12:39:34 UTC (rev 24040)
@@ -634,6 +634,7 @@
 		opcode_table[32] = &AGOSEngine::o4_restoreOopsPosition;
 		opcode_table[37] = &AGOSEngine::o4_checkTiles;
 		opcode_table[38] = &AGOSEngine::o4_loadMouseImage;
+		opcode_table[63] = &AGOSEngine::o4_message;
 		opcode_table[65] = &AGOSEngine::o3_addTextBox;
 		opcode_table[66] = &AGOSEngine::o4_setShortText;
 		opcode_table[70] = &AGOSEngine::o3_printLongText;
@@ -2601,6 +2602,16 @@
 	loadMouseImage();
 }
 
+void AGOSEngine::o4_message() {
+	// 63: show string nl
+	if (getBitFlag(105)) {
+		// Swampy adventures
+//		printInfoText(getStringPtrByID(getNextStringID()));
+	} else {
+		o_message();
+	}
+}
+
 void AGOSEngine::o4_setShortText() {
 	// 66: set item name
 	uint var = getVarOrByte();


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