22 #ifndef TSAGE_RINGWORLD2_SCENES2_H 23 #define TSAGE_RINGWORLD2_SCENES2_H 25 #include "common/scummsys.h" 26 #include "tsage/converse.h" 27 #include "tsage/events.h" 28 #include "tsage/core.h" 29 #include "tsage/scenes.h" 30 #include "tsage/globals.h" 31 #include "tsage/sound.h" 32 #include "tsage/ringworld2/ringworld2_logic.h" 33 #include "tsage/ringworld2/ringworld2_speakers.h" 37 namespace Ringworld2 {
39 using namespace TsAGE;
44 void signal()
override;
49 void changeScene()
override;
53 void changeScene()
override;
57 void changeScene()
override;
61 void changeScene()
override;
65 void changeScene()
override;
79 Action1 _action1, _action2, _action3, _action4, _action5;
84 void remove()
override;
85 void signal()
override;
86 void process(
Event &event)
override;
95 bool startAction(CursorType action,
Event &event)
override;
98 bool startAction(CursorType action,
Event &event)
override;
102 void changeScene()
override;
105 void changeScene()
override;
112 Companion _companion;
120 void remove()
override;
121 void signal()
override;
126 void changeScene()
override;
129 void changeScene()
override;
137 void signal()
override;
143 bool startAction(CursorType action,
Event &event)
override;
147 bool startAction(CursorType action,
Event &event)
override;
151 bool startAction(CursorType action,
Event &event)
override;
155 bool startAction(CursorType action,
Event &event)
override;
160 bool startAction(CursorType action,
Event &event)
override;
164 bool startAction(CursorType action,
Event &event)
override;
169 void changeScene()
override;
172 RopeDest1 _ropeDest1;
173 RopeDest2 _ropeDest2;
175 Background _background;
177 Pictographs _pictographs1;
178 Pictographs _pictographs2;
179 SouthEastExit _southEastExit;
183 void remove()
override;
184 void signal()
override;
190 bool startAction(CursorType action,
Event &event)
override;
194 bool startAction(CursorType action,
Event &event)
override;
198 bool startAction(CursorType action,
Event &event)
override;
203 void changeScene()
override;
219 Companion _companion;
220 GunPowder _gunPowder;
222 SouthExit _southExit;
226 void signal()
override;
232 bool startAction(CursorType action,
Event &event)
override;
236 bool startAction(CursorType action,
Event &event)
override;
241 void changeScene()
override;
250 Companion _companion;
252 SouthExit _southExit;
256 void remove()
override;
257 void signal()
override;
263 bool startAction(CursorType action,
Event &event)
override;
267 bool startAction(CursorType action,
Event &event)
override;
272 void changeScene()
override;
282 Companion _companion;
284 SouthEastExit _southEastExit;
288 void remove()
override;
289 void signal()
override;
297 void signal()
override;
303 bool startAction(CursorType action,
Event &event)
override;
307 bool startAction(CursorType action,
Event &event)
override;
312 void changeScene()
override;
323 CareTaker _careTaker;
324 SouthWestExit _southWestExit;
328 void remove()
override;
329 void signal()
override;
335 bool startAction(CursorType action,
Event &event)
override;
339 bool startAction(CursorType action,
Event &event)
override;
343 bool startAction(CursorType action,
Event &event)
override;
348 void changeScene()
override;
354 ScrithKey _scrithKey;
355 NorthExit _northExit;
359 void remove()
override;
360 void signal()
override;
366 void changeScene()
override;
381 void signal()
override;
387 bool startAction(CursorType action,
Event &event)
override;
392 bool startAction(CursorType action,
Event &event)
override;
397 void changeScene()
override;
407 GlassDome _glassDome;
408 SouthExit _southExit;
412 void remove()
override;
413 void signal()
override;
419 bool startAction(CursorType action,
Event &event)
override;
423 bool startAction(CursorType action,
Event &event)
override;
428 void changeScene()
override;
439 SouthExit _southExit;
443 void signal()
override;
449 bool startAction(CursorType action,
Event &event)
override;
453 bool startAction(CursorType action,
Event &event)
override;
458 void changeScene()
override;
470 RebreatherTank _rebreatherTank;
471 TannerMask _tannerMask;
472 SouthExit _southExit;
476 void signal()
override;
487 void remove()
override;
488 void signal()
override;
492 class Action1:
public Action {
494 void signal()
override;
496 class Action2:
public Action {
498 void signal()
override;
500 class Action3:
public Action {
502 void signal()
override;
504 class Action4:
public Action {
506 void signal()
override;
511 void process(
Event &event)
override;
515 void process(
Event &event)
override;
535 SouthExit _southExit;
537 Rect _walkRect1, _walkRect2, _walkRect3;
538 Rect _walkRect4, _walkRect5, _walkRect6;
540 int _areaMode, _moveMode, _stripNumber;
545 void signal()
override;
546 void process(
Event &event)
override;
550 class Action1:
public Action {
552 void signal()
override;
554 class Action2:
public Action {
556 void signal()
override;
558 class Action3:
public Action {
560 void signal()
override;
562 class Action4:
public Action {
564 void signal()
override;
566 class Action5:
public Action {
568 void signal()
override;
570 class Action6:
public Action {
572 void signal()
override;
574 class Action7:
public Action {
576 void signal()
override;
581 void process(
Event &event)
override;
585 void process(
Event &event)
override;
615 Rect _walkRect1, _walkRect2, _walkRect3;
617 int _areaMode, _moveMode, _stripNumber;
622 void signal()
override;
623 void process(
Event &event)
override;
629 bool startAction(CursorType action,
Event &event)
override;
633 bool startAction(CursorType action,
Event &event)
override;
636 class Action1:
public Action {
638 void signal()
override;
640 class Action2:
public Action {
645 void signal()
override;
665 void signal()
override;
672 bool startAction(CursorType action,
Event &event)
override;
676 bool startAction(CursorType action,
Event &event)
override;
680 bool startAction(CursorType action,
Event &event)
override;
684 bool startAction(CursorType action,
Event &event)
override;
688 bool startAction(CursorType action,
Event &event)
override;
692 bool startAction(CursorType action,
Event &event)
override;
696 class Action1:
public Action {
698 void signal()
override;
704 void moveArea(
Rect &r,
int xAmt,
int yAmt);
705 void moveLine(
int xpSrc,
int ypSrc,
int xpDest,
int ypDest,
int width);
707 void drawBlock(
const byte *data,
int xp,
int yp,
const Rect &r1,
const Rect &r2);
709 int _mapWidth, _mapHeight;
715 void load(
int resNum);
718 void redraw(
Rect *updateRect = NULL);
728 ControlPanel _controlPanel;
729 Altimeter _altimeter;
731 KnobRight _knobRight;
737 bool _controlsActiveChanging;
738 bool _altitudeChanging;
739 bool _majorMinorFlag;
740 int _altitudeMinorChange;
741 int _altitudeMajorChange;
748 bool _paletteReloadNeeded;
753 void remove()
override;
754 void signal()
override;
755 void dispatch()
override;
756 void refreshBackground(
int xAmount,
int yAmount)
override;
Definition: ringworld2_logic.h:243
Definition: ringworld2_scenes2.h:187
Definition: ringworld2_scenes2.h:416
Definition: ringworld2_speakers.h:452
Definition: ringworld2_speakers.h:610
Definition: ringworld2_logic.h:78
Definition: ringworld2_speakers.h:296
Definition: ringworld2_logic.h:263
Definition: ringworld2_scenes2.h:41
Definition: ringworld2_scenes2.h:124
Definition: ringworld2_scenes2.h:491
Definition: ringworld2_scenes2.h:626
Definition: ringworld2_scenes2.h:363
Definition: ringworld2_scenes2.h:479
Definition: ringworld2_scenes2.h:332
Definition: ringworld2_scenes2.h:668
Definition: ringworld2_scenes2.h:140
Definition: ringworld2_scenes2.h:384
Definition: ringworld2_speakers.h:115
Definition: ringworld2_scenes2.h:93
Definition: ringworld2_scenes2.h:300
Definition: ringworld2_scenes2.h:549
Definition: ringworld2_speakers.h:90
Definition: ringworld2_speakers.h:416
Definition: ringworld2_scenes2.h:292
Definition: ringworld2_scenes2.h:260
Definition: ringworld2_speakers.h:446
Definition: blueforce_dialogs.h:30
Definition: ringworld2_speakers.h:149
Definition: ringworld2_speakers.h:223
Definition: saveload.h:63
Definition: ringworld2_speakers.h:244
Definition: ringworld2_speakers.h:237
Definition: graphics.h:40
Definition: ringworld2_speakers.h:272
Definition: ringworld2_speakers.h:302
Definition: ringworld2_speakers.h:314
Definition: converse.h:38
Definition: ringworld2_scenes2.h:229
Definition: ringworld2_speakers.h:320
Definition: ringworld2_speakers.h:308
Definition: ringworld2_logic.h:44
Definition: ringworld2_scenes2.h:446
Definition: ringworld2_logic.h:63
Definition: ringworld2_speakers.h:229
Definition: ringworld2_speakers.h:217