From 5462d42363bf6f0e84aa0ecbb12b0dc8941acadb Mon Sep 17 00:00:00 2001 From: athrxx Date: Sun, 24 Mar 2019 17:39:55 +0100 Subject: 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 --- engines/kyra/graphics/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra/graphics/screen.cpp') 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); -- cgit v1.2.3