diff options
author | Paul Gilbert | 2011-09-30 20:26:47 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-09-30 20:26:47 +1000 |
commit | a7f26eb1591dcd50f7ce4ee8485eca6fbbd9a145 (patch) | |
tree | 344d3e685db2804db47f20618a8c36c7eb78ee51 /engines/tsage/blue_force/blueforce_speakers.cpp | |
parent | c67e2724518e5d8612845100709002b952c97cbd (diff) | |
download | scummvm-rg350-a7f26eb1591dcd50f7ce4ee8485eca6fbbd9a145.tar.gz scummvm-rg350-a7f26eb1591dcd50f7ce4ee8485eca6fbbd9a145.tar.bz2 scummvm-rg350-a7f26eb1591dcd50f7ce4ee8485eca6fbbd9a145.zip |
TSAGE: Implemented Blue Force scene 551 - Outside Bikini Hut (Drunk Stop)
Diffstat (limited to 'engines/tsage/blue_force/blueforce_speakers.cpp')
-rw-r--r-- | engines/tsage/blue_force/blueforce_speakers.cpp | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_speakers.cpp b/engines/tsage/blue_force/blueforce_speakers.cpp index 0d8ab1215b..dbd7419378 100644 --- a/engines/tsage/blue_force/blueforce_speakers.cpp +++ b/engines/tsage/blue_force/blueforce_speakers.cpp @@ -762,6 +762,47 @@ void SpeakerBilly::setText(const Common::String &msg) { _object2.fixCountdown(8, _numFrames); } +/*--------------------------------------------------------------------------*/ + +SpeakerDrunk::SpeakerDrunk(): VisualSpeaker() { + _color1 = 21; + _speakerName = "DRUNK"; +} + +void SpeakerDrunk::setText(const Common::String &msg) { + _removeObject2 = true; + + _object2.postInit(); + _object2.setVisage(556); + _object2.fixPriority(255); + _object2.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 52, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + VisualSpeaker::setText(msg); + _object2.fixCountdown(8, _numFrames); +} + +/*--------------------------------------------------------------------------*/ + +SpeakerGiggles::SpeakerGiggles(): VisualSpeaker() { + _color1 = 32; + + _speakerName = "GIGGLES"; +} + +void SpeakerGiggles::setText(const Common::String &msg) { + _removeObject2 = true; + + _object2.postInit(); + _object2.setVisage(557); + _object2.setStrip2(1); + _object2.fixPriority(255); + _object2.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 262, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + VisualSpeaker::setText(msg); + _object2.fixCountdown(8, _numFrames); +} } // End of namespace BlueForce |