[Scummvm-cvs-logs] CVS: scummvm/scumm intern.h,2.234,2.235 script_v72he.cpp,2.70,2.71 script_v7he.cpp,2.69,2.70 script_v80he.cpp,2.12,2.13 script_v90he.cpp,2.20,2.21

Travis Howell kirben at users.sourceforge.net
Fri Sep 10 03:57:01 CEST 2004


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

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

Rename opcode


Index: intern.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/intern.h,v
retrieving revision 2.234
retrieving revision 2.235
diff -u -d -r2.234 -r2.235
--- intern.h	9 Sep 2004 14:07:51 -0000	2.234
+++ intern.h	10 Sep 2004 10:55:43 -0000	2.235
@@ -634,7 +634,7 @@
 	void o7_writeINI();
 	void o7_unknownF5();
 	void o7_unknownF6();
-	void o7_unknownF9();
+	void o7_setFilePath();
 	void o7_unknownFA();
 	void o7_unknownFB();
 	void o7_unknownFC();
@@ -760,7 +760,7 @@
 	void o72_unknownF5();
 	void o72_unknownF6();
 	void o72_unknownF8();
-	void o72_unknownF9();
+	void o72_setFilePath();
 	void o72_unknownFA();
 };
 

Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.70
retrieving revision 2.71
diff -u -d -r2.70 -r2.71
--- script_v72he.cpp	9 Sep 2004 14:07:51 -0000	2.70
+++ script_v72he.cpp	10 Sep 2004 10:55:43 -0000	2.71
@@ -356,7 +356,7 @@
 		OPCODE(o6_invalid),
 		/* F8 */
 		OPCODE(o72_unknownF8),
-		OPCODE(o72_unknownF9),
+		OPCODE(o72_setFilePath),
 		OPCODE(o72_unknownFA),
 		OPCODE(o7_unknownFB),
 		/* FC */
@@ -1913,11 +1913,11 @@
 	debug(1,"stub o72_unknownF8(%d)", a);
 }
 
-void ScummEngine_v72he::o72_unknownF9() {
+void ScummEngine_v72he::o72_setFilePath() {
 	// File related
 	byte filename[100];
 	copyScriptString(filename);
-	debug(1,"o72_unknownF9: %s", filename);
+	debug(1,"o72_setFilePath: %s", filename);
 }
 
 void ScummEngine_v72he::o72_unknownFA() {

Index: script_v7he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v7he.cpp,v
retrieving revision 2.69
retrieving revision 2.70
diff -u -d -r2.69 -r2.70
--- script_v7he.cpp	10 Sep 2004 10:43:10 -0000	2.69
+++ script_v7he.cpp	10 Sep 2004 10:55:43 -0000	2.70
@@ -357,7 +357,7 @@
 		OPCODE(o6_invalid),
 		/* F8 */
 		OPCODE(o6_invalid),
-		OPCODE(o7_unknownF9),
+		OPCODE(o7_setFilePath),
 		OPCODE(o7_unknownFA),
 		OPCODE(o7_unknownFB),
 		/* FC */
@@ -986,9 +986,9 @@
 	debug(1,"stub o7_unknownF6");
 }
 
-void ScummEngine_v7he::o7_unknownF9() {
+void ScummEngine_v7he::o7_setFilePath() {
 	// File related
-	int len, r;
+	int len;
 	byte filename[100];
 
 	addMessageToStack(_scriptPointer, filename, sizeof(filename));
@@ -996,12 +996,7 @@
 	len = resStrLen(_scriptPointer);
 	_scriptPointer += len + 1;
 
-	for (r = strlen((char*)filename); r != 0; r--) {
-		if (filename[r - 1] == '\\')
-			break;
-	}
-
-	debug(1,"stub o7_unknownF9(\"%s\")", filename + r);
+	debug(1,"stub o7_setFilePath(%s)", filename);
 }
 
 void ScummEngine_v7he::o7_unknownFA() {

Index: script_v80he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v80he.cpp,v
retrieving revision 2.12
retrieving revision 2.13
diff -u -d -r2.12 -r2.13
--- script_v80he.cpp	9 Sep 2004 14:07:51 -0000	2.12
+++ script_v80he.cpp	10 Sep 2004 10:55:43 -0000	2.13
@@ -356,7 +356,7 @@
 		OPCODE(o6_invalid),
 		/* F8 */
 		OPCODE(o72_unknownF8),
-		OPCODE(o72_unknownF9),
+		OPCODE(o72_setFilePath),
 		OPCODE(o72_unknownFA),
 		OPCODE(o7_unknownFB),
 		/* FC */

Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.20
retrieving revision 2.21
diff -u -d -r2.20 -r2.21
--- script_v90he.cpp	9 Sep 2004 14:07:51 -0000	2.20
+++ script_v90he.cpp	10 Sep 2004 10:55:43 -0000	2.21
@@ -356,7 +356,7 @@
 		OPCODE(o6_invalid),
 		/* F8 */
 		OPCODE(o72_unknownF8),
-		OPCODE(o72_unknownF9),
+		OPCODE(o72_setFilePath),
 		OPCODE(o72_unknownFA),
 		OPCODE(o7_unknownFB),
 		/* FC */





More information about the Scummvm-git-logs mailing list