aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorTravis Howell2005-10-10 13:05:09 +0000
committerTravis Howell2005-10-10 13:05:09 +0000
commitbbb1bee56851f1d59102c0bdb654c40ff2a3e904 (patch)
treeb54ad507048739fc0e0c921e8303978aea73af7e /saga
parent4158aa207034aaffedf2af959552c8d807f45b22 (diff)
downloadscummvm-rg350-bbb1bee56851f1d59102c0bdb654c40ff2a3e904.tar.gz
scummvm-rg350-bbb1bee56851f1d59102c0bdb654c40ff2a3e904.tar.bz2
scummvm-rg350-bbb1bee56851f1d59102c0bdb654c40ff2a3e904.zip
Add defines for DOS demo resource numbers.
svn-id: r19001
Diffstat (limited to 'saga')
-rw-r--r--saga/game.cpp20
-rw-r--r--saga/resnames.h14
2 files changed, 23 insertions, 11 deletions
diff --git a/saga/game.cpp b/saga/game.cpp
index 165907b336..813327729f 100644
--- a/saga/game.cpp
+++ b/saga/game.cpp
@@ -200,17 +200,15 @@ static GameResourceDescription ITE_Resources = {
};
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
diff --git a/saga/resnames.h b/saga/resnames.h
index 77fae998b8..259c8978af 100644
--- a/saga/resnames.h
+++ b/saga/resnames.h
@@ -34,6 +34,9 @@ namespace Saga {
#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 @@ namespace Saga {
#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 @@ namespace Saga {
#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)