From 77a27acf83d2375c1dc2e091cd30dfb0514d0634 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Fri, 25 Sep 2009 21:33:00 +0000 Subject: LOL/PC-98: fixed dialoge box sizes svn-id: r44369 --- engines/kyra/staticres.cpp | 2 +- engines/kyra/text_lol.cpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'engines/kyra') diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index c705e91539..2344ce0f15 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -3296,7 +3296,7 @@ const ScreenDim Screen_LoL::_screenDimTable16C[] = { { 0x00, 0x00, 0x28, 0xC8, 0x33, 0x44, 0x00, 0x00 }, // Taken from Intro { 0x08, 0x48, 0x18, 0x38, 0x33, 0x44, 0x00, 0x00 }, { 0x0E, 0x00, 0x16, 0x78, 0x33, 0x44, 0x00, 0x00 }, - { 0x0B, 0x7B, 0x1C, 0x12, 0x33, 0x11, 0x00, 0x00 }, + { 0x0B, 0x7B, 0x1C, 0x11, 0x33, 0x11, 0x00, 0x00 }, { 0x0B, 0x7B, 0x1C, 0x2D, 0x33, 0x11, 0x00, 0x00 }, { 0x55, 0x7B, 0xE9, 0x37, 0x33, 0x11, 0x00, 0x00 }, { 0x0B, 0x8C, 0x10, 0x2B, 0x33, 0x44, 0x00, 0x00 }, // Main menu box (4 entries) diff --git a/engines/kyra/text_lol.cpp b/engines/kyra/text_lol.cpp index f8df8fcbca..23a9283b4e 100644 --- a/engines/kyra/text_lol.cpp +++ b/engines/kyra/text_lol.cpp @@ -105,7 +105,10 @@ void TextDisplayer_LoL::expandField() { _vm->_timer->disable(11); _screen->setScreenDim(clearDim(3)); _screen->copyRegionToBuffer(3, 0, 0, 320, 10, tmp); - _screen->copyRegion(83, 140, 0, 0, 235, 3, 0, 2, Screen::CR_NO_P_CHECK); + if (_vm->gameFlags().use16ColorMode) + _screen->copyRegion(83, 139, 0, 0, 235, 4, 0, 2, Screen::CR_NO_P_CHECK); + else + _screen->copyRegion(83, 140, 0, 0, 235, 3, 0, 2, Screen::CR_NO_P_CHECK); for (int i = 140; i < 177; i++) { uint32 endTime = _vm->_system->getMillis() + _vm->_tickLength; -- cgit v1.2.3