[Scummvm-cvs-logs] CVS: scummvm/saga game.cpp,1.9,1.10 game_mod.h,1.4,1.5

Jonathan Gray khalek at users.sourceforge.net
Sat May 1 07:02:00 CEST 2004


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

Modified Files:
	game.cpp game_mod.h 
Log Message:
unbreak change that prevented ite disk version from launching, add detection for win32 demo

Index: game.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/game.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- game.cpp	1 May 2004 13:20:58 -0000	1.9
+++ game.cpp	1 May 2004 14:00:53 -0000	1.10
@@ -38,7 +38,7 @@
 
 namespace Saga {
 
-// Inherit the Earth - Demo version
+// Inherit the Earth - DOS Demo version
 
 R_GAME_FILEDESC ITEDEMO_GameFiles[] = {
 	{"ITE.RSC", R_GAME_RESOURCEFILE},
@@ -56,6 +56,14 @@
 	R_GAME_SOUND_VOC, 0, 0, 0
 };
 
+// Inherit the Earth - win32 Wyrmkeep Demo version
+R_GAME_FILEDESC ITEWINDEMO_GameFiles[] = {
+	{"ITED.RSC", R_GAME_RESOURCEFILE},
+	{"SCRIPTSD.RSC", R_GAME_SCRIPTFILE},
+	{"SOUNDSD.RSC", R_GAME_SOUNDFILE},
+	{"VOICESD.RSC", R_GAME_VOICEFILE}
+};
+
 // Inherit the Earth - Diskette version
 R_GAME_FILEDESC ITEDISK_GameFiles[] = {
 	{"ITE.RSC", R_GAME_RESOURCEFILE} ,
@@ -147,11 +155,11 @@
 };
 
 R_GAMEDESC GameDescs[] = {
-	// Inherit the earth - Demo version
+	// Inherit the earth - DOS Demo version
 	{
 		R_GAMETYPE_ITE,
 		R_GAME_ITE_DEMO, // Game id
-		"Inherit the Earth - Demo version", // Game title
+		"Inherit the Earth - DOS Demo version", // Game title
 		320, 200, // Logical resolution
 		137, // Scene viewport height
 		ITE_DEFAULT_SCENE, // Starting scene number
@@ -165,6 +173,24 @@
 		0 // Game supported flag
 	},
 
+	// Inherit the earth - win32 Wyrmkeep Demo version
+	{
+		R_GAMETYPE_ITE,
+		R_GAME_ITE_WINDEMO,
+		"Inherit the Earth - Win32 Wyrmkeep Demo version",
+		320, 200,
+		137,
+		ITE_DEFAULT_SCENE,
+		&ITE_Resources,
+		ARRAYSIZE(ITEWINDEMO_GameFiles),
+		ITEWINDEMO_GameFiles,
+		ARRAYSIZE(ITECD_GameFonts),
+		ITECD_GameFonts,
+		&ITECD_GameSound,
+		NULL,
+		0
+	},
+	
 	// Inherit the earth - Disk version
 	{
 		R_GAMETYPE_ITE,
@@ -180,7 +206,7 @@
 		ITEDISK_GameFonts,
 		&ITE_GameSound,
 		Verify_ITEDISK,
-		0
+		1
 	},
 
 	// Inherit the earth - CD version

Index: game_mod.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/game_mod.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- game_mod.h	1 May 2004 09:07:31 -0000	1.4
+++ game_mod.h	1 May 2004 14:00:53 -0000	1.5
@@ -38,7 +38,8 @@
 	R_GAME_ITE_DISK = 1,
 	R_GAME_ITE_CD = 2,
 	R_GAME_IHNM_DEMO = 3,
-	R_GAME_IHNM_CD = 4
+	R_GAME_IHNM_CD = 4,
+	R_GAME_ITE_WINDEMO = 5
 };
 
 enum R_GAME_FILETYPES {





More information about the Scummvm-git-logs mailing list