[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.287,2.288 script_v80he.cpp,2.45,2.46 script_v90he.cpp,2.74,2.75

Travis Howell kirben at users.sourceforge.net
Sun Oct 3 22:26:36 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6209/scumm

Modified Files:
	intern.h script_v80he.cpp script_v90he.cpp 
Log Message:

Add stub


Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.287
retrieving revision 2.288
diff -u -d -r2.287 -r2.288
--- intern.h	3 Oct 2004 19:57:19 -0000	2.287
+++ intern.h	3 Oct 2004 23:37:34 -0000	2.288
@@ -809,6 +809,7 @@
 	void o80_cursorCommand();
 	void o80_setState();
 	void o80_drawWizPolygon();
+	void o80_unknownE0();
 	void o80_pickVarRandom();
 };
 

Index: script_v80he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v80he.cpp,v
retrieving revision 2.45
retrieving revision 2.46
diff -u -d -r2.45 -r2.46
--- script_v80he.cpp	3 Oct 2004 14:13:05 -0000	2.45
+++ script_v80he.cpp	3 Oct 2004 23:37:34 -0000	2.46
@@ -324,7 +324,7 @@
 		OPCODE(o72_deleteFile),
 		OPCODE(o60_rename),
 		/* E0 */
-		OPCODE(o6_invalid),
+		OPCODE(o80_unknownE0),
 		OPCODE(o72_getPixel),
 		OPCODE(o60_localizeArray),
 		OPCODE(o80_pickVarRandom),
@@ -622,6 +622,34 @@
 	displayWizImage(&wi);	
 }
 
+void ScummEngine_v80he::o80_unknownE0() {
+	// wizImage related
+	int a, b, c, d, e, f, type = 1;
+
+	a = pop();
+	b = pop();
+	c = pop();
+	d = pop();
+	e = pop();
+	f = pop();
+
+	byte subOp = fetchScriptByte();
+
+	switch (subOp) {
+	case 55:
+		type = 2;
+		break;
+	case 63:
+		type = 3;
+		break;
+	case 66:
+		type = 1;
+		break;
+	}
+
+	debug(1,"o80_unknownE0 stub: type %d (%d, %d, %d, %d, %d, %d)",subOp, a, b, c, d, e, f);	
+}
+
 void ScummEngine_v80he::o80_pickVarRandom() {
 	int num;
 	int args[100];

Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.74
retrieving revision 2.75
diff -u -d -r2.74 -r2.75
--- script_v90he.cpp	3 Oct 2004 19:57:19 -0000	2.74
+++ script_v90he.cpp	3 Oct 2004 23:37:34 -0000	2.75
@@ -324,7 +324,7 @@
 		OPCODE(o72_deleteFile),
 		OPCODE(o60_rename),
 		/* E0 */
-		OPCODE(o6_invalid),
+		OPCODE(o80_unknownE0),
 		OPCODE(o72_getPixel),
 		OPCODE(o60_localizeArray),
 		OPCODE(o80_pickVarRandom),





More information about the Scummvm-git-logs mailing list