[Scummvm-cvs-logs] CVS: scummex resource.cpp,1.18,1.19 resource.h,1.10,1.11 blocks.h,1.6,1.7

Adrien Mercier yoshizf at users.sourceforge.net
Fri Sep 26 16:53:05 CEST 2003


Update of /cvsroot/scummvm/scummex
In directory sc8-pr-cvs1:/tmp/cvs-serv6454

Modified Files:
	resource.cpp resource.h blocks.h 
Log Message:
Added a few blocks

Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummex/resource.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- resource.cpp	26 Sep 2003 00:39:50 -0000	1.18
+++ resource.cpp	26 Sep 2003 23:51:36 -0000	1.19
@@ -856,7 +856,7 @@
 
 int Resource::getBlockType(char *tag) {
 	
-	for (int i=0; i<115; i++) {
+	for (int i=0; i<119; i++) {
 		if(strstr(tag, blocksInfo[i].name)) {
 			return blocksInfo[i].id;
 		}

Index: resource.h
===================================================================
RCS file: /cvsroot/scummvm/scummex/resource.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- resource.h	24 Sep 2003 12:38:45 -0000	1.10
+++ resource.h	26 Sep 2003 23:51:36 -0000	1.11
@@ -176,7 +176,11 @@
 	{111, "SPK ", "", 1, "help/specSPK.html", 31},
 	{112, "ROL ", "", 1, "help/specROL.html", 31},
 	{113, "FTCH", "", 0, "", 47},
-	{114, "STOR", "", 0, "", 47}
+	{114, "STOR", "", 0, "", 47},
+	{115, "MIDI", "", 0, "", 31},
+	{116, "GMD ", "", 0, "", 31},
+	{117, "SBL ", "", 0, "", 31},
+	{118, "ZSTR", "", 0, "", 47}
 };
 
 const struct blockInfo oldBlocksInfo[] = {

Index: blocks.h
===================================================================
RCS file: /cvsroot/scummvm/scummex/blocks.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- blocks.h	24 Sep 2003 12:38:45 -0000	1.6
+++ blocks.h	26 Sep 2003 23:51:36 -0000	1.7
@@ -135,7 +135,11 @@
 	SPK,
 	ROL,
 	FTCH,
-	STOR
+	STOR,
+	MIDI,
+	GMD,
+	SBL,
+	ZSTR
 };
 
 enum {





More information about the Scummvm-git-logs mailing list