diff options
author | Strangerke | 2011-09-28 01:21:36 +0200 |
---|---|---|
committer | Strangerke | 2011-09-28 01:22:18 +0200 |
commit | 446b9b1dbd109c830f14ac8b28dc12cdf93d546d (patch) | |
tree | 371375e977665f5a065f7babb057ed5e2fe11e36 /engines/tsage/blue_force/blueforce_speakers.cpp | |
parent | 8ff61cd9c28bb866454b67e2b5d3e9270c3ffef7 (diff) | |
download | scummvm-rg350-446b9b1dbd109c830f14ac8b28dc12cdf93d546d.tar.gz scummvm-rg350-446b9b1dbd109c830f14ac8b28dc12cdf93d546d.tar.bz2 scummvm-rg350-446b9b1dbd109c830f14ac8b28dc12cdf93d546d.zip |
TSAGE: Add two speakers used in scene 710
Diffstat (limited to 'engines/tsage/blue_force/blueforce_speakers.cpp')
-rw-r--r-- | engines/tsage/blue_force/blueforce_speakers.cpp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_speakers.cpp b/engines/tsage/blue_force/blueforce_speakers.cpp index a75746bc8e..31e1835739 100644 --- a/engines/tsage/blue_force/blueforce_speakers.cpp +++ b/engines/tsage/blue_force/blueforce_speakers.cpp @@ -201,6 +201,35 @@ void SpeakerHarrison::setText(const Common::String &msg) { /*--------------------------------------------------------------------------*/ +SpeakerJake::SpeakerJake(): VisualSpeaker() { + _color1 = 13; + _color2 = 7; + _speakerName = "JAKE"; +} + +void SpeakerJake::setText(const Common::String &msg) { + _removeObject1 = _removeObject2 = true; + + _object1.postInit(); + _object1.setVisage(1001); + _object1.setStrip2(2); + _object1.fixPriority(254); + _object1.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 38, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + _object2.postInit(); + _object2.setVisage(1001); + _object2.setStrip2(1); + _object2.fixPriority(255); + _object2.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 38, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + VisualSpeaker::setText(msg); + _object2.fixCountdown(8, _numFrames); +} + +/*--------------------------------------------------------------------------*/ + SpeakerJakeJacket::SpeakerJakeJacket(): VisualSpeaker() { _color1 = 13; _color2 = 7; @@ -391,6 +420,35 @@ void SpeakerJordan::setText(const Common::String &msg) { /*--------------------------------------------------------------------------*/ +SpeakerSkip::SpeakerSkip(): VisualSpeaker() { + _color1 = 80; + _color2 = 82; + _speakerName = "SKIP"; +} + +void SpeakerSkip::setText(const Common::String &msg) { + _removeObject1 = _removeObject2 = true; + + _object1.postInit(); + _object1.setVisage(345); + _object1.setStrip2(4); + _object1.fixPriority(254); + _object1.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 282, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + _object2.postInit(); + _object2.setVisage(345); + _object2.setStrip2(1); + _object2.fixPriority(255); + _object2.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + 282, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + VisualSpeaker::setText(msg); + _object2.fixCountdown(8, _numFrames); +} + +/*--------------------------------------------------------------------------*/ + SpeakerSkipB::SpeakerSkipB(): VisualSpeaker() { _color1 = 80; _color2 = 82; |