diff options
author | Strangerke | 2011-10-14 19:12:18 +0200 |
---|---|---|
committer | Strangerke | 2011-10-14 19:12:18 +0200 |
commit | 651cbe29d6b49c9b7fc96341a4bb29a01901635b (patch) | |
tree | e632bff1444f357552103cd12799a0c24be88787 /engines/tsage/blue_force/blueforce_speakers.cpp | |
parent | b04a0697820d3dfff1fa09831c1bb362a641c49c (diff) | |
download | scummvm-rg350-651cbe29d6b49c9b7fc96341a4bb29a01901635b.tar.gz scummvm-rg350-651cbe29d6b49c9b7fc96341a4bb29a01901635b.tar.bz2 scummvm-rg350-651cbe29d6b49c9b7fc96341a4bb29a01901635b.zip |
TSAGE: Blue Force - Add speakers used in scene 115
Diffstat (limited to 'engines/tsage/blue_force/blueforce_speakers.cpp')
-rw-r--r-- | engines/tsage/blue_force/blueforce_speakers.cpp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_speakers.cpp b/engines/tsage/blue_force/blueforce_speakers.cpp index 0f506c7122..8af18b43b8 100644 --- a/engines/tsage/blue_force/blueforce_speakers.cpp +++ b/engines/tsage/blue_force/blueforce_speakers.cpp @@ -965,6 +965,59 @@ SpeakerLyleText::SpeakerLyleText(): VisualSpeaker() { _speakerName = "LYLETEXT"; } +/*--------------------------------------------------------------------------*/ + +SpeakerKate::SpeakerKate(): VisualSpeaker() { + _color1 = 108; + + _speakerName = "KATE"; +} + +void SpeakerKate::setText(const Common::String &msg) { + _removeObject1 = _removeObject2 = true; + + _object1.postInit(); + _object1.setVisage(122); + _object1.setStrip2(8); + _object1.fixPriority(254); + _object1.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 270, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + _object2.postInit(); + _object2.setVisage(122); + _object2.setStrip2(1); + _object2.fixPriority(255); + _object2.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 270, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + _object2._numFrames = 7; + VisualSpeaker::setText(msg); + _object2.fixCountdown(8, _numFrames); +} + +/*--------------------------------------------------------------------------*/ + +SpeakerTony::SpeakerTony(): VisualSpeaker() { + _color1 = 108; + _color2 = 8; + + _speakerName = "TONY"; +} + +void SpeakerTony::setText(const Common::String &msg) { + _removeObject2 = true; + + _object2.postInit(); + _object2.setVisage(132); + _object2.setStrip2(1); + _object2.fixPriority(255); + _object2.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 62, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + VisualSpeaker::setText(msg); + _object2.fixCountdown(8, _numFrames); +} + } // End of namespace BlueForce } // End of namespace TsAGE |