aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld2/ringworld2_scenes0.h
blob: bad946fbd633d17c92e4e48ad27c3fb036f85a95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
/* ScummVM - Graphic Adventure Engine
 *
 * ScummVM is the legal property of its developers, whose names
 * are too numerous to list here. Please refer to the COPYRIGHT
 * file distributed with this source distribution.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 *
 */

#ifndef TSAGE_RINGWORLD2_SCENES0_H
#define TSAGE_RINGWORLD2_SCENES0_H

#include "common/scummsys.h"
#include "tsage/converse.h"
#include "tsage/events.h"
#include "tsage/core.h"
#include "tsage/scenes.h"
#include "tsage/globals.h"
#include "tsage/sound.h"
#include "tsage/ringworld2/ringworld2_logic.h"
#include "tsage/ringworld2/ringworld2_speakers.h"

namespace TsAGE {

namespace Ringworld2 {

using namespace TsAGE;

class Scene50: public SceneExt {

	class Action1: public Action {
	public:
		void signal();
	};

public:
	Action1 _action1;

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void process(Event &event);
};

class Scene100: public SceneExt {
	/* Objects */
	class Door: public SceneActorExt {
	public:
		bool startAction(CursorType action, Event &event);
	};
	class Table: public SceneActor {
	public:
		bool startAction(CursorType action, Event &event);
	};
	class StasisNegator: public SceneActor {
	public:
		bool startAction(CursorType action, Event &event);
	};
	class DoorDisplay: public SceneActorExt {
	public:
		bool startAction(CursorType action, Event &event);
	};
	class SteppingDisks: public SceneActor {
	public:
		bool startAction(CursorType action, Event &event);
	};

	/* Items */
	class Terminal: public NamedHotspot{
	public:
		bool startAction(CursorType action, Event &event);
	};

public:
	NamedHotspot _background, _duct, _bed, _desk;
	Terminal _terminal;
	SceneActor _bedLights1, _bedLights2, _object3, _object4, _object5;
	SceneActor _wardrobe;
	Door _door;
	Table _table;
	StasisNegator _stasisNegator;
	DoorDisplay _doorDisplay;
	SteppingDisks _steppingDisks;
	SequenceManager _sequenceManager1, _sequenceManager2;

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void remove();
	virtual void signal();
	virtual void dispatch();
};

class Scene125: public SceneExt {
	/* Objects */
	class Object5: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	class Icon: public SceneActor {
	public:
		int _lookLineNum, _field98;
		bool _pressed;
		SceneObject _object1, _object2;
		SceneText _sceneText1, _sceneText2;

		Icon();
		virtual Common::String getClassName() { return "Scene125_Icon"; }
		virtual void postInit(SceneObjectList *OwnerList = NULL);
		virtual void synchronize(Serializer &s);
		virtual void process(Event &event);

		void setIcon(int id);
		void showIcon();
		void hideIcon();
	};

	/* Items */
	class DiskSlot: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

public:
	ScenePalette _palette;
	ASoundExt _sound1;
	NamedHotspot _background, _item2, _item3;
	DiskSlot _diskSlot;
	SceneActor _object1, _object2, _object3, _object4, _object5, _object6, _infoDisk;
	Icon _icon1, _icon2, _icon3, _icon4, _icon5,  _icon6;
	SequenceManager _sequenceManager;
	SceneText _sceneText;
	int _consoleMode, _iconFontNumber, _logIndex, _databaseIndex, _infodiskIndex;
	int _soundCount, _soundIndex;
	int _soundIndexes[10];

	Scene125();
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void synchronize(Serializer &s);
	virtual void signal();
	virtual void process(Event &event);
	virtual void dispatch();

	void consoleAction(int id);
	void setDetails(int resNum, int lineNum);
	void stop();
	Common::String parseMessage(const Common::String &msg);
};

class Scene150: public Scene100 {
public:
	SceneActor _emptyRoomTable;
public:
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void remove();
	virtual void signal();
};

class Scene160: public SceneExt {
	class Action1: public Action {
	public:
		void signal();
	};
public:
	ASound _sound1;
	Action1 _action1;
	int _frameNumber, _yChange;
	SceneObject _object1, _object2, _object3;
	int _lineNum;
	SynchronizedList<SceneText *> _creditsList;
public:
	Scene160();
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void synchronize(Serializer &s);
	virtual void remove();
	virtual void process(Event &event);
};

class Scene175: public Scene150 {
};

class Scene180: public SceneExt {
	class Action1: public Action {
	public:
		void signal();
	};
private:
	void setSceneDelay(int v);
public:
	SpeakerWebbster _webbsterSpeaker;
	SpeakerDutyOfficer _dutyOfficerSpeaker;
	SpeakerTeal _tealSpeaker;
	SpeakerGameText _gameTextSpeaker;
	SceneActor _object1, _object2, _object3, _object4, _object5;
	ScenePalette _palette;
	SceneText _textList[20];
	AnimationPlayerExt _animationPlayer;
	SequenceManager _sequenceManager;
	Action1 _action1;
	ASoundExt _sound1;

