22 #ifndef TSAGE_RINGWORLD2_SCENES0_H 23 #define TSAGE_RINGWORLD2_SCENES0_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;
43 class Action1:
public Action {
45 void signal()
override;
52 void process(
Event &event)
override;
59 bool startAction(CursorType action,
Event &event)
override;
63 bool startAction(CursorType action,
Event &event)
override;
67 bool startAction(CursorType action,
Event &event)
override;
71 bool startAction(CursorType action,
Event &event)
override;
75 bool startAction(CursorType action,
Event &event)
override;
81 bool startAction(CursorType action,
Event &event)
override;
87 SceneActor _bedLights1, _bedLights2, _tableLocker, _wardrobeTopAnim, _wardrobeColorAnim;
91 StasisNegator _stasisNegator;
92 DoorDisplay _doorDisplay;
93 SteppingDisks _steppingDisks;
97 void remove()
override;
98 void signal()
override;
99 void dispatch()
override;
106 bool startAction(CursorType action,
Event &event)
override;
111 int _lookLineNum, _iconId;
117 Common::String getClassName()
override {
return "Scene125_Icon"; }
120 void process(
Event &event)
override;
122 void setIcon(
int id);
130 bool startAction(CursorType action,
Event &event)
override;
138 SceneActor _starchart1, _starchart2, _starchart3, _starchart4;
140 Icon _icon1, _icon2, _icon3, _icon4, _icon5, _icon6;
143 int _consoleMode, _iconFontNumber, _logIndex, _databaseIndex, _infodiskIndex;
144 int _soundCount, _soundIndex;
145 int _soundIndexes[10];
150 void signal()
override;
151 void process(
Event &event)
override;
152 void dispatch()
override;
154 void consoleAction(
int id);
155 void setDetails(
int resNum,
int lineNum);
165 void remove()
override;
166 void signal()
override;
170 class Action1:
public Action {
172 void signal()
override;
177 int _frameNumber, _yChange;
184 void remove()
override;
185 void process(
Event &event)
override;
192 class Action1:
public Action {
194 void signal()
override;
197 void setSceneDelay(
int v);
203 SceneActor _dutyOfficer, _teal, _webbster, _door, _shipDisplay;
214 int _fontNumber, _fontHeight;
220 void remove()
override;
221 void signal()
override;
222 void process(
Event &event)
override;
223 void dispatch()
override;
224 void restore()
override;
231 bool startAction(CursorType action,
Event &event)
override;
235 bool startAction(CursorType action,
Event &event)
override;
239 bool startAction(CursorType action,
Event &event)
override;
245 void changeScene()
override;
249 void changeScene()
override;
252 NamedHotspot _background, _compartment, _westDoorDisplay, _eastDoorDisplay;
253 NorthDoor _northDoor;
261 void signal()
override;
268 Common::String getClassName()
override {
return "Scene205_Star"; }
273 class Action1:
public Action {
277 void signal()
override;
282 int xMultiply,
int yMultiply,
int xCenter,
int yCenter);
294 int _textIndex, _lineNum;
301 void remove()
override;
302 void process(
Event &event)
override;
303 void dispatch()
override;
308 class Action1:
public Action {
310 void signal()
override;
320 void remove()
override;
321 void process(
Event &event)
override;
329 void setFloor(
int floorNumber);
332 bool startAction(CursorType action,
Event &event)
override;
335 int _currButtonY, _destButtonY, _elevatorSpeed;
336 bool _skippingFl, _skippableFl;
338 Button _destinationFloor, _currentFloor;
339 Button _floor1, _floor2, _floor3, _floor4, _floor5;
340 Button _floor6, _floor7, _floor8, _floor9;
345 void changeFloor(
int floorNumber);
349 void signal()
override;
350 void process(
Event &event)
override;
351 void dispatch()
override;
356 class Action1:
public Action {
358 void signal()
override;
360 class Action2:
public Action {
362 void signal()
override;
364 class Action3:
public Action {
366 void signal()
override;
368 class Action4:
public Action {
370 void signal()
override;
376 bool startAction(CursorType action,
Event &event)
override;
380 bool startAction(CursorType action,
Event &event)
override;
384 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;
402 bool startAction(CursorType action,
Event &event)
override;
405 SequenceManager _sequenceManager1, _sequenceManager2, _sequenceManager3, _sequenceManager4;
415 NamedHotspot _background, _hull, _statusDisplays, _damageControl, _manualOverrides;
416 NamedHotspot _scanners1, _scanners2, _indirectLighting1, _indirectLighting2, _lighting;
417 QuinnWorkstation _quinnWorkstation1, _quinnWorkstation2;
418 SeekerWorkstation _seekerWorkstation;
419 MirandaWorkstation _mirandaWorkstation1, _mirandaWorkstation2;
420 SceneActor _atmosphereLeftWindow, _atmosphereRightWindow, _leftVerticalBarsAnim, _rightVerticalBarsAnim, _protocolDisplay;
421 SceneActor _rightTextDisplay, _mirandaScreen, _leftTextDisplay, _quinnScreen;
439 void remove()
override;
440 void signal()
override;
446 int _lookLineNum, _iconId;
452 Common::String getClassName()
override {
return "Scene325_Icon"; }
455 void process(
Event &event)
override;
457 void setIcon(
int id);
464 void consoleAction(
int id);
465 void setMessage(
int resNum,
int lineNum);
468 int _consoleAction, _iconFontNumber, _databasePage, _priorConsoleAction;
469 int _moveCounter, _yChange, _yDirection, _scannerLocation;
470 int _soundCount, _soundIndex;
476 SceneObject _starGrid4, _starGrid5, _starGrid6, _starGrid7;
477 SceneObject _starGrid8, _starGrid9, _starGrid10, _starGrid11;
480 Icon _icon1, _icon2, _icon3, _icon4, _icon5, _icon6;
489 void remove()
override;
490 void signal()
override;
491 void process(
Event &event)
override;
492 void dispatch()
override;
499 bool startAction(CursorType action,
Event &event)
override;
505 bool startAction(CursorType action,
Event &event)
override;
509 bool startAction(CursorType action,
Event &event)
override;
513 bool startAction(CursorType action,
Event &event)
override;
517 bool startAction(CursorType action,
Event &event)
override;
520 NamedHotspot _background, _equipment1, _equipment2, _equipment3;
523 NamedHotspot _duct, _shelves, _cabinet, _doorDisplay, _lights;
524 NamedHotspot _equalizer, _transducer, _optimizer, _soundModule, _tester;
530 SensorProbe _sensorProbe;
531 AttractorUnit _attractorUnit;
536 void remove()
override;
537 void signal()
override;
538 void dispatch()
override;
549 void doButtonPress();
552 Common::String getClassName()
override {
return "Scene500_Button"; }
553 void process(
Event &event)
override;
554 bool startAction(CursorType action,
Event &event)
override;
557 void setupButton(
int buttonId);
560 Button _button1, _button2, _button3;
562 Common::String getClassName()
override {
return "Scene500_PanelWindow"; }
563 void remove()
override;
564 void setDetails(
int visage,
int strip,
int frameNumber,
const Common::Point &pt);
570 bool startAction(CursorType action,
Event &event)
override;
576 bool startAction(CursorType action,
Event &event)
override;
580 bool startAction(CursorType action,
Event &event)
override;
584 bool startAction(CursorType action,
Event &event)
override;
588 bool startAction(CursorType action,
Event &event)
override;
592 bool startAction(CursorType action,
Event &event)
override;
596 void draw()
override;
600 bool startAction(CursorType action,
Event &event)
override;
604 bool startAction(CursorType action,
Event &event)
override;
608 bool startAction(CursorType action,
Event &event)
override;
612 bool startAction(CursorType action,
Event &event)
override;
619 ControlPanel _controlPanel;
624 OxygenTanks _tanks1, _tanks2;
626 TransparentDoor _transparentDoor;
628 SonicStunner _sonicStunner;
631 PanelDialog _panelDialog;
637 void signal()
override;
646 void signal()
override;
652 bool startAction(CursorType action,
Event &event)
override;
656 bool startAction(CursorType action,
Event &event)
override;
661 void signal()
override;
662 bool startAction(CursorType action,
Event &event)
override;
663 void draw()
override;
667 bool startAction(CursorType action,
Event &event)
override;
671 bool startAction(CursorType action,
Event &event)
override;
675 bool startAction(CursorType action,
Event &event)
override;
679 bool startAction(CursorType action,
Event &event)
override;
683 CompartmentHotspot _quantumDrive;
684 CompartmentHotspot _quantumRegulator;
685 CompartmentHotspot _powerNode;
686 EngineCompartment _engineCompartment;
687 CompartmentHotspot _background;
704 void remove()
override;
705 void signal()
override;
706 void process(
Event &event)
override;
707 void dispatch()
override;
714 bool startAction(CursorType action,
Event &event)
override;
718 bool startAction(CursorType action,
Event &event)
override;
723 bool startAction(CursorType action,
Event &event)
override;
727 bool startAction(CursorType action,
Event &event)
override;
731 bool startAction(CursorType action,
Event &event)
override;
735 bool startAction(CursorType action,
Event &event)
override;
739 bool startAction(CursorType action,
Event &event)
override;
756 SuitRoomDoor _suitRoomDoor;
757 ControlPanel _controlPanel;
768 void remove()
override;
769 void signal()
override;
777 bool startAction(CursorType action,
Event &event)
override;
781 bool startAction(CursorType action,
Event &event)
override;
785 bool startAction(CursorType action,
Event &event)
override;
791 bool startAction(CursorType action,
Event &event)
override;
795 bool startAction(CursorType action,
Event &event)
override;
799 bool startAction(CursorType action,
Event &event)
override;
803 bool startAction(CursorType action,
Event &event)
override;
809 CableJunction _cableJunction;
810 DeviceSlot _deviceSlot;
811 SceneActor _autodocCover, _opticalFiber, _reader;
814 ComScanner _comScanner;
819 void signal()
override;
831 void setButton(
int buttonId);
832 void setText(
int textId);
835 void process(
Event &event)
override;
836 bool startAction(CursorType action,
Event &event)
override;
840 SceneActor _vertLine1, _vertLine2, _vertLine3, _vertLine4, _vertLine5;
841 Button _button1, _button2, _button3, _button4, _button5, _button6;
842 ASoundExt _sound1, _sound2, _sound3, _sound4;
845 int _menuId, _frame1, _frame2;
846 const char *_autodocItems[11];
851 void remove()
override;
852 void signal()
override;
853 void process(
Event &event)
override;
854 void dispatch()
override;
856 void doButtonPress(
int buttonId);
863 bool startAction(CursorType action,
Event &event)
override;
869 bool startAction(CursorType action,
Event &event)
override;
873 bool startAction(CursorType action,
Event &event)
override;
877 bool startAction(CursorType action,
Event &event)
override;
881 bool startAction(CursorType action,
Event &event)
override;
884 NamedHotspot _background, _eastDoor, _compartment, _sickBayIndicator;
886 Indicator _indicator;
889 SickBayDoor _sickBayDoor;
895 void signal()
override;
904 void initButton(
int buttonId);
906 bool startAction(CursorType action,
Event &event)
override;
909 int _controlsScreenNumber;
927 void remove()
override;
928 void signal()
override;
929 void dispatch()
override;
Definition: ringworld2_logic.h:243
Definition: ringworld2_speakers.h:555
Definition: ringworld2_scenes0.h:271
Definition: ringworld2_logic.h:78
Definition: ringworld2_speakers.h:522
Definition: ringworld2_scenes0.h:711
Definition: ringworld2_scenes0.h:773
Definition: ringworld2_scenes0.h:541
Definition: ringworld2_scenes0.h:649
Definition: ringworld2_scenes0.h:898
Definition: ringworld2_scenes0.h:354
Definition: ringworld2_scenes0.h:495
Definition: ringworld2_scenes0.h:55
Definition: ringworld2_scenes0.h:227
Definition: ringworld2_scenes0.h:822
Definition: ringworld2_scenes0.h:640
Definition: ringworld2_scenes0.h:443
Definition: ringworld2_scenes0.h:102
Definition: ringworld2_logic.h:263
Definition: ringworld2_speakers.h:656
Definition: ringworld2_speakers.h:422
Definition: ringworld2_speakers.h:428
Definition: ringworld2_speakers.h:155
Definition: ringworld2_speakers.h:549
Definition: ringworld2_scenes0.h:169
Definition: ringworld2_scenes0.h:306
Definition: ringworld2_speakers.h:603
Definition: ringworld2_speakers.h:371
Definition: converse.h:101
Definition: ringworld2_scenes0.h:191
Definition: ringworld2_logic.h:272
Definition: ringworld2_logic.h:396
Definition: saveload.h:115
Definition: blueforce_dialogs.h:30
Definition: ringworld2_speakers.h:497
Definition: ringworld2_logic.h:327
Definition: saveload.h:63
Definition: ringworld2_logic.h:443
Definition: ringworld2_speakers.h:278
Definition: ringworld2_speakers.h:39
Definition: ringworld2_speakers.h:284
Definition: ringworld2_scenes0.h:264
Definition: ringworld2_speakers.h:272
Definition: ringworld2_scenes0.h:859
Definition: converse.h:38
Definition: ringworld2_scenes0.h:41
Definition: ringworld2_scenes0.h:160
Definition: ringworld2_scenes0.h:324
Definition: ringworld2_logic.h:63
Definition: ringworld2_scenes0.h:188