diff options
author | Nicola Mettifogo | 2009-03-21 18:00:41 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-03-21 18:00:41 +0000 |
commit | e7a94e9dfecb0828b481ef8a86180e9f5cb8b73e (patch) | |
tree | b602ff48d211f5362551fba7bd93d420df9acda4 | |
parent | 779bdd93b0b35cf55b5e1748dfe10d6d823eaa88 (diff) | |
download | scummvm-rg350-e7a94e9dfecb0828b481ef8a86180e9f5cb8b73e.tar.gz scummvm-rg350-e7a94e9dfecb0828b481ef8a86180e9f5cb8b73e.tar.bz2 scummvm-rg350-e7a94e9dfecb0828b481ef8a86180e9f5cb8b73e.zip |
Set the right colors for dialogue text in BRA Amiga.
svn-id: r39595
-rw-r--r-- | engines/parallaction/balloons.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/parallaction/balloons.cpp b/engines/parallaction/balloons.cpp index eed52298fd..5329c16915 100644 --- a/engines/parallaction/balloons.cpp +++ b/engines/parallaction/balloons.cpp @@ -652,6 +652,7 @@ int BalloonManager_br::setDialogueBalloon(const char *text, uint16 winding, Text balloon->surface = expandBalloon(src, srcFrame); src->getRect(srcFrame, balloon->box); + // TODO: fix text positioning in the Amiga version _writer.write(text, 216, _textColors[textColor], balloon->surface); // TODO: extract some text to make a name for obj @@ -742,9 +743,15 @@ void BalloonManager_br::cacheAnims() { BalloonManager_br::BalloonManager_br(Disk *disk, Gfx *gfx, Font *font) : _numBalloons(0), _disk(disk), _gfx(gfx), _font(font), _leftBalloon(0), _rightBalloon(0), _writer(_font) { - _textColors[kSelectedColor] = 12; - _textColors[kUnselectedColor] = 0; - _textColors[kNormalColor] = 0; + if (_vm->getPlatform() == Common::kPlatformPC) { + _textColors[kSelectedColor] = 12; + _textColors[kUnselectedColor] = 0; + _textColors[kNormalColor] = 0; + } else { + _textColors[kSelectedColor] = 11; + _textColors[kUnselectedColor] = 1; + _textColors[kNormalColor] = 1; + } } BalloonManager_br::~BalloonManager_br() { |