	int _frameNumber;
	int _field412, _field480;
	int _field482, _frameInc;
	int _fontNumber, _fontHeight;
	int _scene180Mode;
public:
	Scene180();

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void synchronize(Serializer &s);
	virtual void remove();
	virtual void signal();
	virtual void process(Event &event);
	virtual void dispatch();
	virtual void restore();
};

class Scene200: public SceneExt {
	/* Objects */
	class NorthDoor: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class EastDoor: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class WestDoor: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	/* Scene Exits */
	class EastExit: public SceneExit {
	public:
		virtual void changeScene();
	};
	class WestExit: public SceneExit {
	public:
		virtual void changeScene();
	};
public:
	NamedHotspot _background, _compartment, _westDoorDisplay, _eastDoorDisplay;
	NorthDoor _northDoor;
	EastDoor _eastDoor;
	WestDoor _westDoor;
	EastExit _eastExit;
	WestExit _westExit;
	SequenceManager _sequenceManager;

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void signal();
};

class Scene205: public SceneExt {
	/* Actions */
	class Action1: public Action {
	private:
		void textLoop();
	public:
		virtual void signal();
	};

	/* Objects */
	class Object: public SceneObject {
	public:
		int _x100, _y100;
	public:
		// TODO: Check if this derives from DataManager? and flesh out
	};
private:
	void setup();
	void processList(Object **ObjList, int count, const Common::Rect &bounds,
					int xMultiply, int yMultiply, int xCenter, int yCenter);
	void handleText();
public:
	AnimationPlayer _animationPlayer;
	int _fontHeight;
	SceneText _textList[15];
	Object *_objList1[3];
	Object *_objList2[3];
	Object *_objList3[4];
	ASound _sound1;
	Action1 _action1;
	int _yp;
	int _textIndex, _lineNum;
	Common::String _message;
public:
	Scene205();

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void synchronize(Serializer &s);
	virtual void remove();
	virtual void process(Event &event);
	virtual void dispatch();
};


class Scene250: public SceneExt {
	class Button: public SceneActor {
	public:
		int _floorNumber, _v2;
		Button();
		void setFloor(int floorNumber);

		virtual void synchronize(Serializer &s);
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	int _field412, _field414, _field416, _field418, _field41A;
	NamedHotspot _background, _item2, _item3, _item4;
	Button _button1, _currentFloor;
	Button _floor1, _floor2, _floor3, _floor4, _floor5;
	Button _floor6, _floor7, _floor8, _floor9;
	ASoundExt _sound1;
	SequenceManager _sequenceManager1;
public:
	Scene250();
	void changeFloor(int floorNumber);

	virtual void synchronize(Serializer &s);
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void signal();
	virtual void process(Event &event);
	virtual void dispatch();
};

class Scene300: public SceneExt {
	/* Actions */
	class Action1: public Action {
	public:
		virtual void signal();
	};
	class Action2: public Action {
	public:
		virtual void signal();
	};
	class Action3: public Action {
	public:
		virtual void signal();
	};
	class Action4: public Action {
	public:
		virtual void signal();
	};

	/* Items */
	class QuinnWorkstation: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class MirandaWorkstation: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class SeekerWorkstation: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	/* Objects */
	class Miranda: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Seeker: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Quinn: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Doorway: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	SequenceManager _sequenceManager1, _sequenceManager2, _sequenceManager3, _sequenceManager4;
	ASoundExt _sound1;
	SpeakerMiranda300 _mirandaSpeaker;
	SpeakerSeeker300 _seekerSpeaker;
	SpeakerSeekerL _seekerLSpeaker;
	SpeakerQuinn300 _quinnSpeaker;
	SpeakerQuinnL _quinnLSpeaker;
	SpeakerTeal300 _tealSpeaker;
	SpeakerSoldier300 _soldierSpeaker;

	NamedHotspot _background, _hull, _statusDisplays, _damageControl, _manualOverrides;
	NamedHotspot _scanners1, _scanners2, _indirectLighting1, _indirectLighting2, _lighting;
	QuinnWorkstation _quinnWorkstation1, _quinnWorkstation2;
	SeekerWorkstation _seekerWorkstation;
	MirandaWorkstation _mirandaWorkstation1, _mirandaWorkstation2;
	SceneActor _object1, _object2, _object3, _object4, _protocolDisplay;
	SceneActor _object6, _object7, _object8, _object9;
	SceneActor _teal, _soldier, _object12;
	Doorway _doorway;
	Miranda _miranda;
	Seeker _seeker;
	Quinn _quinn;
	Action1 _action1;
	Action2 _action2;
	Action3 _action3;
	Action4 _action4;
	PaletteRotation *_rotation;
	int _stripId;

