diff options
author | Paul Gilbert | 2018-02-18 21:48:50 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-02-18 21:48:50 -0500 |
commit | fbc184e3d9d00c6e894f71c98e6f7b05cf6afe0c (patch) | |
tree | 65cb875d8ecb914045773a046087673a258221b0 | |
parent | 60e74af750a0a2aa9bbc9f89beb4058d54f729ba (diff) | |
download | scummvm-rg350-fbc184e3d9d00c6e894f71c98e6f7b05cf6afe0c.tar.gz scummvm-rg350-fbc184e3d9d00c6e894f71c98e6f7b05cf6afe0c.tar.bz2 scummvm-rg350-fbc184e3d9d00c6e894f71c98e6f7b05cf6afe0c.zip |
XEEN: Flag games as not having voice
Technically they do have voice samples, but the code for playing
them is indistinguishable from standard SFX. And given how few
they are, I feel it better for now to simply flag the detection
entries as no voice, rather than trying to separate them
-rw-r--r-- | engines/xeen/detection_tables.h | 12 | ||||
-rw-r--r-- | engines/xeen/xeen.cpp | 5 |
2 files changed, 11 insertions, 6 deletions
diff --git a/engines/xeen/detection_tables.h b/engines/xeen/detection_tables.h index 07aeef5dc4..220c1f1a24 100644 --- a/engines/xeen/detection_tables.h +++ b/engines/xeen/detection_tables.h @@ -36,7 +36,7 @@ static const XeenGameDescription gameDescriptions[] = { Common::EN_ANY, Common::kPlatformDOS, ADGF_NO_FLAGS, - GUIO1(GUIO_NONE) + GUIO1(GUIO_NOSPEECH) }, GType_WorldOfXeen, 0 @@ -55,7 +55,7 @@ static const XeenGameDescription gameDescriptions[] = { Common::DE_DEU, Common::kPlatformDOS, ADGF_NO_FLAGS, - GUIO1(GUIO_NONE), + GUIO1(GUIO_NOSPEECH), }, GType_WorldOfXeen, 0 @@ -74,7 +74,7 @@ static const XeenGameDescription gameDescriptions[] = { Common::EN_ANY, Common::kPlatformDOS, ADGF_NO_FLAGS, - GUIO1(GUIO_NONE) + GUIO1(GUIO_NOSPEECH) }, GType_WorldOfXeen, 0 @@ -92,7 +92,7 @@ static const XeenGameDescription gameDescriptions[] = { Common::EN_ANY, Common::kPlatformDOS, ADGF_NO_FLAGS, - GUIO1(GUIO_NONE) + GUIO1(GUIO_NOSPEECH) }, GType_Clouds, 0 @@ -110,7 +110,7 @@ static const XeenGameDescription gameDescriptions[] = { Common::EN_ANY, Common::kPlatformDOS, ADGF_NO_FLAGS, - GUIO1(GUIO_NONE) + GUIO1(GUIO_NOSPEECH) }, GType_DarkSide, 0 @@ -128,7 +128,7 @@ static const XeenGameDescription gameDescriptions[] = { Common::EN_ANY, Common::kPlatformDOS, ADGF_NO_FLAGS, - GUIO1(GUIO_NONE) + GUIO1(GUIO_NOSPEECH) }, GType_Swords, 0 diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index 3dfb0bc8e3..b4393fd4b0 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -110,6 +110,9 @@ void XeenEngine::initialize() { // Set graphics mode initGraphics(320, 200); + // Setup mixer + syncSoundSettings(); + // If requested, load a savegame instead of showing the intro if (ConfMan.hasKey("save_slot")) { int saveSlot = ConfMan.getInt("save_slot"); @@ -247,6 +250,8 @@ Common::String XeenEngine::printK2(uint value) { } void XeenEngine::syncSoundSettings() { + Engine::syncSoundSettings(); + if (_sound) _sound->updateSoundSettings(); } |