diff options
author | Nicola Mettifogo | 2008-07-04 00:29:21 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-07-04 00:29:21 +0000 |
commit | d387d1af0ec869700da199578f07e5a0c00968f3 (patch) | |
tree | 9234158f922cec9fae0db41e798c9859216afd81 /engines/parallaction/parallaction.cpp | |
parent | d92085b5071b0bb62642d62857e5853006be3b2c (diff) | |
download | scummvm-rg350-d387d1af0ec869700da199578f07e5a0c00968f3.tar.gz scummvm-rg350-d387d1af0ec869700da199578f07e5a0c00968f3.tar.bz2 scummvm-rg350-d387d1af0ec869700da199578f07e5a0c00968f3.zip |
- Moved dialogue balloon management code from Gfx to its own class
- Added a class to draw balloons in BRA (still without text and with wrong placement)
svn-id: r32902
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 5f5cfdb820..3a52b28e06 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -134,6 +134,8 @@ int Parallaction::init() { _debugger = new Debugger(this); + setupBalloonManager(); + return 0; } @@ -281,7 +283,7 @@ void Parallaction::setBackground(const char* name, const char* mask, const char* } void Parallaction::showLocationComment(const char *text, bool end) { - _gfx->setLocationBalloon(const_cast<char*>(text), end); + _balloonMan->setLocationBalloon(const_cast<char*>(text), end); } @@ -422,7 +424,7 @@ void Parallaction::doLocationEnterTransition() { showLocationComment(_location._comment, false); _input->waitUntilLeftClick(); - _gfx->freeBalloons(); + _balloonMan->freeBalloons(); // fades maximum intensity palette towards approximation of main palette for (uint16 _si = 0; _si<6; _si++) { |