[Scummvm-cvs-logs] CVS: scummvm/saga game.cpp,1.28,1.29 resnames.h,1.10,1.11 script.cpp,1.31,1.32
Eugene Sandulenko
sev at users.sourceforge.net
Tue Dec 7 19:16:05 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.118,1.119
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword1 logic.cpp,1.44,1.45 logic.h,1.12,1.13 staticres.cpp,1.8,1.9 sword1.cpp,1.69,1.70 sword1.h,1.21,1.22 sworddefs.h,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26761
Modified Files:
game.cpp resnames.h script.cpp
Log Message:
Use some disassembly-based values.
Index: game.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/game.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- game.cpp 3 Dec 2004 19:15:44 -0000 1.28
+++ game.cpp 8 Dec 2004 03:15:36 -0000 1.29
@@ -263,7 +263,7 @@
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 @@
GAME_IHNM_CD,
"I Have No Mouth and I Must Scream (DOS)",
640, 480,
- 304,
+ 7,
152,
&IHNM_Resources,
ARRAYSIZE(IHNMCD_GameFiles),
Index: resnames.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/resnames.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- resnames.h 7 Nov 2004 14:15:41 -0000 1.10
+++ resnames.h 8 Dec 2004 03:15:36 -0000 1.11
@@ -32,8 +32,9 @@
#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
Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/script.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- script.cpp 3 Dec 2004 19:15:44 -0000 1.31
+++ script.cpp 8 Dec 2004 03:15:36 -0000 1.32
@@ -83,7 +83,7 @@
} 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
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.118,1.119
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword1 logic.cpp,1.44,1.45 logic.h,1.12,1.13 staticres.cpp,1.8,1.9 sword1.cpp,1.69,1.70 sword1.h,1.21,1.22 sworddefs.h,1.15,1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list