Extended balloon manager to handle color constants and fixed color of text in balloons for BRA.
svn-id: r33940
This commit is contained in:
parent
b08a3885a8
commit
fbc9483ed2
4 changed files with 48 additions and 32 deletions
|
@ -558,7 +558,7 @@ void Parallaction::enterCommentMode(ZonePtr z) {
|
|||
}
|
||||
|
||||
_gfx->setHalfbriteMode(true);
|
||||
_balloonMan->setSingleBalloon(data->_description, 0, 90, 0, 0);
|
||||
_balloonMan->setSingleBalloon(data->_description, 0, 90, 0, BalloonManager::kNormalColor);
|
||||
Common::Rect r;
|
||||
data->_cnv->getRect(0, r);
|
||||
id = _gfx->setItem(data->_cnv, 140, (_screenHeight - r.height())/2);
|
||||
|
@ -566,13 +566,13 @@ void Parallaction::enterCommentMode(ZonePtr z) {
|
|||
id = _gfx->setItem(_char._head, 100, 152);
|
||||
_gfx->setItemFrame(id, 0);
|
||||
} else {
|
||||
_balloonMan->setSingleBalloon(data->_description, 140, 10, 0, 0);
|
||||
_balloonMan->setSingleBalloon(data->_description, 140, 10, 0, BalloonManager::kNormalColor);
|
||||
id = _gfx->setItem(_char._talk, 190, 80);
|
||||
_gfx->setItemFrame(id, 0);
|
||||
}
|
||||
} else
|
||||
if (getGameType() == GType_BRA) {
|
||||
_balloonMan->setSingleBalloon(data->_description, 0, 0, 1, 0);
|
||||
_balloonMan->setSingleBalloon(data->_description, 0, 0, 1, BalloonManager::kNormalColor);
|
||||
int id = _gfx->setItem(_char._talk, 10, 80);
|
||||
_gfx->setItemFrame(id, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue