ScummVM API documentation
ringworld_scenes2.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef TSAGE_RINGWORLD_SCENES2_H
23 #define TSAGE_RINGWORLD_SCENES2_H
24 
25 #include "common/scummsys.h"
26 #include "tsage/ringworld/ringworld_logic.h"
27 #include "tsage/ringworld/ringworld_speakers.h"
28 #include "tsage/events.h"
29 #include "tsage/core.h"
30 #include "tsage/scenes.h"
31 #include "tsage/globals.h"
32 
33 namespace TsAGE {
34 
35 namespace Ringworld {
36 
37 using namespace TsAGE;
38 
39 class Scene1000 : public Scene {
40  /* Actions */
41  class Action1 : public Action {
42  public:
43  void signal() override;
44  };
45  class Action2 : public Action {
46  public:
47  void signal() override;
48  };
49  class Action3 : public Action {
50  private:
51  void zoom(bool up);
52  public:
53  void signal() override;
54  };
55 
56 public:
57  SceneObject _object1, _object2, _object3, _object4;
58  Action1 _action1;
59  Action2 _action2;
60  Action3 _action3;
61 
62  void postInit(SceneObjectList *OwnerList = NULL) override;
63 };
64 
65 class Scene1001 : public Scene {
66  /* Actions */
67  class Action1 : public Action {
68  public:
69  void signal() override;
70  };
71 public:
72  SpeakerQText _speakerQText;
73  SpeakerSL _speakerSL;
74  SpeakerCText _speakerCText;
75  SpeakerCR _speakerCR;
76  Action1 _action1;
77  SceneObject _object1, _object2, _object3, _object4;
78  SceneObject _object5, _object6, _object7;
79  ASound _soundHandler1, _soundHandler2;
80 
81  void postInit(SceneObjectList *OwnerList = NULL) override;
82 };
83 
84 class Scene1250 : public Scene {
85 public:
86  /* Actions */
87  class Action1 : public Action {
88  public:
89  void signal() override;
90  };
91  class Action2 : public Action {
92  public:
93  void signal() override;
94  };
95  class Action3 : public Action {
96  public:
97  void signal() override;
98  };
99  class Action4 : public Action {
100  public:
101  void signal() override;
102  };
103 public:
104  SpeakerQText _speakerQText;
105  Action1 _action1;
106  Action2 _action2;
107  Action3 _action3;
108  Action4 _action4;
109  SceneObject _object1, _object2;
110 
111  void postInit(SceneObjectList *OwnerList = NULL) override;
112 };
113 
114 class Scene1400 : public Scene {
115 public:
116  /* Actions */
117  class Action1 : public Action {
118  public:
119  void signal() override;
120  void dispatch() override;
121  };
122 public:
123  Action1 _action1;
124 
125  void postInit(SceneObjectList *OwnerList = NULL) override;
126 
127 };
128 
129 class Scene1500 : public Scene {
130 public:
131  /* Actions */
132  class Action1 : public Action {
133  public:
134  void signal() override;
135  };
136  class Action2 : public Action {
137  public:
138  void signal() override;
139  };
140 public:
141  ASound _soundHandler;
142  Action1 _action1;
143  Action2 _action2;
144  SceneObject _object1, _object2, _object3;
145 
146  void postInit(SceneObjectList *OwnerList = NULL) override;
147 };
148 
149 } // End of namespace Ringworld
150 
151 } // End of namespace TsAGE
152 
153 #endif
Definition: ringworld_speakers.h:107
Definition: ringworld_scenes2.h:95
Definition: core.h:736
Definition: core.h:134
Definition: sound.h:366
Definition: ringworld_scenes2.h:136
Definition: ringworld_speakers.h:220
Definition: ringworld_scenes2.h:132
Definition: ringworld_scenes2.h:129
Definition: ringworld_scenes2.h:117
Definition: ringworld_scenes2.h:39
Definition: ringworld_scenes2.h:114
Definition: ringworld_scenes2.h:91
Definition: blueforce_dialogs.h:30
Definition: ringworld_speakers.h:228
Definition: scenes.h:33
Definition: ringworld_scenes2.h:65
Definition: core.h:519
Definition: ringworld_scenes2.h:87
Definition: ringworld_scenes2.h:84
Definition: ringworld_scenes2.h:99
Definition: ringworld_speakers.h:93