diff options
author | Paul Gilbert | 2011-09-17 17:41:12 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-09-17 17:41:12 +1000 |
commit | fba3fc360221670bc9a2209f7b994273141721a5 (patch) | |
tree | 7b4dfd464a2e660c46686ce0ae8415a7f4d5f7ec /engines/tsage/blue_force/blueforce_scenes3.h | |
parent | 0668a56f69797d26ab074d6949ed6c7870791e53 (diff) | |
download | scummvm-rg350-fba3fc360221670bc9a2209f7b994273141721a5.tar.gz scummvm-rg350-fba3fc360221670bc9a2209f7b994273141721a5.tar.bz2 scummvm-rg350-fba3fc360221670bc9a2209f7b994273141721a5.zip |
TSAGE: Implemented Blue Force scene 385 - City Hall
Diffstat (limited to 'engines/tsage/blue_force/blueforce_scenes3.h')
-rw-r--r-- | engines/tsage/blue_force/blueforce_scenes3.h | 59 |
1 files changed, 56 insertions, 3 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes3.h b/engines/tsage/blue_force/blueforce_scenes3.h index b2b57c279b..a2bc4270af 100644 --- a/engines/tsage/blue_force/blueforce_scenes3.h +++ b/engines/tsage/blue_force/blueforce_scenes3.h @@ -368,7 +368,7 @@ public: Scene340(); virtual void synchronize(Serializer &s); virtual void postInit(SceneObjectList *OwnerList = NULL); - void remove(); + virtual void remove(); virtual void signal(); virtual void process(Event &event); virtual void dispatch(); @@ -424,7 +424,7 @@ public: Scene342(); virtual void synchronize(Serializer &s); virtual void postInit(SceneObjectList *OwnerList = NULL); - void remove(); + virtual void remove(); virtual void signal(); virtual void process(Event &event); virtual void dispatch(); @@ -484,12 +484,65 @@ public: Scene350(); virtual void postInit(SceneObjectList *OwnerList = NULL); - void remove(); + virtual void remove(); virtual void signal(); virtual void process(Event &event); virtual void checkGun(); }; +class Scene385: public SceneExt { + /* Items */ + class Exit: public NamedHotspot { + public: + virtual bool startAction(CursorType action, Event &event); + }; + + /* Objects */ + class Door: public NamedObject { + public: + virtual bool startAction(CursorType action, Event &event); + }; + class Jim: public NamedObject { + public: + virtual bool startAction(CursorType action, Event &event); + }; + class Dezi: public NamedObject { + public: + virtual bool startAction(CursorType action, Event &event); + }; + + /* Actions */ + class Action1: public Action { + public: + virtual void signal(); + }; + class Action2: public Action { + public: + virtual void signal(); + }; +public: + SequenceManager _sequenceManager; + Action1 _action1; + Action2 _action2; + Door _door; + Jim _jim; + Dezi _dezi; + SpeakerGameText _gameTextSpeaker; + SpeakerJim _jimSpeaker; + SpeakerDezi _deziSpeaker; + SpeakerJake385 _jake385Speaker; + NamedHotspot _item1, _item2, _item3, _item4, _item5; + Exit _exit; + int _talkAction, _jimFlag; + + Scene385(); + virtual void synchronize(Serializer &s); + virtual void postInit(SceneObjectList *OwnerList = NULL); + virtual void signal(); + virtual void process(Event &event); + virtual void dispatch(); +}; + } // End of namespace BlueForce } // End of namespace TsAGE |