diff options
author | athrxx | 2019-03-24 17:39:55 +0100 |
---|---|---|
committer | athrxx | 2019-04-13 18:54:59 +0200 |
commit | 5462d42363bf6f0e84aa0ecbb12b0dc8941acadb (patch) | |
tree | 7b136b23b4fc490098b35b95ee4edf8f166ce05f /engines/kyra/graphics/screen.cpp | |
parent | 463cf48e2a16e0056922b06a741ee477e7078de2 (diff) | |
download | scummvm-rg350-5462d42363bf6f0e84aa0ecbb12b0dc8941acadb.tar.gz scummvm-rg350-5462d42363bf6f0e84aa0ecbb12b0dc8941acadb.tar.bz2 scummvm-rg350-5462d42363bf6f0e84aa0ecbb12b0dc8941acadb.zip |
KYRA: (EOB2/Amiga) - improve font file warnings
- add warning for wrong font file: The German version of EOB II has a font file with more characters than the English version or the EOB I fonts. Users now get a warning/instruction if they have the wrong file.
- add translation support for all AmigaDOS font related warnings/errors
Diffstat (limited to 'engines/kyra/graphics/screen.cpp')
-rw-r--r-- | engines/kyra/graphics/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/graphics/screen.cpp b/engines/kyra/graphics/screen.cpp index 5717319b7f..ea0871f317 100644 --- a/engines/kyra/graphics/screen.cpp +++ b/engines/kyra/graphics/screen.cpp @@ -1365,7 +1365,7 @@ bool Screen::loadFont(FontId fontId, const char *filename) { fnt = new AMIGAFont(); #ifdef ENABLE_EOB else if (_isAmiga) - fnt = new AmigaDOSFont(_vm->resource()); + fnt = new AmigaDOSFont(_vm->resource(), _vm->game() == GI_EOB2 && _vm->gameFlags().lang == Common::DE_DEU); else if (_vm->game() == GI_EOB1 || _vm->game() == GI_EOB2) // We use normal VGA rendering in EOB II, since we do the complete EGA dithering in updateScreen(). fnt = new OldDOSFont(_useHiResEGADithering ? Common::kRenderVGA : _renderMode); |