diff options
author | Paul Gilbert | 2011-09-11 15:30:34 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-09-11 15:30:34 +1000 |
commit | 406a8ca10e000fcad82f9349f944ecf51adbc0cd (patch) | |
tree | f5bd6ce4d6db8e5b24aadb0bb91e559d70369d30 /engines/tsage/blue_force/blueforce_scenes3.h | |
parent | 7b73ae590c548de3006de3a720adabf2bcdf7025 (diff) | |
download | scummvm-rg350-406a8ca10e000fcad82f9349f944ecf51adbc0cd.tar.gz scummvm-rg350-406a8ca10e000fcad82f9349f944ecf51adbc0cd.tar.bz2 scummvm-rg350-406a8ca10e000fcad82f9349f944ecf51adbc0cd.zip |
TSAGE: Reworked item startAction calls from void to bool, to accommodate Blue Force changes
Diffstat (limited to 'engines/tsage/blue_force/blueforce_scenes3.h')
-rw-r--r-- | engines/tsage/blue_force/blueforce_scenes3.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes3.h b/engines/tsage/blue_force/blueforce_scenes3.h index df03057af2..18911d58fb 100644 --- a/engines/tsage/blue_force/blueforce_scenes3.h +++ b/engines/tsage/blue_force/blueforce_scenes3.h @@ -47,29 +47,29 @@ class Scene300: public SceneExt { public: Object(int stripNumber) { _stripNumber = stripNumber; } - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Object19: public NamedObject { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; /* Items */ class Item1: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item2: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item14: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item15: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; /* Actions */ @@ -135,49 +135,49 @@ class Scene315: public SceneExt { /* Objects */ class Object1: public NamedObject { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Object2: public NamedObject { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Object3: public NamedObject { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; /* Items */ class Item1: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item2: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item4: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item5: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item14: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item15: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item16: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; class Item17: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; /* Actions */ @@ -230,7 +230,7 @@ class Scene325: public SceneExt { /* Items */ class Item1: public NamedHotspot { public: - virtual void startAction(CursorType action, Event &event); + virtual bool startAction(CursorType action, Event &event); }; public: SequenceManager _sequenceManager; |