diff options
author | Martin Kiewitz | 2013-12-22 20:46:54 +0100 |
---|---|---|
committer | Martin Kiewitz | 2013-12-22 20:46:54 +0100 |
commit | d5331ab923c74ecfd6aa5a0b0f2e7ffdde6ea7d5 (patch) | |
tree | 35c2e93db2192fe75c50d9983e6bf9c5b2c5abe6 /engines/sci/sci.cpp | |
parent | d1a191ce598063b18e407671578f15e89b65764a (diff) | |
download | scummvm-rg350-d5331ab923c74ecfd6aa5a0b0f2e7ffdde6ea7d5.tar.gz scummvm-rg350-d5331ab923c74ecfd6aa5a0b0f2e7ffdde6ea7d5.tar.bz2 scummvm-rg350-d5331ab923c74ecfd6aa5a0b0f2e7ffdde6ea7d5.zip |
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
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 19 |
1 files changed, 2 insertions, 17 deletions
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; |