aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/features.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-11-25 14:22:09 +0000
committerFilippos Karapetis2010-11-25 14:22:09 +0000
commit2c2f3a97e69184c23342fe77185cc37e87ed7813 (patch)
tree0e7bfeb030e5e30408572e028fa55d146f6168ce /engines/sci/engine/features.cpp
parent394daa57044dc83e971041bcd62fbd12ee6b3174 (diff)
downloadscummvm-rg350-2c2f3a97e69184c23342fe77185cc37e87ed7813.tar.gz
scummvm-rg350-2c2f3a97e69184c23342fe77185cc37e87ed7813.tar.bz2
scummvm-rg350-2c2f3a97e69184c23342fe77185cc37e87ed7813.zip
SCI: Added support for the alternate Windows MIDI soundtracks of the CD versions of EcoQuest, Jones, KQ5 and SQ4
svn-id: r54476
Diffstat (limited to 'engines/sci/engine/features.cpp')
-rw-r--r--engines/sci/engine/features.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp
index fbb18dab49..206624f87e 100644
--- a/engines/sci/engine/features.cpp
+++ b/engines/sci/engine/features.cpp
@@ -648,4 +648,17 @@ MoveCountType GameFeatures::detectMoveCountType() {
return _moveCountType;
}
+bool GameFeatures::useAltWinGMSound() {
+ if (g_sci && g_sci->getPlatform() == Common::kPlatformWindows && g_sci->isCD()) {
+ SciGameId id = g_sci->getGameId();
+ return (id == GID_ECOQUEST ||
+ id == GID_JONES ||
+ id == GID_KQ5 ||
+ //id == GID_FREDDYPHARKAS || // Has alternate tracks, but handles them differently
+ id == GID_SQ4);
+ } else {
+ return false;
+ }
+}
+
} // End of namespace Sci