[Scummvm-cvs-logs] CVS: scummvm/saga game.cpp,1.106,1.107

Eugene Sandulenko sev at users.sourceforge.net
Mon Oct 10 05:48:28 CEST 2005


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

Modified Files:
	game.cpp 
Log Message:
First attempt to run DOS ITE demo


Index: game.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/game.cpp,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- game.cpp	10 Oct 2005 02:42:50 -0000	1.106
+++ game.cpp	10 Oct 2005 12:46:26 -0000	1.107
@@ -199,10 +199,24 @@
 	RID_ITE_ACTOR_NAMES
 };
 
+static GameResourceDescription ITEDemo_Resources = {
+	318,  // Scene lookup table RN
+	146, // Script lookup table RN
+	2,
+	3,
+	3, // FIXME: should be 4 but it is an empty resource.
+	   // Proper fix would be not load options panel when demo is running
+	5,
+	6,
+	80,
+	8,
+	9
+};
+
 // Inherit the Earth - DOS Demo version
 static GameFileDescription ITEDEMO_GameFiles[] = {
 	{"ite.rsc", GAME_RESOURCEFILE},
-	{"ite.dmo", GAME_DEMOFILE},
+	//{"ite.dmo", GAME_DEMOFILE},
 	{"scripts.rsc", GAME_SCRIPTFILE},
 	{"voices.rsc", GAME_SOUNDFILE | GAME_VOICEFILE}
 };
@@ -860,7 +874,7 @@
 		"Inherit the Earth (DOS Demo)", // Game title
 		&ITE_DisplayInfo,
 		ITE_DEFAULT_SCENE, // Starting scene number
-		&ITE_Resources,
+		&ITEDemo_Resources,
 		ARRAYSIZE(ITEDEMO_GameFiles), // Game datafiles
 		ITEDEMO_GameFiles,
 		ARRAYSIZE(ITEDEMO_GameFonts),





More information about the Scummvm-git-logs mailing list