	Scene300();
	void signal309();

	virtual void synchronize(Serializer &s);
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void remove();
	virtual void signal();
};

class Scene325: public SceneExt {
	class Icon: public SceneActor {
	public:
		int _lookLineNum, _field98;
		bool _pressed;
		SceneObject _object1, _object2;
		SceneText _sceneText1, _sceneText2;

		Icon();
		virtual Common::String getClassName() { return "Scene325_Icon"; }
		virtual void postInit(SceneObjectList *OwnerList = NULL);
		virtual void synchronize(Serializer &s);
		virtual void process(Event &event);

		void setIcon(int id);
		void showIcon();
		void hideIcon();
	};

private:
	void removeText();
	void consoleAction(int id);
	void setMessage(int resNum, int lineNum);
	Common::String parseMessage(const Common::String &msg);
public:
	int _field412, _iconFontNumber, _field416, _field418;
	int _field41A, _field41C, _field41E, _field420;
	int _soundCount, _soundIndex;
	int _soundQueue[10];
	SpeakerQuinn _quinnSpeaker;
	ScenePalette _palette;
	SceneHotspot _background, _item2;
	SceneObject _object1, _object2, _object3, _object4, _object5;
	SceneObject _object6, _object7, _object8, _object9, _object10;
	SceneObject _object11, _object12, _object13;
	SceneObject _objList[4];
	Icon _icon1, _icon2, _icon3, _icon4, _icon5, _icon6;
	ASoundExt _sound1;
	SequenceManager _sequenceManager1;
	SceneText _text1;
public:
	Scene325();

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void synchronize(Serializer &s);
	virtual void remove();
	virtual void signal();
	virtual void process(Event &event);
	virtual void dispatch();
};


class Scene400: public SceneExt {
	/* Items */
	class Terminal: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	/* Objects */
	class Door: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Reader: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class SensorProbe: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class AttractorUnit: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	NamedHotspot _background, _equipment1, _equipment2, _equipment3;
	NamedHotspot _equipment4, _equipment5, _equipment6;
	NamedHotspot _desk, _desk2, _console;
	NamedHotspot _duct, _shelves, _cabinet, _doorDisplay, _lights;
	NamedHotspot _equalizer, _transducer, _optimizer, _soundModule, _tester;
	NamedHotspot _helmet, _nullifier;
	Terminal _terminal;
	SceneActor _consoleDisplay, _testerDisplay;
	Door _door;
	Reader _reader;
	SensorProbe _sensorProbe;
	AttractorUnit _attractorUnit;
	SequenceManager _sequenceManager1;
	ASoundExt _sound1;

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void remove();
	virtual void signal();
	virtual void dispatch();
};

class Scene500: public SceneExt {
	/* Items */
	class ControlPanel: public SceneHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	/* Objects */
	class Object2: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Object3: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Doorway: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class OxygenTanks: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class AirLock: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Object8: public SceneActor {
		// This classes uses a custom draw method
	};
	class Aerosol: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class SonicStunner: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Locker1: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Locker2: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Object: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	int _stripNumber;
	byte _buffer[2710];
	SpeakerSeeker _seekerSpeaker;
	SpeakerQuinn _quinnSpeaker;
	SceneHotspot _background, _item2;
	ControlPanel _controlPanel;
	SceneActor _object1;
	Object2 _object2;
	Object3 _object3;
	Doorway _doorway;
	OxygenTanks _tanks1, _tanks2;
	AirLock _airLock;
	Object8 _object8;
	Aerosol _aerosol;
	SonicStunner _sonicStunner;
	Locker1 _locker1;
	Locker2 _locker2;
	SceneAreaObject _area1;
	Object _obj1, _obj2, _obj3;
	ASoundExt _sound1;
	SequenceManager _sequenceManager1, _sequenceManager2;
public:
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void synchronize(Serializer &s);
	virtual void signal();
};

class Scene525: public SceneExt {
public:
	SceneActor _actor1;
	SequenceManager _sequenceManager;

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void signal();

};

class Scene600 : public SceneExt {
	class CompartmentHotspot : public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Item4 : public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	class Actor4 : public SceneActor {
	public:
		virtual void signal();
		virtual bool startAction(CursorType action, Event &event);
		virtual GfxSurface getFrame();
	};
	class Doorway : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Laser : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Aerosol : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Actor8 : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	int _field412;
	CompartmentHotspot _background;
	CompartmentHotspot _item2;
	CompartmentHotspot _item3;
	Item4 _item4;
	CompartmentHotspot _item5;
	BackgroundSceneObject _object1;
	SceneActor _actor1;
	SceneActor _actor2;
	SceneActor _actor3;
	Actor4 _actor4;
	Doorway _doorway;
	Laser _laser;
	Aerosol _aerosol;
	Actor8 _actor8;
	ASoundExt _aSound1;
	SequenceManager _sequenceManager1;
	SequenceManager _sequenceManager2;
	byte _pixelMap[256];

