diff options
author | Paul Gilbert | 2013-09-15 20:41:44 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-09-15 20:41:44 -0400 |
commit | 395c94401a407f77d11ff142bbe648bb7b21d5c6 (patch) | |
tree | 5efe372e6538a90ce8b7efd421aca7aa4b40aba6 /engines/tsage/ringworld2/ringworld2_scenes2.h | |
parent | 829e281546338db9c12f55d4744c9a260df96f55 (diff) | |
download | scummvm-rg350-395c94401a407f77d11ff142bbe648bb7b21d5c6.tar.gz scummvm-rg350-395c94401a407f77d11ff142bbe648bb7b21d5c6.tar.bz2 scummvm-rg350-395c94401a407f77d11ff142bbe648bb7b21d5c6.zip |
TSAGE: Added a Skip button to the R2R balloon scene to allow skipping it
Diffstat (limited to 'engines/tsage/ringworld2/ringworld2_scenes2.h')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes2.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes2.h b/engines/tsage/ringworld2/ringworld2_scenes2.h index 0c2b971cda..422507883f 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes2.h +++ b/engines/tsage/ringworld2/ringworld2_scenes2.h @@ -689,6 +689,10 @@ class Scene2900 : public SceneExt { public: virtual bool startAction(CursorType action, Event &event); }; + class Skip : public NamedHotspot { + public: + virtual bool startAction(CursorType action, Event &event); + }; /* Actions */ class Action1: public Action { @@ -696,7 +700,7 @@ class Scene2900 : public SceneExt { void signal(); }; - /* Custom classes */ + /* Miscellaneous */ class Map { private: void moveArea(Rect &r, int xAmt, int yAmt); @@ -731,8 +735,10 @@ public: Altimeter _altimeter; KnobLeft _knobLeft; KnobRight _knobRight; + Skip _skip; Action1 _action1; Map _map; + SceneText _skipText; int _field412; bool _altitudeChanging; |