[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.275,2.276 script_v90he.cpp,2.60,2.61

Travis Howell kirben at users.sourceforge.net
Thu Sep 30 02:55:05 CEST 2004


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

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

Add stub


Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.275
retrieving revision 2.276
diff -u -d -r2.275 -r2.276
--- intern.h	30 Sep 2004 09:35:01 -0000	2.275
+++ intern.h	30 Sep 2004 09:54:45 -0000	2.276
@@ -890,6 +890,7 @@
 	void o90_unknown31();
 	void o90_unknown32();
 	void o90_unknown34();
+	void o90_unknown35();
 	void o90_unknown36();
 	void o90_unknown37();
 	void o90_unknown3A();

Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.60
retrieving revision 2.61
diff -u -d -r2.60 -r2.61
--- script_v90he.cpp	30 Sep 2004 09:35:02 -0000	2.60
+++ script_v90he.cpp	30 Sep 2004 09:54:45 -0000	2.61
@@ -111,7 +111,7 @@
 		OPCODE(o6_invalid),
 		/* 34 */
 		OPCODE(o90_unknown34),
-		OPCODE(o6_invalid),
+		OPCODE(o90_unknown35),
 		OPCODE(o90_unknown36),
 		OPCODE(o90_unknown37),
 		/* 38 */
@@ -969,6 +969,34 @@
 	push(readVar(0));
 }
 
+void ScummEngine_v90he::o90_unknown35() {
+	// Polygons related
+	int args[32];
+	int args2[32];
+
+	getStackList(args, ARRAYSIZE(args));
+	getStackList(args2, ARRAYSIZE(args2));
+
+	int subOp = pop();
+
+	switch (subOp) {
+	case 1:
+	case 2:
+	case 3:
+	case 4:
+	case 5:
+	// HE 98+
+	case 6:
+	case 7:
+	case 8:
+	case 9:
+		break;
+	default:
+		error("o90_unknown35: default case %d", subOp);
+	}
+	push(0);
+}
+
 void ScummEngine_v90he::o90_unknown36() {
 	int a = pop();
 	int b = pop();





More information about the Scummvm-git-logs mailing list