	Scene600();
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void remove();
	virtual void signal();
	virtual void process(Event &event);
	virtual void dispatch();
	virtual void synchronize(Serializer &s);
};

class Scene700: public SceneExt {
	class Item11 : public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Item12 : public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	class Actor2 : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Actor3 : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Actor4 : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Actor5 : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Actor6 : public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	NamedHotspot _item1;
	NamedHotspot _item2;
	NamedHotspot _item3;
	NamedHotspot _item4;
	NamedHotspot _item5;
	NamedHotspot _item6;
	NamedHotspot _item7;
	NamedHotspot _item8;
	NamedHotspot _item9;
	NamedHotspot _item10;
	Item11 _item11;
	Item12 _item12;
	SceneActor _actor1;
	Actor2 _actor2;
	Actor3 _actor3;
	Actor4 _actor4;
	Actor5 _actor5;
	Actor6 _actor6;
	Actor6 _actor7;
	Actor6 _actor8;
	Actor6 _actor9;
	SequenceManager _sequenceManager;
	PaletteRotation *_rotation;
	int _field100E;

	Scene700();
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void remove();
	virtual void signal();
	virtual void synchronize(Serializer &s);
};

class Scene800: public SceneExt {
	/* Items */
	class Button: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class CableJunction: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class DeviceSlot: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	/* Objects */
	class Door: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Tray: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class ComScanner: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Cabinet: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	NamedHotspot _background, _autoDoc, _diskSlot, _couch;
	NamedHotspot _medicalDatabase, _dataConduits;
	Button _button;
	CableJunction _cableJunction;
	DeviceSlot _deviceSlot;
	SceneActor _autodocCover, _opticalFibre, _reader;
	Door _door;
	Tray _tray;
	ComScanner _comScanner;
	Cabinet _cabinet;
	SequenceManager _sequenceManager1;

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void signal();
};

class Scene825: public SceneExt {
	/* Objects */
	class Button: public SceneObject {
	public:
		int _buttonId, _v2;
		bool _buttonDown;
		SceneText _sceneText;
	public:
		Button();
		void setButton(int buttonId);
		void setText(int textId);

		virtual void synchronize(Serializer &s);
		virtual void process(Event &event);
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	NamedHotspot _background, _item2;
	SceneActor _object1, _object2, _object3, _object4, _object5;
	Button _button1, _button2, _button3, _button4, _button5, _button6;
	ASoundExt _sound1, _sound2, _sound3, _sound4;
	SequenceManager _sequenceManager1;
	SceneText _sceneText;
	int _menuId, _frame1, _frame2;
	const char *_autodocItems[11];
public:
	Scene825();
	virtual void synchronize(Serializer &s);
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void remove();
	virtual void signal();
	virtual void process(Event &event);
	virtual void dispatch();

	void doButtonPress(int buttonId);
};

class Scene850: public SceneExt {
	/* Items */
	class Indicator: public NamedHotspot {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};

	/* Objects */
	class LiftDoor: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class SickBayDoor: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Clamp: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
	class Panel: public SceneActor {
	public:
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	NamedHotspot _background, _eastDoor, _compartment, _sickBayIndicator;
	NamedHotspot _liftControls;
	Indicator _indicator;
	SceneActor _object1, _fibre;
	LiftDoor _liftDoor;
	SickBayDoor _sickBayDoor;
	Clamp _clamp;
	Panel _panel;
	SequenceManager _sequenceManager1;

	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void signal();
};

class Scene900 : public SceneExt {
	class Button : public SceneActor {
	public:
		int _buttonId;

		Button();
		void initButton(int buttonId);
		virtual void synchronize(Serializer &s);
		virtual bool startAction(CursorType action, Event &event);
	};
public:
	int _field412;
	Common::Point _magnetChangeAmount;
	NamedHotspot _item1;
	SceneActor _actor1;
	SceneActor _actor2;
	SceneActor _electromagnet;
	Button _button1;
	Button _button2;
	Button _button3;
	Button _button4;
	Button _button5;
	Button _button6;
	Button _button7;
	ASoundExt _aSound1;
	SequenceManager _sequenceManager1;

	Scene900();
	virtual void postInit(SceneObjectList *OwnerList = NULL);
	virtual void remove();
	virtual void signal();
	virtual void dispatch();
	virtual void synchronize(Serializer &s);
};

} // End of namespace Ringworld2

} // End of namespace TsAGE

#endif