ScummVM API documentation
ringworld_scenes6.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_SCENES6_H
23 #define TSAGE_RINGWORLD_SCENES6_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 Scene5000 : public Scene {
40  /* Actions */
41  class Action1 : public Action {
42  public:
43  void signal() override;
44  void dispatch() override;
45  };
46  class Action2 : public Action {
47  public:
48  void signal() override;
49  };
50  class Action3 : public Action {
51  public:
52  void signal() override;
53  };
54  class Action4 : public Action {
55  public:
56  void signal() override;
57  };
58  class Action5 : public Action {
59  public:
60  void signal() override;
61  };
62  class Action6 : public Action {
63  public:
64  void signal() override;
65  };
66 
67  /* Hotspots */
68  class Hotspot7 : public SceneObject {
69  public:
70  void doAction(int action) override;
71  };
72  class Hotspot8 : public SceneObject {
73  public:
74  void doAction(int action) override;
75  };
76  class HotspotGroup1 : public SceneObject {
77  public:
78  void doAction(int action) override;
79  };
80 public:
81  SequenceManager _sequenceManager;
82  ASound _soundHandler;
83  SpeakerSText _speakerSText;
84  SpeakerQText _speakerQText;
85  Action1 _action1;
86  Action2 _action2;
87  Action3 _action3;
88  Action4 _action4;
89  Action5 _action5;
90  Action6 _action6;
91  DisplayHotspot _hotspot1;
92  SceneObject _hotspot2, _hotspot3, _hotspot4, _hotspot5, _hotspot6;
93  Hotspot7 _hotspot7;
94  Hotspot8 _hotspot8;
95  HotspotGroup1 _hotspot9, _hotspot10, _hotspot11;
96  DisplayHotspot _hotspot12, _hotspot13, _hotspot14, _hotspot15;
97  DisplayHotspot _hotspot16, _hotspot17, _hotspot18;
98 
99  Scene5000();
100  void postInit(SceneObjectList *OwnerList = NULL) override;
101  void signal() override;
102  void dispatch() override;
103 };
104 
105 class Scene5100 : public Scene {
106  /* Actions */
107  class Action1 : public Action {
108  public:
109  void signal() override;
110  };
111  class Action2 : public Action {
112  public:
113  void signal() override;
114  };
115  class Action3 : public Action {
116  public:
117  void signal() override;
118  };
119  class Action4 : public Action {
120  public:
121  void signal() override;
122  };
123  class Action5 : public Action {
124  public:
125  void signal() override;
126  };
127  class Action6 : public Action {
128  public:
129  void signal() override;
130  };
131 
132  /* Hotspots */
133  class HotspotGroup1 : public SceneObject {
134  public:
135  void doAction(int action) override;
136  };
137  class HotspotGroup2 : public SceneObject {
138  public:
139  void doAction(int action) override;
140  };
141  class Hotspot4 : public SceneObject {
142  public:
143  void doAction(int action) override;
144  };
145  class Hotspot9 : public SceneObject {
146  public:
147  void doAction(int action) override;
148  };
149  class Hotspot17 : public SceneObject {
150  public:
151  void doAction(int action) override;
152  };
153  class Hotspot18 : public SceneHotspot {
154  public:
155  int _index1;
156  int _index2;
157 
158  void doAction(int action) override;
159  };
160  class Hotspot19 : public SceneObject {
161  public:
162  void doAction(int action) override;
163  };
164  class Hotspot20 : public SceneObject {
165  public:
166  void doAction(int action) override;
167  };
168 public:
169  SequenceManager _sequenceManager;
170  ASound _soundHandler;
171  SpeakerMText _speakerMText;
172  SpeakerQText _speakerQText;
173  SpeakerSText _speakerSText;
174  SpeakerBatText _speakerBatText;
175  SpeakerGameText _speakerGameText;
176  Action1 _action1;
177  Action2 _action2;
178  Action3 _action3;
179  Action4 _action4;
180  Action5 _action5;
181  HotspotGroup1 _hotspot1, _hotspot2, _hotspot3;
182  Hotspot4 _hotspot4;
183  HotspotGroup2 _hotspot5, _hotspot6, _hotspot7;
184  SceneObject _hotspot8;
185  Hotspot9 _hotspot9;
186  SceneObject _hotspot10, _hotspot11, _hotspot12, _hotspot13, _hotspot14, _hotspot15;
187  DisplayHotspot _hotspot16;
188  Hotspot17 _hotspot17;
189  Hotspot18 _hotspot18;
190  Hotspot19 _hotspot19;
191  Hotspot20 _hotspot20;
192  DisplayHotspot _hotspot21;
193 
194  Scene5100();
195  void postInit(SceneObjectList *OwnerList = NULL) override;
196  void signal() override;
197  void dispatch() override;
198 };
199 
200 class Scene5200 : public Scene {
201  /* Actions */
202  class Action1 : public Action {
203  public:
204  void signal() override;
205  };
206  class Action2 : public Action {
207  public:
208  void signal() override;
209  };
210  class Action3 : public Action {
211  public:
212  void signal() override;
213  };
214  class Action4 : public Action {
215  public:
216  void signal() override;
217  };
218 
219  /* Hotspots */
220  class Hotspot9 : public SceneObjectExt {
221  public:
222  void doAction(int action) override;
223  };
224  class Hotspot10 : public SceneObjectExt {
225  public:
226  void doAction(int action) override;
227  };
228  class Hotspot14 : public SceneObject {
229  public:
230  void doAction(int action) override;
231  };
232 public:
233  ASound _soundHandler;
234  SpeakerFLL _speakerFLL;
235  SpeakerFLText _speakerFLText;
236  SpeakerQL _speakerQL;
237  SpeakerQText _speakerQText;
238  SpeakerGameText _speakerGameText;
239  Action1 _action1;
240  Action2 _action2;
241  Action3 _action3;
242  Action4 _action4;
243 
244  SceneObject _hotspot1, _hotspot2, _hotspot3, _hotspot4, _hotspot5, _hotspot6, _hotspot7;
245  SceneObject _hotspot8;
246  Hotspot9 _hotspot9;
247  Hotspot10 _hotspot10;
248  DisplayHotspot _hotspot11, _hotspot12, _hotspot13;
249  Hotspot14 _hotspot14;
250 
251  Scene5200();
252  void stripCallback(int v) override;
253  void postInit(SceneObjectList *OwnerList = NULL) override;
254  void dispatch() override;
255 };
256 
257 class Scene5300 : public Scene {
258  /* Actions */
259  class Action1 : public Action {
260  public:
261  void signal() override;
262  };
263  class Action2 : public Action {
264  public:
265  void signal() override;
266  };
267  class Action3 : public Action {
268  public:
269  void signal() override;
270  };
271 
272  /* Hotspots */
273  class Hotspot1 : public SceneObject {
274  public:
275  void doAction(int action) override;
276  };
277  class Hotspot2 : public SceneObject {
278  public:
279  void doAction(int action) override;
280  };
281  class Hotspot5 : public SceneObject {
282  public:
283  void doAction(int action) override;
284  };
285  class Hotspot6 : public SceneObject {
286  public:
287  void doAction(int action) override;
288  };
289  class Hotspot7 : public SceneObject {
290  public:
291  void doAction(int action) override;
292  };
293  class Hotspot8 : public SceneObject {
294  public:
295  void doAction(int action) override;
296  };
297 public:
298  ASound _soundHandler;
299  SequenceManager _sequenceManager;
300  SpeakerQR _speakerQR;
301  SpeakerQL _speakerQL;
302  SpeakerQText _speakerQText;
303  SpeakerBatR _speakerBatR;
304  SpeakerBatText _speakerBatText;
305  SpeakerSR _speakerSR;
306  SpeakerSL _speakerSL;
307  SpeakerSText _speakerSText;
308  SpeakerGameText _speakerGameText;
309  Action1 _action1;
310  Action2 _action2;
311  Action3 _action3;
312  Hotspot1 _hotspot1;
313  Hotspot2 _hotspot2;
314  DisplayHotspot _hotspot3;
315  SceneObject _hotspot4;
316  Hotspot5 _hotspot5;
317  Hotspot6 _hotspot6;
318  Hotspot7 _hotspot7;
319  Hotspot8 _hotspot8;
320 
321  Scene5300();
322  void postInit(SceneObjectList *OwnerList = NULL) override;
323  void signal() override;
324  void synchronize(Serializer &s) override;
325 };
326 
327 } // End of namespace Ringworld
328 
329 } // End of namespace TsAGE
330 
331 #endif
Definition: core.h:443
Definition: core.h:736
Definition: core.h:134
Definition: sound.h:366
Definition: ringworld_logic.h:68
Definition: ringworld_speakers.h:86
Definition: ringworld_logic.h:42
Definition: ringworld_speakers.h:220
Definition: ringworld_scenes6.h:39
Definition: ringworld_scenes6.h:105
Definition: ringworld_scenes6.h:200
Definition: ringworld_scenes6.h:257
Definition: converse.h:101
Definition: ringworld_speakers.h:202
Definition: ringworld_speakers.h:316
Definition: ringworld_speakers.h:210
Definition: ringworld_speakers.h:178
Definition: blueforce_dialogs.h:30
Definition: saveload.h:63
Definition: ringworld_speakers.h:100
Definition: ringworld_speakers.h:324
Definition: scenes.h:33
Definition: core.h:519
Definition: ringworld_speakers.h:171
Definition: ringworld_speakers.h:164
Definition: ringworld_speakers.h:93
Definition: converse.h:38