From d5331ab923c74ecfd6aa5a0b0f2e7ffdde6ea7d5 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sun, 22 Dec 2013 20:46:54 +0100 Subject: SCI: improved lb2+kq6 patches (new speech state) adds a third button state to the game menu this state is "dual mode" (audio+text at the same time) currently uses the "speech" graphic CD versions of Laura Bow 2 + King's Quest 6 will now always get patched --- engines/sci/sci.cpp | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'engines/sci/sci.cpp') diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index ff804af4b4..f32e0e16f9 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -913,12 +913,10 @@ void SciEngine::syncIngameAudioOptions() { case GID_FREDDYPHARKAS: case GID_ECOQUEST: case GID_LSL6: - _gamestate->variables[VAR_GLOBAL][90] = make_reg(0, 3); // speech + subtitles - break; case GID_LAURABOW2: case GID_KQ6: - // Laura Bow 2 + King's Quest 6 get patched when speech and subtitles are enabled - // When the user has "speech" selected, the game will then do both That's why we select speech here + _gamestate->variables[VAR_GLOBAL][90] = make_reg(0, 3); // speech + subtitles + break; default: // Game does not support speech and subtitles, set it to speech _gamestate->variables[VAR_GLOBAL][90] = make_reg(0, 2); // speech @@ -932,8 +930,6 @@ void SciEngine::updateScummVMAudioOptions() { // depending on the in-game settings if (isCD() && getSciVersion() == SCI_VERSION_1_1) { uint16 ingameSetting = _gamestate->variables[VAR_GLOBAL][90].getOffset(); - bool subtitlesOn = ConfMan.getBool("subtitles"); - bool speechOn = !ConfMan.getBool("speech_mute"); switch (ingameSetting) { case 1: @@ -943,17 +939,6 @@ void SciEngine::updateScummVMAudioOptions() { break; case 2: // speech - switch (_gameId) { - case GID_LAURABOW2: - case GID_KQ6: - // We don't sync "speech" for Laura Bow 2 in case the user choose "both" in the setting - // Because "speech" (2) within SCI means "speech + subtitles" for Laura Bow 2 - if (subtitlesOn && speechOn) - return; - break; - default: - break; - } ConfMan.setBool("subtitles", false); ConfMan.setBool("speech_mute", false); break; -- cgit v1.2.3