diff options
author | Florian Kagerer | 2009-09-30 21:46:00 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-09-30 21:46:00 +0000 |
commit | 598056ead0bfff5bf6b08de50cc19e159f91d35a (patch) | |
tree | c92e08844b04c19258151379c4e49e182e793e55 /engines/kyra/script_tim.cpp | |
parent | aa368806d9a69a9a21c44322ed2fbc8ceef20af1 (diff) | |
download | scummvm-rg350-598056ead0bfff5bf6b08de50cc19e159f91d35a.tar.gz scummvm-rg350-598056ead0bfff5bf6b08de50cc19e159f91d35a.tar.bz2 scummvm-rg350-598056ead0bfff5bf6b08de50cc19e159f91d35a.zip |
LOL/PC-98: - fixed TIM dialogue button text colors
- fixed menu text alignment
svn-id: r44501
Diffstat (limited to 'engines/kyra/script_tim.cpp')
-rw-r--r-- | engines/kyra/script_tim.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/script_tim.cpp b/engines/kyra/script_tim.cpp index 6ccbacc537..01f4f6171d 100644 --- a/engines/kyra/script_tim.cpp +++ b/engines/kyra/script_tim.cpp @@ -1168,16 +1168,18 @@ int TIMInterpreter_LoL::resetAnimationLastPart(int animIndex) { void TIMInterpreter_LoL::drawDialogueButtons() { int cp = _screen->setCurPage(0); - Screen::FontId of = _screen->setFont(Screen::FID_6_FNT); + Screen::FontId of; int x = _dialogueButtonPosX; for (int i = 0; i < _dialogueNumButtons; i++) { if (_vm->gameFlags().use16ColorMode) { + of = _screen->setFont(Screen::FID_SJIS_FNT); _vm->gui_drawBox(x, (_dialogueButtonPosY & ~7) - 1, 74, 10, 0xee, 0xcc, -1); _screen->printText(_dialogueButtonString[i], (x + 37 - (_screen->getTextWidth(_dialogueButtonString[i])) / 2) & ~3, (_dialogueButtonPosY + 2) & ~7, _dialogueHighlightedButton == i ? 0xc1 : 0xe1, 0); } else { + of = _screen->setFont(Screen::FID_6_FNT); _vm->gui_drawBox(x, _dialogueButtonPosY, 74, 9, 136, 251, -1); _screen->printText(_dialogueButtonString[i], x + 37 - (_screen->getTextWidth(_dialogueButtonString[i])) / 2, _dialogueButtonPosY + 2, _dialogueHighlightedButton == i ? 144 : 254, 0); |