diff options
author | Paul Gilbert | 2011-09-16 17:30:39 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-09-16 17:30:39 +1000 |
commit | e506df40ce78b982362fcd7aadd26c987f3255c5 (patch) | |
tree | 62a0207c76e8733887d8ce86aba2ac7f20a80e52 /engines/tsage/blue_force/blueforce_speakers.cpp | |
parent | cdf1335ea62f474c6528c1c41ea60d5a1f02769d (diff) | |
download | scummvm-rg350-e506df40ce78b982362fcd7aadd26c987f3255c5.tar.gz scummvm-rg350-e506df40ce78b982362fcd7aadd26c987f3255c5.tar.bz2 scummvm-rg350-e506df40ce78b982362fcd7aadd26c987f3255c5.zip |
TSAGE: Implemented Blue Force scene 840 - Boat Rentals
Diffstat (limited to 'engines/tsage/blue_force/blueforce_speakers.cpp')
-rw-r--r-- | engines/tsage/blue_force/blueforce_speakers.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_speakers.cpp b/engines/tsage/blue_force/blueforce_speakers.cpp index 59736bec8f..65db250c9d 100644 --- a/engines/tsage/blue_force/blueforce_speakers.cpp +++ b/engines/tsage/blue_force/blueforce_speakers.cpp @@ -397,6 +397,32 @@ void SpeakerSkipB::setText(const Common::String &msg) { _object2.fixCountdown(8, _numFrames); } +/*--------------------------------------------------------------------------*/ + +SpeakerCarter::SpeakerCarter(): VisualSpeaker() { + _color1 = 89; + _color2 = 95; + _speakerName = "CARTER"; +} + +void SpeakerCarter::setText(const Common::String &msg) { + _removeObject1 = _removeObject2 = true; + + _object1.postInit(); + _object1.setVisage(844); + _object1.setStrip2(8); + _object1.fixPriority(254); + _object1.setPosition(Common::Point(78, 166)); + + _object2.postInit(); + _object2.setVisage(844); + _object2.fixPriority(255); + _object2.setPosition(Common::Point(78, 166)); + + VisualSpeaker::setText(msg); + _object2.fixCountdown(8, _numFrames); +} + } // End of namespace BlueForce } // End of namespace TsAGE |