aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui
diff options
context:
space:
mode:
authorathrxx2019-11-24 00:35:58 +0100
committerathrxx2019-12-18 20:50:43 +0100
commit512fe083670e0fa1d37b88876d8b612017714c27 (patch)
treef74239beeaa95bf517888bb05d49da030fc7588f /engines/kyra/gui
parentfeca6f5a26c912e443d59700b7eda31cc8b2db26 (diff)
downloadscummvm-rg350-512fe083670e0fa1d37b88876d8b612017714c27.tar.gz
scummvm-rg350-512fe083670e0fa1d37b88876d8b612017714c27.tar.bz2
scummvm-rg350-512fe083670e0fa1d37b88876d8b612017714c27.zip
KYRA: (EOB/PC98) - allow both graphics mode / text mode text display for sjis font
The assumption till now was that PC-9801 games in 16 color mode will always use text mode for text display. However, EOB1 uses text mode for intro and ending sequence and graphics mode for ingame. Add new font variant for this and also do some cleanup, since the text displayer code really needs it. (The problem is that at least 3 different Japanese publishers did the Japanese ports for the various games and every one of them did his own hacks for his specific target.)
Diffstat (limited to 'engines/kyra/gui')
-rw-r--r--engines/kyra/gui/gui_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/gui/gui_lol.cpp b/engines/kyra/gui/gui_lol.cpp
index dd3f8a32d6..3776c8382e 100644
--- a/engines/kyra/gui/gui_lol.cpp
+++ b/engines/kyra/gui/gui_lol.cpp
@@ -274,7 +274,7 @@ void LoLEngine::gui_printCharacterStats(int index, int redraw, int value) {
if (offs)
_screen->copyRegion(294, y, 182 + offs, y, 18, 8, 6, _screen->_curPage, Screen::CR_NO_P_CHECK);
- Screen::FontId of = (_flags.lang == Common::JA_JPN && _flags.use16ColorMode) ? _screen->setFont(Screen::FID_SJIS_FNT) : _screen->_currentFont;
+ Screen::FontId of = (_flags.lang == Common::JA_JPN && _flags.use16ColorMode) ? _screen->setFont(Screen::FID_SJIS_TEXTMODE_FNT) : _screen->_currentFont;
_screen->fprintString("%d", 200 + offs, y, col, 0, _flags.use16ColorMode ? 2 : 6, value);
_screen->setFont(of);
}