diff options
author | Martin Kiewitz | 2010-08-31 10:53:27 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-08-31 10:53:27 +0000 |
commit | 839945795e25fee251c76e7d88b2a667a8349252 (patch) | |
tree | cf1f7cf50a71e2f7066cd87acb5934177456ed2b /engines/sci/sci.cpp | |
parent | 7e6141dcfa880b5d24032351a4a0bffd2f47d3f8 (diff) | |
download | scummvm-rg350-839945795e25fee251c76e7d88b2a667a8349252.tar.gz scummvm-rg350-839945795e25fee251c76e7d88b2a667a8349252.tar.bz2 scummvm-rg350-839945795e25fee251c76e7d88b2a667a8349252.zip |
SCI: enable new kDoBresen/InitBresen
enable replacement of save/load dialogs per default
add config-var "sci_originalsaveload" for not replacing dialogs
add config-var "sci_dither" for enabling dithering in EGA games
new kDoBresen fix qfg2 walk against wall bug (#3053131) and hoyle3 unreadable dice bug (#3036922)
svn-id: r52467
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index f9f89ea1ae..03d065258d 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -257,6 +257,11 @@ Common::Error SciEngine::run() { // Patch in our save/restore code, so that dialogs are replaced patchGameSaveRestore(segMan); + // Switch off undithering, if requested by user + Common::String ditherOption = ConfMan.get("sci_dither"); + if (ditherOption != "") + _gfxScreen->debugUnditherSetState(false); + if (_gameDescription->flags & ADGF_ADDENGLISH) { // if game is multilingual Common::Language selectedLanguage = Common::parseLanguage(ConfMan.get("language")); @@ -348,8 +353,8 @@ void SciEngine::patchGameSaveRestore(SegManager *segMan) { break; } - Common::String replaceDialogOption = ConfMan.get("scireplacedialog", Common::ConfigManager::kApplicationDomain); - if (replaceDialogOption == "") + Common::String originalSaveLoadOption = ConfMan.get("sci_originalsaveload"); + if (originalSaveLoadOption != "") return; for (uint16 kernelNr = 0; kernelNr < kernelCount; kernelNr++) { |