22 #ifndef TSAGE_RINGWORLD2_SCENES1_H 23 #define TSAGE_RINGWORLD2_SCENES1_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;
49 bool _forceCheckAnimationFl;
54 void remove()
override;
55 void signal()
override;
56 void dispatch()
override;
64 void signal()
override;
72 void signal()
override;
73 void dispatch()
override;
79 bool startAction(CursorType action,
Event &event)
override;
83 bool startAction(CursorType action,
Event &event)
override;
87 bool startAction(CursorType action,
Event &event)
override;
91 int _nextStripNum, _paletteRefreshStatus;
131 void remove()
override;
132 void signal()
override;
133 void dispatch()
override;
134 void saveCharacter(
int characterIndex)
override;
146 void remove()
override;
147 void signal()
override;
148 void dispatch()
override;
156 void signal()
override;
170 void signal()
override;
171 void dispatch()
override;
177 void setupWall(
int frameNumber,
int strip);
187 bool startAction(CursorType action,
Event &event)
override;
197 bool startAction(CursorType action,
Event &event)
override;
198 void setupShipComponent(
int componentId);
209 bool startAction(CursorType action,
Event &event)
override;
217 void remove()
override;
218 void setup2(
int visage,
int stripFrameNum,
int frameNum,
int posX,
int posY)
override;
223 bool startAction(CursorType action,
Event &event)
override;
228 bool startAction(CursorType action,
Event &event)
override;
233 bool startAction(CursorType action,
Event &event)
override;
238 bool startAction(CursorType action,
Event &event)
override;
243 bool startAction(CursorType action,
Event &event)
override;
248 bool startAction(CursorType action,
Event &event)
override;
251 class DiagnosticsDisplay :
public SceneActor {
253 bool startAction(CursorType action,
Event &event)
override;
258 bool startAction(CursorType action,
Event &event)
override;
263 bool startAction(CursorType action,
Event &event)
override;
269 WorkingShip _intactHull1, _intactHull2;
277 Companion _companion;
280 Gyroscope _gyroscope;
281 DiagnosticsDisplay _diagnosticsDisplay;
282 DishTower _dishTower;
291 ShipComponent _shipComponents[8];
292 DishControlsWindow _dishControlsWindow;
299 int _sceneResourceId;
307 void signal()
override;
308 void process(
Event &event)
override;
309 void dispatch()
override;
310 void saveCharacter(
int characterIndex)
override;
321 void initButton(
int buttonId);
323 void process(
Event &event)
override;
324 bool startAction(CursorType action,
Event &event)
override;
360 void remove()
override;
361 void signal()
override;
362 void process(
Event &event)
override;
363 void dispatch()
override;
369 bool startAction(CursorType action,
Event &event)
override;
373 bool startAction(CursorType action,
Event &event)
override;
378 bool startAction(CursorType action,
Event &event)
override;
382 bool startAction(CursorType action,
Event &event)
override;
384 class StorageCompartment :
public SceneActor {
386 bool startAction(CursorType action,
Event &event)
override;
390 bool startAction(CursorType action,
Event &event)
override;
394 bool startAction(CursorType action,
Event &event)
override;
398 bool startAction(CursorType action,
Event &event)
override;
403 JoystickPlug _joystickPlug;
404 ScreenSlot _screenSlot;
410 StorageCompartment _storageCompartment;
411 HatchButton _hatchButton;
412 ThrusterValve _thrusterValve;
420 void signal()
override;
426 bool startAction(CursorType action,
Event &event)
override;
446 void remove()
override;
447 void signal()
override;
448 void process(
Event &event)
override;
454 bool startAction(CursorType action,
Event &event)
override;
458 bool startAction(CursorType action,
Event &event)
override;
463 void changeScene()
override;
467 void changeScene()
override;
471 void changeScene()
override;
488 RimTransport _rimTransport;
489 Companion _companion;
490 NorthExit _northExit;
491 SouthExit _southExit;
502 void remove()
override;
503 void signal()
override;
518 void setupSlider(
int incrAmount,
int xp,
int ys,
int height,
int thumbHeight);
519 void calculateSlider();
521 void process(
Event &event)
override;
522 bool startAction(CursorType action,
Event &event)
override;
532 bool startAction(CursorType action,
Event &event)
override;
544 SpeedSlider _speedSlider;
545 Button _forwardButton;
546 Button _backwardButton;
555 int _rotationSegment;
556 int _rotationSegCurrent;
563 void remove()
override;
564 void signal()
override;
565 void process(
Event &event)
override;
566 void dispatch()
override;
572 bool startAction(CursorType action,
Event &event)
override;
577 bool startAction(CursorType action,
Event &event)
override;
581 bool startAction(CursorType action,
Event &event)
override;
585 bool startAction(CursorType action,
Event &event)
override;
590 void changeScene()
override;
600 Background _background;
608 PassengerDoor _leftDoor;
609 PassengerDoor _rightDoor;
610 SouthExit _southExit;
617 void signal()
override;
618 void saveCharacter(
int characterIndex)
override;
624 bool startAction(CursorType action,
Event &event)
override;
629 bool startAction(CursorType action,
Event &event)
override;
633 bool startAction(CursorType action,
Event &event)
override;
637 bool startAction(CursorType action,
Event &event)
override;
659 DisplayScreen _displayScreen;
667 void remove()
override;
668 void signal()
override;
669 void process(
Event &event)
override;
670 void dispatch()
override;
680 void doButtonPress();
681 void initButton(
int buttonId);
683 Common::String getClassName()
override {
return "Scene1875_Button"; }
685 void process(
Event &event)
override;
702 void signal()
override;
703 void process(
Event &event)
override;
709 bool startAction(CursorType action,
Event &event)
override;
714 void changeScene()
override;
718 void changeScene()
override;
727 LiftDoor _leftDoor, _rightDoor;
734 void remove()
override;
735 void signal()
override;
741 bool startAction(CursorType action,
Event &event)
override;
745 bool startAction(CursorType action,
Event &event)
override;
750 void changeScene()
override;
754 void changeScene()
override;
758 void changeScene()
override;
762 void changeScene()
override;
781 void changeLevel(
bool upFlag);
783 void remove()
override;
784 void signal()
override;
790 bool startAction(CursorType action,
Event &event)
override;
794 bool startAction(CursorType action,
Event &event)
override;
799 bool startAction(CursorType action,
Event &event)
override;
804 void changeScene()
override;
808 void changeScene()
override;
817 Gunpowder _gunpowder;
819 CorridorExit _corridorExit;
825 CursorType _lampUsed;
831 void remove()
override;
832 void signal()
override;
Definition: ringworld2_logic.h:243
Definition: ringworld2_scenes1.h:159
Definition: ringworld2_logic.h:78
Definition: ringworld2_logic.h:263
Definition: ringworld2_speakers.h:529
Definition: ringworld2_scenes1.h:41
Definition: ringworld2_scenes1.h:76
Definition: ringworld2_logic.h:452
Definition: ringworld2_scenes1.h:451
Definition: ringworld2_scenes1.h:569
Definition: ringworld2_scenes1.h:137
Definition: ringworld2_scenes1.h:706
Definition: ringworld2_scenes1.h:151
Definition: ringworld2_scenes1.h:423
Definition: ringworld2_scenes1.h:738
Definition: ringworld2_speakers.h:561
Definition: ringworld2_scenes1.h:506
Definition: ringworld2_scenes1.h:621
Definition: ringworld2_scenes1.h:174
Definition: ringworld2_scenes1.h:67
Definition: ringworld2_speakers.h:416
Definition: ringworld2_scenes1.h:673
Definition: ringworld2_scenes1.h:313
Definition: ringworld2_scenes1.h:787
Definition: converse.h:101
Definition: ringworld2_speakers.h:161
Definition: ringworld2_logic.h:396
Definition: blueforce_dialogs.h:30
Definition: saveload.h:63
Definition: ringworld2_speakers.h:99
Definition: ringworld2_speakers.h:272
Definition: ringworld2_scenes1.h:366
Definition: ringworld2_speakers.h:290
Definition: ringworld2_scenes1.h:59
Definition: converse.h:38
Definition: ringworld2_logic.h:63
Definition: ringworld2_speakers.h:440
Definition: ringworld2_speakers.h:434