diff options
author | Paul Gilbert | 2011-09-12 21:51:22 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-09-12 21:51:22 +1000 |
commit | 0c2dfd2efca1bee7babf9c6acadaca052e1aae25 (patch) | |
tree | edb6502f5559c277f9f8d07f9d7b17b411ffb00c /engines/tsage/blue_force/blueforce_speakers.cpp | |
parent | a029bb865634bb5138e335ed4acf098997785b9f (diff) | |
download | scummvm-rg350-0c2dfd2efca1bee7babf9c6acadaca052e1aae25.tar.gz scummvm-rg350-0c2dfd2efca1bee7babf9c6acadaca052e1aae25.tar.bz2 scummvm-rg350-0c2dfd2efca1bee7babf9c6acadaca052e1aae25.zip |
TSAGE: Implemented Scene 800 - Jamison & Ryan
Diffstat (limited to 'engines/tsage/blue_force/blueforce_speakers.cpp')
-rw-r--r-- | engines/tsage/blue_force/blueforce_speakers.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_speakers.cpp b/engines/tsage/blue_force/blueforce_speakers.cpp index dc2511dedb..453cb72326 100644 --- a/engines/tsage/blue_force/blueforce_speakers.cpp +++ b/engines/tsage/blue_force/blueforce_speakers.cpp @@ -315,6 +315,36 @@ SpeakerJakeRadio::SpeakerJakeRadio(): VisualSpeaker() { _speakerName = "JAKE_RADIO"; } +/*--------------------------------------------------------------------------*/ + +SpeakerLyleHat::SpeakerLyleHat(): VisualSpeaker() { + _color1 = 29; + _color2 = 89; + _xp = 75; + _speakerName = "LYLEHAT"; +} + +void SpeakerLyleHat::setText(const Common::String &msg) { + _removeObject1 = _removeObject2 = true; + + _object1.postInit(); + _object1.setVisage(278); + _object1.setStrip2(4); + _object1.fixPriority(254); + _object1.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + _xp, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + _object2.postInit(); + _object2.setVisage(278); + _object2.setStrip2(2); + _object2.fixPriority(255); + _object2.setPosition(Common::Point(BF_GLOBALS._sceneManager._scene->_sceneBounds.left + _xp, + BF_GLOBALS._sceneManager._scene->_sceneBounds.top + 166)); + + VisualSpeaker::setText(msg); + _object2.fixCountdown(8, _numFrames); +} + } // End of namespace BlueForce } // End of namespace TsAGE |