[Scummvm-cvs-logs] CVS: scummvm/saga game.cpp,1.107,1.108 resnames.h,1.41,1.42

kirben kirben at users.sourceforge.net
Mon Oct 10 06:07:05 CEST 2005


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

Modified Files:
	game.cpp resnames.h 
Log Message:

Add defines for DOS demo resource numbers.


Index: game.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/game.cpp,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- game.cpp	10 Oct 2005 12:46:26 -0000	1.107
+++ game.cpp	10 Oct 2005 13:05:09 -0000	1.108
@@ -200,17 +200,15 @@
 };
 
 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
+	RID_ITEDEMO_SCENE_LUT,  // Scene lookup table RN
+	RID_ITEDEMO_SCRIPT_LUT, // Script lookup table RN
+	RID_ITEDEMO_CONVERSE_PANEL,
+	RID_ITEDEMO_OPTION_PANEL,
+	RID_ITEDEMO_MAIN_SPRITES,
+	RID_ITEDEMO_MAIN_PANEL_SPRITES,
+	RID_ITEDEMO_DEFAULT_PORTRAITS,
+	RID_ITEDEMO_MAIN_STRINGS,
+	RID_ITEDEMO_ACTOR_NAMES
 };
 
 // Inherit the Earth - DOS Demo version

Index: resnames.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/resnames.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- resnames.h	10 Oct 2005 02:42:50 -0000	1.41
+++ resnames.h	10 Oct 2005 13:05:09 -0000	1.42
@@ -34,6 +34,9 @@
 #define RID_ITE_SCENE_LUT  1806
 #define RID_ITE_SCRIPT_LUT 216
 
+#define RID_ITEDEMO_SCENE_LUT  318
+#define RID_ITEDEMO_SCRIPT_LUT 146
+
 #define RID_IHNM_SCENE_LUT  1272
 #define RID_IHNM_SCRIPT_LUT 29
 #define RID_IHNM_SFX_LUT 265
@@ -61,6 +64,8 @@
 #define ITE_DEFAULT_SCENE 32
 #define IHNM_DEFAULT_SCENE 151
 
+#define ITEDEMO_DEFAULT_SCENE 68
+
 // FONTS
 #define RID_MEDIUM_FONT 0
 #define RID_BIG_FONT 1
@@ -76,6 +81,15 @@
 #define RID_ITE_ACTOR_NAMES 36 //actors names
 #define RID_ITE_DEFAULT_PORTRAITS 125
 
+#define RID_ITEDEMO_MAIN_PANEL 2
+#define RID_ITEDEMO_CONVERSE_PANEL 3
+#define RID_ITEDEMO_OPTION_PANEL 3 // FIXME: should be 4 but it is an empty resource.	
+#define RID_ITEDEMO_MAIN_SPRITES 5 // Proper fix would be not load options panel when demo is running
+#define RID_ITEDEMO_MAIN_PANEL_SPRITES 6
+#define RID_ITEDEMO_MAIN_STRINGS 8 //main strings
+#define RID_ITEDEMO_ACTOR_NAMES 9 //actors names
+#define RID_ITEDEMO_DEFAULT_PORTRAITS 80
+
 #define RID_ITE_TYCHO_MAP 1686
 #define RID_ITE_SPR_XHAIR1 (73 + 9)
 #define RID_ITE_SPR_XHAIR2 (74 + 9)





More information about the Scummvm-git-logs mailing list