aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2004-12-28 23:18:11 +0000
committerEugene Sandulenko2004-12-28 23:18:11 +0000
commitdb249a8fe1a7f6e8fb69beeb3d8621e323778a78 (patch)
tree2322162deb712cc1f139480cdd665781cf8ada00
parentcc18520fe5351e33db9e720ad6e13f1a5d876ff6 (diff)
downloadscummvm-rg350-db249a8fe1a7f6e8fb69beeb3d8621e323778a78.tar.gz
scummvm-rg350-db249a8fe1a7f6e8fb69beeb3d8621e323778a78.tar.bz2
scummvm-rg350-db249a8fe1a7f6e8fb69beeb3d8621e323778a78.zip
Fix regression with IHNM.
Add IHNM demo MD5s. demo does not work at all yet svn-id: r16365
-rw-r--r--saga/actor.cpp5
-rw-r--r--saga/game.cpp9
2 files changed, 12 insertions, 2 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp
index 3cc796e81f..9d65c8dfd7 100644
--- a/saga/actor.cpp
+++ b/saga/actor.cpp
@@ -82,6 +82,11 @@ Actor::Actor(SagaEngine *vm) : _vm(vm) {
ActorData *actor;
debug(9, "Actor::Actor()");
+ if (_vm->_gameType == GType_IHNM) {
+ warning("Actors aren't implemented for IHNM yet");
+ return;
+ }
+
_centerActor = _protagonist = NULL;
_lastTickMsec = 0;
diff --git a/saga/game.cpp b/saga/game.cpp
index 7c9a21427c..487c0d7bad 100644
--- a/saga/game.cpp
+++ b/saga/game.cpp
@@ -281,6 +281,11 @@ static GAME_MD5 game_md5[] = {
{ GID_IHNM_CD, "1f501ce4b72392bdd1d9ec38f6eec6da", "voices5.res" },
{ GID_IHNM_CD, "f580ed7568c7d6ef34e934ba20adf834", "voices6.res" },
{ GID_IHNM_CD, "54b1f2013a075338ceb0e258d97808bd", "voicess.res" },
+
+ { GID_IHNM_DEMO, "46bbdc65d164ba7e89836a0935eec8e6", "scream.res" },
+ { GID_IHNM_DEMO, "9626bda8978094ff9b29198bc1ed5f9a", "scripts.res" },
+ { GID_IHNM_DEMO, "1c610d543f32ec8b525e3f652536f269", "sfx.res" },
+ { GID_IHNM_DEMO, "3bbc16a8f741dbb511da506c660a0b54", "voicesd.res" },
};
static GAMEDESC GameDescs[] = {
@@ -514,8 +519,8 @@ static GAMEDESC GameDescs[] = {
&IHNM_Resources,
ARRAYSIZE(IHNMDEMO_GameFiles),
IHNMDEMO_GameFiles,
- 0,
- NULL,
+ ARRAYSIZE(IHNMCD_GameFonts),
+ IHNMCD_GameFonts,
&IHNM_GameSound,
GF_DEFAULT_TO_1X_SCALER
},