Use some disassembly-based values.

svn-id: r16000
This commit is contained in:
Eugene Sandulenko
2004-12-08 03:15:36 +00:00
parent 9eed72f0fc
commit ece69c12e8
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -263,7 +263,7 @@ GAMEDESC GameDescs[] = {
GAME_IHNM_DEMO,
"I Have No Mouth and I Must Scream (DOS Demo)",
640, 480,
304,
7,
0,
&IHNM_Resources,
ARRAYSIZE(IHNMDEMO_GameFiles),
@@ -281,7 +281,7 @@ GAMEDESC GameDescs[] = {
GAME_IHNM_CD,
"I Have No Mouth and I Must Scream (DOS)",
640, 480,
304,
7,
152,
&IHNM_Resources,
ARRAYSIZE(IHNMCD_GameFiles),
+3 -2
View File
@@ -32,8 +32,9 @@ namespace Saga {
#define ITE_SCENE_LUT 1806
#define ITE_SCRIPT_LUT 216
#define IHNM_SCENE_LUT 1272
#define IHNM_SCRIPT_LUT 0
// Hmmm.... as far as I see origginal uses now commented values, but they're wrong
#define IHNM_SCENE_LUT 1272 // 286
#define IHNM_SCRIPT_LUT 0 // 18
// SCENES
#define ITE_DEFAULT_SCENE 32
+1 -1
View File
@@ -83,7 +83,7 @@ Script::Script() {
} else if (rsc_len % S_LUT_ENTRYLEN_ITEDISK == 0) {
_scriptLUTEntryLen = S_LUT_ENTRYLEN_ITEDISK;
} else {
error("Error: Invalid script lookup table length");
error("Error: Invalid script lookup table length (%d)", rsc_len);
}
// Calculate number of entries