ScummVM API documentation
ringworld_scenes8.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_SCENES8_H
23 #define TSAGE_RINGWORLD_SCENES8_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 
40 public:
41  int _useLineNum, _lookLineNum;
43 
44  Common::String getClassName() override { return "NamedHotspotMult"; }
45  void synchronize(Serializer &s) override;
46 };
47 
49 public:
50  int _lookLineNum, _defltLineNum;
51 
52  void synchronize(Serializer &s) override;
53  Common::String getClassName() override { return "SceneObject7700"; }
54 };
55 
56 class Scene7000 : public Scene {
57  /* Actions */
58  class Action1 : public Action {
59  public:
60  void signal() override;
61  };
62  class Action2 : public Action {
63  public:
64  void signal() override;
65  };
66  class Action3 : public Action {
67  public:
68  void dispatch() override;
69  void signal() override;
70  };
71  class Action4 : public Action {
72  public:
73  void signal() override;
74  };
75  class Action5 : public Action {
76  public:
77  void signal() override;
78  };
79  class Action6 : public Action {
80  public:
81  void signal() override;
82  };
83  class Action7 : public Action {
84  public:
85  void signal() override;
86  };
87 
88  /* Objects */
89  class Object1 : public SceneObject {
90  public:
91  void doAction(int action) override;
92  };
93 
94  /* Items */
95  class Hotspot1 : public SceneHotspot {
96  public:
97  void doAction(int action) override;
98  };
99 
100 public:
101  ASound _soundHandler;
102  SequenceManager _sequenceManager;
103  SpeakerSKText _speakerSKText;
104  SpeakerSKL _speakerSKL;
105  SpeakerQL _speakerQL;
106  SpeakerQR _speakerQR;
107  SpeakerQText _speakerQText;
108  Object1 _object1;
109  SceneObject _object2;
110  SceneObject _object3;
111  SceneObject _object4;
112  SceneObject _object5;
113  SceneObject _object6;
114  SceneObject _object7;
115  SceneObject _object8;
116  SceneObject _object9;
117  SceneObject _object10;
118  Action1 _action1;
119  Action2 _action2;
120  Action3 _action3;
121  Action4 _action4;
122  Action5 _action5;
123  Action6 _action6;
124  Action7 _action7;
125  Hotspot1 _hotspot1;
126 
127  void postInit(SceneObjectList *OwnerList = NULL) override;
128  void signal() override;
129  void dispatch() override;
130 };
131 
132 class Scene7100 : public Scene {
133  /* Actions */
134  class Action3 : public Action {
135  public:
136  void signal() override;
137  };
138  class Action4 : public Action {
139  public:
140  void signal() override;
141  };
142  class Action5 : public Action {
143  public:
144  void signal() override;
145  };
146  class Action6 : public Action {
147  public:
148  void signal() override;
149  };
150  class Action7 : public Action {
151  public:
152  void signal() override;
153  };
154  class Action8 : public Action {
155  public:
156  void signal() override;
157  };
158  class Action9 : public Action {
159  public:
160  void signal() override;
161  };
162  class Action10 : public Action {
163  public:
164  void signal() override;
165  };
166  class Action11 : public Action {
167  public:
168  void signal() override;
169  };
170 
171 public:
172  ASound _soundHandler1;
173  ASound _soundHandler2;
174  SceneObject _object1;
175  SceneObject _object2;
176  SceneObject _object3;
177  SceneObject _object4;
178  SceneObject _object5;
179  SceneObject _object6;
180  SceneObject _object7;
181  SceneObject _object8;
182  SceneObject _object9;
183  SceneObject _object10;
184  SceneObject _object11;
185  SceneObject _object12;
186  SceneObject _object13;
187  SceneObject _object14;
188  SceneObject _object15;
189  SceneObject _object16;
190  SceneObject _object17;
191  SceneObject _object18;
192  SceneObject _object19;
193  SceneObject _object20;
194  SceneObject _object21;
195  SceneObject _object22;
196  SceneObject _object23;
197  SceneObject _object24;
198  SceneObject _object25;
199  Action _action1;
200  Action _action2;
201  Action3 _action3;
202  Action4 _action4;
203  Action5 _action5;
204  Action6 _action6;
205  Action7 _action7;
206  Action8 _action8;
207  Action9 _action9;
208  Action10 _action10;
209  Action11 _action11;
210 
211  void postInit(SceneObjectList *OwnerList = NULL) override;
212 };
213 
214 class Scene7200 : public Scene {
215  /* Actions */
216  class Action1 : public Action {
217  public:
218  void signal() override;
219  };
220  class Action2 : public Action {
221  public:
222  void signal() override;
223  };
224 
225 public:
226  Action1 _action1;
227  Action2 _action2;
228  SceneObject _swimmer;
229  SceneObject _object2;
230  SceneObject _object3;
231  SceneObject _object4;
232  SceneObject _object5;
233  SceneObject _object6;
234  SceneObject _object7;
235  SceneObject _object8;
236  SceneObject _object9;
237  ASound _soundHandler;
238 
239  void postInit(SceneObjectList *OwnerList = NULL) override;
240 };
241 
242 class Scene7300 : public Scene {
243  /* Actions */
244  class Action1 : public Action {
245  public:
246  void signal() override;
247  };
248  class Action2 : public Action {
249  public:
250  void signal() override;
251  };
252  class Action3 : public Action {
253  public:
254  void signal() override;
255  };
256  class Action4 : public Action {
257  public:
258  void signal() override;
259  };
260 
261 public:
262  SpeakerPOR _speakerPOR;
263  SpeakerPOText _speakerPOText;
264  SpeakerSKText _speakerSKText;
265  SpeakerQU _speakerQU;
266  SceneObject _object1;
267  SceneObject _object2;
268  SceneObject _object3;
269  SceneObject _object4;
270  SceneObject _object5;
271  SceneObject _object6;
272  SceneObject _object7;
273  SceneObject _object8;
274  Action1 _action1;
275  Action2 _action2;
276  Action3 _action3;
277  Action4 _action4;
278 
279  void postInit(SceneObjectList *OwnerList = NULL) override;
280  void dispatch() override;
281 };
282 
283 class Scene7600 : public Scene {
284  /* Actions */
285  class Action1 : public Action {
286  public:
287  void signal() override;
288  };
289  class Action2 : public Action {
290  public:
291  void signal() override;
292  };
293 
294 public:
295  Action1 _action1;
296  Action2 _action2;
297  SceneObject _object1;
298  SceneObject _object2;
299  SceneObject _object3;
300  SceneObject _object4;
301  SceneObject _object5;
302  SceneObject _object6;
303  ASound _soundHandler1;
304  ASound _soundHandler2;
305 
306  void postInit(SceneObjectList *OwnerList = NULL) override;
307 };
308 
309 class Scene7700 : public Scene {
310  /* Actions */
311  class Action1 : public Action {
312  public:
313  void signal() override;
314  };
315  class Action2 : public Action {
316  public:
317  void signal() override;
318  };
319  class Action3 : public Action {
320  public:
321  void signal() override;
322  };
323  class Action4 : public Action {
324  public:
325  void signal() override;
326  };
327  class Action5 : public Action {
328  public:
329  void signal() override;
330  };
331  class Action6 : public Action {
332  public:
333  void signal() override;
334  };
335 
336  class Object1 : public SceneObject7700 {
337  public:
338  void signal() override;
339  void doAction(int action) override;
340  };
341  class Object3 : public SceneObject {
342  public:
343  void doAction(int action) override;
344  };
345  class Object7 : public SceneObjectExt {
346  public:
347  void doAction(int action) override;
348  };
349  class Object8 : public SceneObject {
350  public:
351  void doAction(int action) override;
352  };
353  class Object9 : public SceneObject {
354  public:
355  void doAction(int action) override;
356  };
357  class Object10 : public SceneObject {
358  public:
359  void doAction(int action) override;
360  };
361  class Object11 : public SceneObject {
362  public:
363  void doAction(int action) override;
364  };
365  class Object12 : public SceneObject {
366  public:
367  void doAction(int action) override;
368  };
369 
370  /* Items */
371  class SceneHotspot1 : public SceneHotspot {
372  public:
373  void doAction(int action) override;
374  };
375  class SceneHotspot2 : public SceneHotspot {
376  public:
377  void doAction(int action) override;
378  };
379  class SceneHotspot3 : public SceneHotspot {
380  public:
381  void doAction(int action) override;
382  };
383  class SceneHotspot4 : public SceneHotspot {
384  public:
385  void doAction(int action) override;
386  };
387  class SceneHotspot5 : public SceneHotspot {
388  public:
389  void doAction(int action) override;
390  };
391  class SceneHotspot6 : public SceneHotspot {
392  public:
393  void doAction(int action) override;
394  };
395  class SceneItem7 : public SceneItem {
396  public:
397  void doAction(int action) override;
398  };
399  class SceneHotspot8 : public SceneHotspot {
400  public:
401  void doAction(int action) override;
402  };
403  class SceneHotspot9 : public SceneHotspot {
404  public:
405  void doAction(int action) override;
406  };
407  class SceneItem10 : public SceneItem {
408  public:
409  void doAction(int action) override;
410  };
411  class SceneHotspot11 : public NamedHotspotMult {
412  public:
413  void doAction(int action) override;
414  };
415 public:
416  ASound _soundHandler;
417  SequenceManager _sequenceManager;
418  GfxButton _gfxButton;
419  SpeakerEText _speakerEText;
420  SpeakerQText _speakerQText;
421  Object1 _object1;
422  Object1 _object2;
423  Object3 _object3;
424  Object1 _object4;
425  Object1 _object5;
426  Object1 _object6;
427  Object7 _prof;
428  Object8 _object8;
429  Object9 _object9;
430  Object10 _object10;
431  Object11 _cork;
432  Object12 _emptyJar;
433  SceneObject _object13;
434  SceneObject _object14;
435  SceneObject _object15;
436  SceneObject _cloud;
437  SceneObject _easterEgg1;
438  SceneObject _easterEgg2;
439  SceneObject _object19;
440  Action1 _action1;
441  Action2 _action2;
442  Action3 _action3;
443  Action4 _action4;
444  Action5 _action5;
445  Action6 _action6;
446  SceneHotspot1 _sceneHotspot1;
447  SceneHotspot2 _sceneHotspot2;
448  SceneHotspot3 _sceneHotspot3;
449  SceneHotspot4 _sceneHotspot4;
450  SceneHotspot5 _sceneHotspot5;
451  SceneHotspot6 _sceneHotspot6;
452  SceneItem7 _sceneItem7;
453  SceneHotspot8 _sceneHotspot8;
454  SceneHotspot9 _sceneHotspot9;
455  SceneItem10 _sceneItem10;
456  SceneHotspot11 _sceneHotspot11;
457  SceneHotspot11 _sceneHotspot12;
458  SceneHotspot11 _sceneHotspot13;
459  SceneHotspot11 _sceneHotspot14;
460  SceneHotspot11 _sceneHotspot15;
461  SceneHotspot11 _sceneHotspot16;
462  SceneHotspot11 _sceneHotspot17;
463  SceneHotspot11 _sceneHotspot18;
464  SceneHotspot11 _sceneHotspot19;
465  SceneHotspot11 _sceneHotspot20;
466  SceneHotspot11 _sceneHotspot21;
467  SceneHotspot11 _sceneHotspot22;
468  SceneHotspot11 _sceneHotspot23;
469  SceneHotspot11 _sceneHotspot24;
470  SceneHotspot11 _sceneHotspot25;
471  SceneHotspot11 _sceneHotspot26;
472  SceneHotspot11 _sceneHotspot27;
473  SceneHotspot11 _sceneHotspot28;
474  SceneHotspot11 _sceneHotspot29;
475  SceneHotspot11 _sceneHotspot30;
476  SceneHotspot11 _sceneHotspot31;
477  SceneHotspot11 _sceneHotspot32;
478  SceneHotspot11 _sceneHotspot33;
479  SceneHotspot11 _sceneHotspot34;
480  SceneHotspot11 _sceneHotspot35;
481  SceneHotspot11 _sceneHotspot36;
482  int _seatCountLeft1, _seatCountRight, _seatCountLeft2;
483 
484  Scene7700();
485  void postInit(SceneObjectList *OwnerList = NULL) override;
486  void signal() override;
487  void process(Event &event) override;
488  void dispatch() override;
489  void synchronize(Serializer &s) override;
490 };
491 
492 } // End of namespace Ringworld
493 
494 } // End of namespace TsAGE
495 
496 #endif
Definition: ringworld_speakers.h:50
Definition: ringworld_speakers.h:79
Definition: core.h:443
Definition: str.h:59
Definition: ringworld_scenes8.h:39
Definition: core.h:736
Definition: core.h:134
Definition: core.h:407
Definition: sound.h:366
Definition: ringworld_speakers.h:150
Definition: ringworld_logic.h:68
Definition: ringworld_scenes8.h:283
Definition: ringworld_scenes8.h:309
Definition: ringworld_scenes8.h:56
Definition: ringworld_scenes8.h:132
Definition: ringworld_scenes8.h:214
Definition: ringworld_scenes8.h:242
Definition: ringworld_speakers.h:202
Definition: ringworld_speakers.h:178
Definition: events.h:47
Definition: blueforce_dialogs.h:30
Definition: graphics.h:237
Definition: saveload.h:63
Definition: ringworld_speakers.h:194
Definition: ringworld_speakers.h:186
Definition: scenes.h:33
Definition: core.h:519
Definition: ringworld_speakers.h:93
Definition: converse.h:38
Definition: ringworld_scenes8.h:48
Definition: ringworld_speakers.h:114