[Scummvm-cvs-logs] SF.net SVN: scummvm: [31403] scummvm/trunk/engines/saga

sev at users.sourceforge.net sev at users.sourceforge.net
Sat Apr 5 09:43:55 CEST 2008


Revision: 31403
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31403&view=rev
Author:   sev
Date:     2008-04-05 00:43:54 -0700 (Sat, 05 Apr 2008)

Log Message:
-----------
Added detection for IHNM Mac. Gampe plays, but sound and music is a big TODO

Modified Paths:
--------------
    scummvm/trunk/engines/saga/detection_tables.h
    scummvm/trunk/engines/saga/music.cpp
    scummvm/trunk/engines/saga/saga.h

Modified: scummvm/trunk/engines/saga/detection_tables.h
===================================================================
--- scummvm/trunk/engines/saga/detection_tables.h	2008-04-05 05:23:46 UTC (rev 31402)
+++ scummvm/trunk/engines/saga/detection_tables.h	2008-04-05 07:43:54 UTC (rev 31403)
@@ -869,6 +869,34 @@
 		0,
 		NULL,
 	},
+	// I Have No Mouth And I Must Scream - Mac English CD
+	{
+		{
+			"ihnm",
+			"",
+			{
+	{"scream.res",	GAME_RESOURCEFILE,					"46bbdc65d164ba7e89836a0935eec8e6", 79211140},
+	{"patch.res",	GAME_PATCHFILE | GAME_RESOURCEFILE,	"58b79e61594779513c7f2d35509fa89e", 5038599},
+	{"scripts.res",	GAME_SCRIPTFILE,					"be38bbc5a26be809dbf39f13befebd01", 493597},
+	{"sfx.res",		GAME_SOUNDFILE,						"0c24f75c30c3c4cffc7bf0e6d997898b", 3082},
+	{ NULL, 0, NULL, 0}
+			},
+			Common::EN_ANY,
+			Common::kPlatformMacintosh,
+			Common::ADGF_NO_FLAGS
+		},
+		GType_IHNM,
+		GID_IHNM_CD_MAC,
+		0, // GF_BIG_ENDIAN_DATA
+		IHNM_DEFAULT_SCENE,
+		&IHNM_Resources,
+		ARRAYSIZE(IHNMCD_GameFonts),
+		IHNMCD_GameFonts,
+		&IHNM_GameSound,
+		&IHNM_GameSound,
+		0,
+		NULL,
+	},
 	{ AD_TABLE_END_MARKER, 0, 0, 0, 0, NULL, 0, NULL, NULL, NULL, 0, NULL }
 };
 

Modified: scummvm/trunk/engines/saga/music.cpp
===================================================================
--- scummvm/trunk/engines/saga/music.cpp	2008-04-05 05:23:46 UTC (rev 31402)
+++ scummvm/trunk/engines/saga/music.cpp	2008-04-05 07:43:54 UTC (rev 31403)
@@ -433,6 +433,10 @@
 		return;
 	}
 
+	if (_vm->getGameType() == GType_IHNM && _vm->isMacResources()) {
+		return;
+	}
+
 	if (isPlaying() && _trackNumber == resourceId) {
 		return;
 	}

Modified: scummvm/trunk/engines/saga/saga.h
===================================================================
--- scummvm/trunk/engines/saga/saga.h	2008-04-05 05:23:46 UTC (rev 31402)
+++ scummvm/trunk/engines/saga/saga.h	2008-04-05 07:43:54 UTC (rev 31403)
@@ -135,7 +135,8 @@
 	GID_IHNM_CD_ES,
 	GID_IHNM_CD_RU,
 	GID_IHNM_CD_FR,
-	GID_IHNM_CD_ITA
+	GID_IHNM_CD_ITA,
+	GID_IHNM_CD_MAC
 };
 
 enum GameFileTypes {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list