aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-19 02:51:36 +0000
committerFilippos Karapetis2007-07-19 02:51:36 +0000
commit3ffd5dea2aec39d40a662e8585fe9e730fbe9785 (patch)
treea22869d567b4ca6592b20f9c58ea7274c8a6335d /engines
parent470dac5f8b2c0d57879fbc636aacc2087a916777 (diff)
downloadscummvm-rg350-3ffd5dea2aec39d40a662e8585fe9e730fbe9785.tar.gz
scummvm-rg350-3ffd5dea2aec39d40a662e8585fe9e730fbe9785.tar.bz2
scummvm-rg350-3ffd5dea2aec39d40a662e8585fe9e730fbe9785.zip
Some more resource mappings for the IHNM demo
svn-id: r28144
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/detection_tables.h17
-rw-r--r--engines/saga/sagaresnames.h17
2 files changed, 30 insertions, 4 deletions
diff --git a/engines/saga/detection_tables.h b/engines/saga/detection_tables.h
index b33931bd78..75d45e4bb6 100644
--- a/engines/saga/detection_tables.h
+++ b/engines/saga/detection_tables.h
@@ -274,6 +274,21 @@ static const GameResourceDescription IHNM_Resources = {
0 // Actors strings (ITE only)
};
+static const GameResourceDescription IHNMDEMO_Resources = {
+ RID_IHNMDEMO_SCENE_LUT, // Scene lookup table RN
+ RID_IHNMDEMO_SCRIPT_LUT, // Script lookup table RN
+ RID_IHNMDEMO_MAIN_PANEL,
+ RID_IHNMDEMO_CONVERSE_PANEL,
+ RID_IHNMDEMO_OPTION_PANEL,
+ RID_IHNMDEMO_WARNING_PANEL,
+ RID_IHNMDEMO_MAIN_SPRITES,
+ RID_IHNMDEMO_MAIN_PANEL_SPRITES,
+ RID_IHNMDEMO_OPTION_PANEL_SPRITES,
+ 0, // Default portraits (ITE only)
+ RID_IHNMDEMO_MAIN_STRINGS,
+ 0 // Actors strings (ITE only)
+};
+
static const GameFontDescription IHNMDEMO_GameFonts[] = {
{2},
{3},
@@ -708,7 +723,7 @@ static const SAGAGameDescription gameDescriptions[] = {
GID_IHNM_DEMO,
0,
0,
- &IHNM_Resources,
+ &IHNMDEMO_Resources,
ARRAYSIZE(IHNMDEMO_GameFonts),
IHNMDEMO_GameFonts,
&IHNM_GameSound,
diff --git a/engines/saga/sagaresnames.h b/engines/saga/sagaresnames.h
index ce61be7864..935544bb7b 100644
--- a/engines/saga/sagaresnames.h
+++ b/engines/saga/sagaresnames.h
@@ -43,8 +43,8 @@ namespace Saga {
#define RID_IHNM_SCRIPT_LUT 29
#define RID_IHNM_SFX_LUT 265
-#define RID_IHNMDEMO_SCENE_LUT 286
-#define RID_IHNMDEMO_SCRIPT_LUT 18
+#define RID_IHNMDEMO_SCENE_LUT 286 // TODO: is this correct?
+#define RID_IHNMDEMO_SCRIPT_LUT 18 // TODO: is this correct?
#define RID_IHNMDEMO_SFX_LUT 222
//obj names
@@ -100,7 +100,7 @@ namespace Saga {
#define RID_IHNM_MAIN_PANEL 9
#define RID_IHNM_CONVERSE_PANEL 10
#define RID_IHNM_HOURGLASS_CURSOR 11
-#define RID_IHNM_MAIN_SPRITES 12 // TODO: verify this
+#define RID_IHNM_MAIN_SPRITES 12
#define RID_IHNM_MAIN_PANEL_SPRITES 12
#define RID_IHNM_ARROW_SPRITES 13
#define RID_IHNM_SAVEREMINDER_SPRITES 14
@@ -111,8 +111,19 @@ namespace Saga {
#define RID_IHNM_PROFILE_BG 20
#define RID_IHNM_MAIN_STRINGS 21
+#define RID_IHNMDEMO_MAIN_PANEL 4 // TODO: Verify this
+#define RID_IHNMDEMO_CONVERSE_PANEL 5 // TODO: Verify this
+#define RID_IHNMDEMO_HOURGLASS_CURSOR 6 // TODO: Verify this
+#define RID_IHNMDEMO_MAIN_SPRITES 7
+#define RID_IHNMDEMO_MAIN_PANEL_SPRITES 7
#define RID_IHNMDEMO_ARROW_SPRITES 8
#define RID_IHNMDEMO_SAVEREMINDER_SPRITES 9
+#define RID_IHNMDEMO_OPTION_PANEL 10 // TODO: Verify this
+#define RID_IHNMDEMO_OPTION_PANEL_SPRITES 11 // TODO: Verify this
+#define RID_IHNMDEMO_WARNING_PANEL 12 // TODO: Verify this
+#define RID_IHNMDEMO_BOSS_SCREEN 13 // TODO: Verify this
+#define RID_IHNMDEMO_PROFILE_BG 14 // TODO: Verify this
+#define RID_IHNMDEMO_MAIN_STRINGS 15 // TODO: Verify this
// Puzzle portraits
#define RID_ITE_SAKKA_APPRAISING 6