diff options
author | Travis Howell | 2009-03-23 10:07:22 +0000 |
---|---|---|
committer | Travis Howell | 2009-03-23 10:07:22 +0000 |
commit | e48cd66daba37192682fb939bf757090fc2e66d7 (patch) | |
tree | a3ee11063df7f3553fcef9521c7d574aa0389053 | |
parent | 4f21bc467fed2724d117204e9df8b29e0337fe4a (diff) | |
download | scummvm-rg350-e48cd66daba37192682fb939bf757090fc2e66d7.tar.gz scummvm-rg350-e48cd66daba37192682fb939bf757090fc2e66d7.tar.bz2 scummvm-rg350-e48cd66daba37192682fb939bf757090fc2e66d7.zip |
Correct label font used by Amiga version of BRA.
svn-id: r39629
-rw-r--r-- | engines/parallaction/font.cpp | 7 | ||||
-rw-r--r-- | engines/parallaction/graphics.cpp | 3 |
2 files changed, 3 insertions, 7 deletions
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; |