aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorTorbjörn Andersson2016-03-16 06:09:12 +0100
committerTorbjörn Andersson2016-03-16 06:16:44 +0100
commit0a5a722b027303e29b486e146a580f7881ca2a2d (patch)
tree9b96031357ea63c60d788c16ee5158fde25bc9c6 /engines/saga
parent5a547bd242e3d09e34a4aa170f138d721120e155 (diff)
downloadscummvm-rg350-0a5a722b027303e29b486e146a580f7881ca2a2d.tar.gz
scummvm-rg350-0a5a722b027303e29b486e146a580f7881ca2a2d.tar.bz2
scummvm-rg350-0a5a722b027303e29b486e146a580f7881ca2a2d.zip
SAGA: Fix interface colors in French and German versions of IHNM
The same fix that had already been applied to the Spanish version also applies to the French and German versions. (Judging by the detection entries, there aren't any alternative versions so the ones I got from GOG should be representative.) The palettes aren't quite identical to the Spanish one, but I think the remaining difference is for the spiritual barometer, so the special case for that remains Spanish-only.
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/interface.cpp6
-rw-r--r--engines/saga/saga.cpp8
2 files changed, 9 insertions, 5 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index cb42ac0aaa..ad940aaf8b 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -1862,8 +1862,10 @@ void Interface::drawStatusBar() {
int stringWidth;
int color;
// The default colors in the Spanish version of IHNM are shifted by one
- // Fixes bug #1848016 - "IHNM: Wrong Subtitles Color (Spanish)"
- int offset = (_vm->getLanguage() == Common::ES_ESP) ? 1 : 0;
+ // Fixes bug #1848016 - "IHNM: Wrong Subtitles Color (Spanish)". This
+ // also applies to the German and French versions (bug #7064 - "IHNM:
+ // text mistake in german version").
+ int offset = (_vm->getLanguage() == Common::ES_ESP || _vm->getLanguage() == Common::DE_DEU || _vm->getLanguage() == Common::FR_FRA) ? 1 : 0;
// Disable the status text in IHNM when the chapter is 8
if (_vm->getGameId() == GID_IHNM && _vm->_scene->currentChapterNumber() == 8)
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index 532b59d3c7..77a21e7f93 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -578,9 +578,11 @@ ColorId SagaEngine::KnownColor2ColorId(KnownColor knownColor) {
}
#ifdef ENABLE_IHNM
} else if (getGameId() == GID_IHNM) {
- // The default colors in the Spanish version of IHNM are shifted by one
- // Fixes bug #1848016 - "IHNM: Wrong Subtitles Color (Spanish)"
- int offset = (getLanguage() == Common::ES_ESP) ? 1 : 0;
+ // The default colors in the Spanish, version of IHNM are shifted by one
+ // Fixes bug #1848016 - "IHNM: Wrong Subtitles Color (Spanish)". This
+ // also applies to the German and French versions (bug #7064 - "IHNM:
+ // text mistake in german version").
+ int offset = (getLanguage() == Common::ES_ESP || getLanguage() == Common::DE_DEU || getLanguage() == Common::FR_FRA) ? 1 : 0;
switch (knownColor) {
case(kKnownColorTransparent):