diff options
author | Colin Snover | 2016-11-04 20:09:22 -0500 |
---|---|---|
committer | Colin Snover | 2016-11-04 20:10:21 -0500 |
commit | 4bfd005c78b4093c01f08ab3e9a3ecf9189c8c84 (patch) | |
tree | 669b3abdfed0408234ec28d4ed6f43e56a0bf529 /engines/sci/engine/features.h | |
parent | f89b0e8c45ba5fedff1d1baf5ce8fab0129ceb14 (diff) | |
download | scummvm-rg350-4bfd005c78b4093c01f08ab3e9a3ecf9189c8c84.tar.gz scummvm-rg350-4bfd005c78b4093c01f08ab3e9a3ecf9189c8c84.tar.bz2 scummvm-rg350-4bfd005c78b4093c01f08ab3e9a3ecf9189c8c84.zip |
SCI32: Stop digital audio when VMDs open in some SCI2.1 games
Diffstat (limited to 'engines/sci/engine/features.h')
-rw-r--r-- | engines/sci/engine/features.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sci/engine/features.h b/engines/sci/engine/features.h index 15c80a7277..36b0d06360 100644 --- a/engines/sci/engine/features.h +++ b/engines/sci/engine/features.h @@ -117,6 +117,17 @@ public: inline bool hasNewPaletteCode() const { return getSciVersion() >= SCI_VERSION_2_1_MIDDLE || g_sci->getGameId() == GID_KQ7; } + + inline bool VMDOpenStopsAudio() const { + // Of the games that use VMDs: + // Yes: Phant1, Shivers, Torin + // No: SQ6 + // TODO: Optional extra flag to kPlayVMD which defaults to Yes: PQ:SWAT + // TODO: SCI3, GK2 (GK2's VMD code is closer to SCI3 than SCI21) + return getSciVersion() == SCI_VERSION_2_1_MIDDLE && + g_sci->getGameId() != GID_SQ6 && + g_sci->getGameId() != GID_GK2; + } #endif /** |