22 #ifndef TSAGE_RINGWORLD2_SCENES3_H 23 #define TSAGE_RINGWORLD2_SCENES3_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 bool startAction(CursorType action,
Event &event)
override;
62 void remove()
override;
63 void signal()
override;
64 void dispatch()
override;
71 bool startAction(CursorType action,
Event &event)
override;
75 bool startAction(CursorType action,
Event &event)
override;
79 bool startAction(CursorType action,
Event &event)
override;
83 bool startAction(CursorType action,
Event &event)
override;
87 Background _background;
99 void signal()
override;
100 void dispatch()
override;
107 bool startAction(CursorType action,
Event &event)
override;
111 bool startAction(CursorType action,
Event &event)
override;
114 bool startAction(CursorType action,
Event &event)
override;
117 bool startAction(CursorType action,
Event &event)
override;
120 bool startAction(CursorType action,
Event &event)
override;
123 bool startAction(CursorType action,
Event &event)
override;
128 void changeScene()
override;
132 void changeScene()
override;
139 LightFixture _lightFixture;
146 ToiletFlush _toiletFlush;
153 void signal()
override;
154 void dispatch()
override;
160 bool startAction(CursorType action,
Event &event)
override;
164 bool startAction(CursorType action,
Event &event)
override;
167 bool startAction(CursorType action,
Event &event)
override;
170 RoomItem _background;
179 void signal()
override;
193 void signal()
override;
205 void signal()
override;
217 void signal()
override;
230 void signal()
override;
243 void signal()
override;
255 void signal()
override;
261 bool startAction(CursorType action,
Event &event)
override;
265 bool startAction(CursorType action,
Event &event)
override;
282 void signal()
override;
283 void dispatch()
override;
300 void signal()
override;
301 void dispatch()
override;
306 bool startAction(CursorType action,
Event &event)
override;
309 bool startAction(CursorType action,
Event &event)
override;
312 class Action1:
public Action {
314 void signal()
override;
347 void remove()
override;
348 void signal()
override;
353 bool startAction(CursorType action,
Event &event)
override;
358 void changeScene()
override;
372 void signal()
override;
390 void remove()
override;
391 void signal()
override;
396 bool startAction(CursorType action,
Event &event)
override;
399 bool startAction(CursorType action,
Event &event)
override;
402 bool startAction(CursorType action,
Event &event)
override;
405 bool startAction(CursorType action,
Event &event)
override;
410 void changeScene()
override;
414 void changeScene()
override;
418 void changeScene()
override;
421 void signalCase3379();
422 void enterArea(
int sceneMode);
431 Companion1 _companion1;
432 Companion2 _companion2;
437 RightExit _rightExit;
444 void remove()
override;
445 void signal()
override;
446 void dispatch()
override;
452 bool startAction(CursorType action,
Event &event)
override;
455 bool startAction(CursorType action,
Event &event)
override;
458 bool startAction(CursorType action,
Event &event)
override;
461 bool startAction(CursorType action,
Event &event)
override;
466 void changeScene()
override;
469 class Action1:
public Action {
471 void signal()
override;
480 Companion1 _companion1;
481 Companion2 _companion2;
484 SouthExit _southExit;
492 void remove()
override;
493 void signal()
override;
499 bool startAction(CursorType action,
Event &event)
override;
502 bool startAction(CursorType action,
Event &event)
override;
505 bool startAction(CursorType action,
Event &event)
override;
508 bool startAction(CursorType action,
Event &event)
override;
511 class Action1:
public Action {
513 void signal()
override;
523 Companion1 _companion1;
524 Companion2 _companion2;
534 void remove()
override;
535 void signal()
override;
558 void remove()
override;
559 void signal()
override;
564 class Action1:
public Action {
567 bool _headingRightFl;
572 void handleHorzButton(
int direction);
573 void turnShuttle(
bool arg1);
574 void signal()
override;
575 void dispatch()
override;
577 class Action2:
public Action {
583 void handleVertButton(
int direction);
585 void signal()
override;
595 bool startAction(CursorType action,
Event &event)
override;
609 void init(
int xp,
int yp,
int dx,
int dy,
int speed);
611 void setSpeed(
int arg1);
614 void process(
Event &event)
override;
615 bool startAction(CursorType action,
Event &event)
override;
618 class MazeUI3500 :
public MazeUI {
620 int16 cellFromX(
int arg1);
621 int16 cellFromY(
int arg1);
631 DirectionButton _pitchDown;
632 DirectionButton _turnLeft;
633 DirectionButton _pitchUp;
634 DirectionButton _turnRight;
652 int _mazeChangeAmount;
654 bool _updateIdxChangeFl;
660 bool _directionChangesEnabled;
663 void doMovement(
int id);
666 void remove()
override;
667 void signal()
override;
668 void process(
Event &event)
override;
669 void dispatch()
override;
681 void signal()
override;
683 class Action2:
public Action {
685 void signal()
override;
690 bool startAction(CursorType action,
Event &event)
override;
694 bool startAction(CursorType action,
Event &event)
override;
708 LightShaft _lightShaft;
718 Protector _protector;
727 bool _ghoulTeleported;
731 void remove()
override;
732 void signal()
override;
733 void process(
Event &event)
override;
734 void dispatch()
override;
751 void remove()
override;
752 void signal()
override;
758 void changeScene()
override;
763 void changeScene()
override;
768 void changeScene()
override;
773 void changeScene()
override;
781 NorthExit _northExit;
783 SouthExit _southExit;
788 int _desertDirection;
795 void signal()
override;
796 void process(
Event &event)
override;
803 void changeScene()
override;
808 void changeScene()
override;
813 void changeScene()
override;
818 void changeScene()
override;
823 void changeScene()
override;
828 NorthExit _northExit;
830 SouthExit _southExit;
832 Exit5 _westEnterForest;
836 void signal()
override;
837 void process(
Event &event)
override;
Definition: ringworld2_logic.h:243
Definition: ringworld2_speakers.h:470
Definition: ringworld2_speakers.h:506
Definition: ringworld2_speakers.h:396
Definition: ringworld2_logic.h:78
Definition: ringworld2_logic.h:263
Definition: ringworld2_speakers.h:648
Definition: ringworld2_speakers.h:173
Definition: ringworld2_speakers.h:135
Definition: ringworld2_speakers.h:624
Definition: ringworld2_scenes3.h:539
Definition: ringworld2_scenes3.h:42
Definition: ringworld2_scenes3.h:182
Definition: ringworld2_scenes3.h:738
Definition: ringworld2_scenes3.h:755
Definition: ringworld2_scenes3.h:563
Definition: ringworld2_scenes3.h:673
Definition: ringworld2_scenes3.h:286
Definition: ringworld2_scenes3.h:800
Definition: ringworld2_scenes3.h:68
Definition: ringworld2_speakers.h:458
Definition: ringworld2_speakers.h:402
Definition: ringworld2_speakers.h:167
Definition: ringworld2_scenes3.h:375
Definition: ringworld2_scenes3.h:104
Definition: ringworld2_scenes3.h:258
Definition: ringworld2_scenes3.h:208
Definition: ringworld2_scenes3.h:394
Definition: ringworld2_scenes3.h:157
Definition: ringworld2_scenes3.h:351
Definition: ringworld2_scenes3.h:246
Definition: ringworld2_speakers.h:262
Definition: ringworld2_speakers.h:252
Definition: ringworld2_speakers.h:338
Definition: ringworld2_scenes3.h:233
Definition: ringworld2_scenes3.h:497
Definition: ringworld2_speakers.h:573
Definition: ringworld2_speakers.h:579
Definition: ringworld2_speakers.h:197
Definition: ringworld2_speakers.h:203
Definition: ringworld2_speakers.h:191
Definition: ringworld2_speakers.h:185
Definition: ringworld2_speakers.h:141
Definition: ringworld2_speakers.h:587
Definition: ringworld2_speakers.h:80
Definition: ringworld2_speakers.h:344
Definition: ringworld2_logic.h:272
Definition: blueforce_dialogs.h:30
Definition: ringworld2_speakers.h:149
Definition: ringworld2_speakers.h:408
Definition: ringworld2_speakers.h:567
Definition: ringworld2_speakers.h:179
Definition: saveload.h:63
Definition: ringworld2_speakers.h:616
Definition: ringworld2_logic.h:289
Definition: ringworld2_speakers.h:464
Definition: ringworld2_speakers.h:380
Definition: ringworld2_scenes3.h:304
Definition: ringworld2_speakers.h:632
Definition: ringworld2_speakers.h:326
Definition: ringworld2_scenes3.h:450
Definition: ringworld2_speakers.h:109
Definition: graphics.h:40
Definition: ringworld2_speakers.h:350
Definition: ringworld2_speakers.h:362
Definition: ringworld2_speakers.h:356
Definition: ringworld2_speakers.h:332
Definition: ringworld2_scenes3.h:196
Definition: ringworld2_speakers.h:129
Definition: ringworld2_speakers.h:488
Definition: ringworld2_speakers.h:482
Definition: converse.h:38
Definition: ringworld2_speakers.h:476
Definition: ringworld2_speakers.h:640
Definition: ringworld2_logic.h:63
Definition: ringworld2_scenes3.h:220