From e48cd66daba37192682fb939bf757090fc2e66d7 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 23 Mar 2009 10:07:22 +0000 Subject: Correct label font used by Amiga version of BRA. svn-id: r39629 --- engines/parallaction/font.cpp | 7 ++----- engines/parallaction/graphics.cpp | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'engines') diff --git a/engines/parallaction/font.cpp b/engines/parallaction/font.cpp index 286af3cafe..9207d24e29 100644 --- a/engines/parallaction/font.cpp +++ b/engines/parallaction/font.cpp @@ -692,15 +692,12 @@ void Parallaction_br::initFonts() { _dialogueFont = _disk->loadFont("comic"); _labelFont = _menuFont; } else { - // TODO: Confirm fonts matches - // fonts/natasha/16 - // fonts/sonya/18 + // TODO: Where is vanya used? // fonts/vanya/16 _menuFont = _disk->loadFont("sonya"); _dialogueFont = _disk->loadFont("natasha"); - Common::MemoryReadStream stream(_amigaTopazFont, 2600, false); - _labelFont = new AmigaFont(stream); + _labelFont = _menuFont; } } diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 15ac36fc65..0f3ebfb5f2 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -529,8 +529,7 @@ uint Gfx::renderFloatingLabel(Font *font, char *text) { Graphics::Surface *cnv = new Graphics::Surface; uint w, h; - - if (_vm->getPlatform() == Common::kPlatformAmiga) { + if (_vm->getGameType() == GType_Nippon && _vm->getPlatform() == Common::kPlatformAmiga) { w = font->getStringWidth(text) + 16; h = 10; -- cgit v1.2.3