[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.147,2.148 script_v7he.cpp,2.2,2.3

Travis Howell kirben at users.sourceforge.net
Sun Feb 29 23:26:00 CET 2004


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

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

Add stub


Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.147
retrieving revision 2.148
diff -u -d -r2.147 -r2.148
--- intern.h	1 Mar 2004 06:25:01 -0000	2.147
+++ intern.h	1 Mar 2004 07:06:36 -0000	2.148
@@ -620,6 +620,7 @@
 	/* Version 7 script opcodes */
 	void o7_objectX();
 	void o7_objectY();
+	void o7_unknownFB();
 };
 
 class ScummEngine_v7 : public ScummEngine_v6 {

Index: script_v7he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v7he.cpp,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -d -r2.2 -r2.3
--- script_v7he.cpp	1 Mar 2004 06:23:25 -0000	2.2
+++ script_v7he.cpp	1 Mar 2004 07:06:36 -0000	2.3
@@ -360,7 +360,7 @@
 		OPCODE(o6_invalid),
 		OPCODE(o6_unknownF9),
 		OPCODE(o6_unknownFA),
-		OPCODE(o6_invalid),
+		OPCODE(o7_unknownFB),
 		/* FC */
 		OPCODE(o6_invalid),
 		OPCODE(o6_invalid),
@@ -406,6 +406,31 @@
 	push(_objs[objnum].y_pos);
 }
 
+void ScummEngine_v7he::o7_unknownFB() {
+	byte b;
+	b = fetchScriptByte();
+
+	switch (b) {
+	case 246:
+	case 248:
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		pop();
+		break;
+	case 247:
+		pop();
+		pop();
+		break;
+	}
+	warning("o7_unknownFB stub");
+}
+
 void ScummEngine_v7he::decodeParseString(int m, int n) {
 	byte b;
 	int c;





More information about the Scummvm-git-logs mailing list