scummvm/engines/tsage/ringworld_scenes10.h

534 lines
12 KiB
C
Raw Normal View History

2011-03-27 00:19:44 +00:00
/* 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.
*
2011-04-13 19:27:46 +00:00
* $URL$
* $Id$
2011-03-27 00:19:44 +00:00
*
*/
#ifndef TSAGE_RINGWORLD_SCENES10_H
#define TSAGE_RINGWORLD_SCENES10_H
#include "common/scummsys.h"
#include "tsage/ringworld_logic.h"
#include "tsage/events.h"
#include "tsage/core.h"
#include "tsage/scenes.h"
#include "tsage/globals.h"
namespace tSage {
2011-04-13 19:27:46 +00:00
class SceneObject9150 : public SceneObject {
public:
int _timer, _signalFlag;
virtual void synchronise(Serialiser &s) {
SceneObject::synchronise(s);
s.syncAsSint16LE(_timer);
s.syncAsSint16LE(_signalFlag);
}
virtual Common::String getClassName() { return "SceneObject9150"; }
};
2011-04-13 19:27:46 +00:00
class Scene2 : public Scene {
public :
int _sceneState;
Scene2();
virtual void synchronise(Serialiser &s) {
Scene::synchronise(s);
s.syncAsSint16LE(_sceneState);
}
};
2011-04-13 19:27:46 +00:00
class Object9350 : public SceneObject {
public:
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void draw();
};
2011-04-13 19:27:46 +00:00
class Scene9100 : public Scene {
2011-03-30 19:59:20 +00:00
/* Items */
2011-04-13 19:27:46 +00:00
class SceneHotspot1 : public NamedHotspot {
2011-03-30 19:59:20 +00:00
public:
virtual void doAction(int action);
};
public:
2011-03-30 19:59:20 +00:00
SequenceManager _sequenceManager;
SceneObject _object1;
SceneObject _object2;
SceneObject _object3;
SceneObject _object4;
SceneObject _object5;
SceneObject _object6;
SceneHotspot1 _sceneHotspot1;
NamedHotspot _sceneHotspot2;
NamedHotspot _sceneHotspot3;
NamedHotspot _sceneHotspot4;
NamedHotspot _sceneHotspot5;
NamedHotspot _sceneHotspot6;
2011-03-30 19:59:20 +00:00
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9150 : public Scene2 {
class Object3 : public SceneObject9150 {
2011-03-30 23:18:50 +00:00
public:
virtual void signal();
virtual void dispatch();
};
public:
2011-03-30 23:18:50 +00:00
SequenceManager _sequenceManager1;
SequenceManager _sequenceManager2;
SceneObject _object1;
SceneObject _object2;
Object3 _object3;
NamedHotspot _sceneHotspot1;
NamedHotspot _sceneHotspot2;
NamedHotspot _sceneHotspot3;
NamedHotspot _sceneHotspot4;
NamedHotspot _sceneHotspot5;
NamedHotspot _sceneHotspot6;
NamedHotspot _sceneHotspot7;
NamedHotspot _sceneHotspot8;
NamedHotspot _sceneHotspot9;
NamedHotspot _sceneHotspot10;
2011-03-30 23:18:50 +00:00
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9200 : public Scene2 {
class SceneHotspot1 : public NamedHotspot{
2011-04-01 21:47:39 +00:00
public:
virtual void doAction(int action);
};
public:
2011-04-01 21:47:39 +00:00
SequenceManager _sequenceManager;
SceneObject _object1;
SceneObject _object2;
SceneObject _object3;
Action _action1;
SpeakerGText _speakerGText;
SpeakerGR _speakerGR;
SpeakerQText _speakerQText;
SoundHandler _soundHandler;
SceneHotspot1 _hotspot1;
2011-04-13 19:27:46 +00:00
NamedHotspot _hotspot2;
NamedHotspot _hotspot3;
NamedHotspot _hotspot4;
NamedHotspot _hotspot5;
NamedHotspot _hotspot6;
NamedHotspot _hotspot7;
NamedHotspot _hotspot8;
2011-04-01 21:47:39 +00:00
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
virtual void process(Event &event);
};
2011-04-13 19:27:46 +00:00
class Scene9300 : public Scene {
public:
2011-04-02 06:23:55 +00:00
SequenceManager _sequenceManager;
SceneObject _object1;
SceneObject _object2;
NamedHotspot _hotspot1;
NamedHotspot _hotspot2;
NamedHotspot _hotspot3;
NamedHotspot _hotspot4;
NamedHotspot _hotspot5;
NamedHotspot _hotspot6;
NamedHotspot _hotspot7;
NamedHotspot _hotspot8;
NamedHotspot _hotspot9;
NamedHotspot _hotspot10;
NamedHotspot _hotspot11;
NamedHotspot _hotspot12;
NamedHotspot _hotspot13;
2011-04-02 06:23:55 +00:00
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9350 : public Scene2 {
public:
2011-03-28 06:28:08 +00:00
SequenceManager _sequenceManager;
Object9350 _object1;
2011-03-28 06:28:08 +00:00
SceneObject _object2;
NamedHotspot _sceneHotspot1;
NamedHotspot _sceneHotspot2;
NamedHotspot _sceneHotspot3;
NamedHotspot _sceneHotspot4;
NamedHotspot _sceneHotspot5;
2011-03-28 06:28:08 +00:00
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9360 : public Scene2 {
public:
SequenceManager _sequenceManager;
Action _action1;
Object9350 _object1;
NamedHotspot _hotspot1;
NamedHotspot _hotspot2;
NamedHotspot _hotspot3;
NamedHotspot _hotspot4;
NamedHotspot _hotspot5;
NamedHotspot _hotspot6;
NamedHotspot _hotspot7;
NamedHotspot _hotspot8;
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9400 : public Scene2 {
class SceneHotspot7 : public NamedHotspot{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class SceneHotspot8 : public NamedHotspot{
public:
virtual void doAction(int action);
};
public:
Scene9400();
SequenceManager _sequenceManager;
Action _action1;
SceneObject _object1;
SceneObject _object2;
SceneObject _object3;
SpeakerOText _speakerOText;
SpeakerOR _speakerOR;
SpeakerQText _speakerQText;
NamedHotspot _hotspot1;
NamedHotspot _hotspot2;
NamedHotspot _hotspot3;
NamedHotspot _hotspot4;
NamedHotspot _hotspot5;
NamedHotspot _hotspot6;
SoundHandler _soundHandler;
int _field1032;
SceneHotspot7 _hotspot7;
SceneHotspot8 _hotspot8;
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9450 : public Scene2 {
class Object2 : public SceneObject {
2011-04-05 12:12:47 +00:00
public:
virtual void signal();
};
2011-04-13 19:27:46 +00:00
class Object3 : public SceneObject9150 {
2011-04-05 12:12:47 +00:00
public:
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Hotspot1 : public NamedHotspot{
2011-04-05 12:12:47 +00:00
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot3 : public NamedHotspot{
2011-04-05 12:12:47 +00:00
public:
virtual void doAction(int action);
};
public:
SceneObject _object1;
SequenceManager _sequenceManager1;
SequenceManager _sequenceManager2;
Object2 _object2;
SequenceManager _sequenceManager3;
Object3 _object3;
Hotspot1 _hotspot1;
NamedHotspot _hotspot2;
2011-04-05 12:12:47 +00:00
Hotspot3 _hotspot3;
NamedHotspot _hotspot4;
NamedHotspot _hotspot5;
NamedHotspot _hotspot6;
NamedHotspot _hotspot7;
NamedHotspot _hotspot8;
NamedHotspot _hotspot9;
NamedHotspot _hotspot10;
NamedHotspot _hotspot11;
NamedHotspot _hotspot12;
NamedHotspot _hotspot13;
NamedHotspot _hotspot14;
NamedHotspot _hotspot15;
NamedHotspot _hotspot16;
2011-04-05 12:12:47 +00:00
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9500 : public Scene2 {
class Hotspot1 : public NamedHotspot{
2011-04-05 18:18:03 +00:00
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot2 : public NamedHotspot{
2011-04-05 18:18:03 +00:00
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot3 : public NamedHotspot{
2011-04-05 18:18:03 +00:00
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot4 : public NamedHotspot{
2011-04-05 18:18:03 +00:00
public:
virtual void doAction(int action);
};
public:
SequenceManager _sequenceManager;
SceneObject _candle;
2011-04-05 18:18:03 +00:00
SceneObject _object2;
SceneObject _object3;
Hotspot1 _hotspot1;
Hotspot2 _hotspot2;
Hotspot3 _hotspot3;
Hotspot4 _hotspot4;
Hotspot4 _hotspot5;
NamedHotspot _hotspot6;
NamedHotspot _hotspot7;
NamedHotspot _hotspot8;
NamedHotspot _hotspot9;
NamedHotspot _hotspot10;
NamedHotspot _hotspot11;
NamedHotspot _hotspot12;
NamedHotspot _hotspot13;
NamedHotspot _hotspot14;
NamedHotspot _hotspot15;
NamedHotspot _hotspot16;
NamedHotspot _hotspot17;
NamedHotspot _hotspot18;
NamedHotspot _hotspot19;
NamedHotspot _hotspot20;
2011-04-05 18:18:03 +00:00
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
virtual void process(Event &event);
};
2011-04-13 19:27:46 +00:00
class Scene9700 : public Scene2 {
SequenceManager _sequenceManager;
SceneObject _object1;
NamedHotspot _sceneHotspot1;
NamedHotspot _sceneHotspot2;
NamedHotspot _sceneHotspot3;
NamedHotspot _sceneHotspot4;
NamedHotspot _sceneHotspot5;
NamedHotspot _sceneHotspot6;
GfxButton _gfxButton1;
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void process(Event &event);
};
2011-04-13 19:27:46 +00:00
class Scene9750 : public Scene {
2011-03-27 12:25:04 +00:00
public:
SequenceManager _sequenceManager;
SceneObject _object1;
SceneObject _object2;
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9850 : public Scene {
class Object6 : public SceneObject{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Object7 : public SceneObjectExt{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot12 : public NamedHotspot{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot14 : public NamedHotspot{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot16 : public NamedHotspot{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot17 : public NamedHotspot{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot18 : public NamedHotspot{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot19 : public NamedHotspot{
public:
virtual void doAction(int action);
};
2011-04-13 19:27:46 +00:00
class Hotspot20 : public NamedHotspot{
public:
virtual void doAction(int action);
};
public:
SequenceManager _sequenceManager;
SceneObject _objDoor;
SceneObject _objCloak;
SceneObject _objJacket;
SceneObject _objTunic2;
SceneObject _objLever;
Object6 _objScimitar;
Object7 _objSword;
SoundHandler _soundHandler;
NamedHotspot _hotspot1;
NamedHotspot _hotspot2;
NamedHotspot _hotspot3;
NamedHotspot _hotspot4;
NamedHotspot _hotspot5;
NamedHotspot _hotspot6;
NamedHotspot _hotspot7;
NamedHotspot _hotspot8;
NamedHotspot _hotspot9;
NamedHotspot _hotspot10;
NamedHotspot _hotspot11;
Hotspot12 _hotspot12;
NamedHotspot _hotspot13;
Hotspot14 _hotspot14;
NamedHotspot _hotspot15;
Hotspot16 _hotspot16;
Hotspot17 _hotspot17;
Hotspot18 _hotspot18;
Hotspot19 _hotspot19;
2011-04-08 12:37:25 +00:00
Hotspot20 _spotLever;
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void process(Event &event);
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class Scene9900 : public Scene {
class strAction1 : public Action {
public:
SceneObject _object9;
ScenePalette _palette1;
virtual void signal();
};
2011-04-13 19:27:46 +00:00
class strAction2 : public Action {
public:
SceneText _txtArray1[2];
SceneText _txtArray2[2];
int _lineNum, _txtArray1Index, _var3;
virtual void signal();
virtual void dispatch();
};
2011-04-13 19:27:46 +00:00
class strAction3 : public Action {
public:
SceneObject _object10;
ScenePalette _palette2;
ScenePalette _palette3;
virtual void signal();
};
public:
SoundHandler _soundHandler;
SequenceManager _sequenceManager;
SceneObject _object1;
SceneObject _object2;
SceneObject _object3;
SceneObject _object4;
SceneObject _object5;
SceneObject _object6;
SceneObject _object7;
SceneObjectExt _object8;
strAction1 _strAction1;
strAction2 _strAction2;
strAction3 _strAction3;
SpeakerMR _speakerMR;
virtual void postInit(SceneObjectList *OwnerList = NULL);
virtual void signal();
virtual void dispatch();
virtual void process(Event &event);
};
2011-04-13 19:27:46 +00:00
class Scene9999 : public Scene {
2011-03-27 00:19:44 +00:00
/* Actions */
2011-04-13 19:27:46 +00:00
class Action1 : public Action {
2011-03-27 00:19:44 +00:00
public:
virtual void signal();
};
2011-04-13 19:27:46 +00:00
class Action2 : public Action {
2011-03-27 00:19:44 +00:00
public:
virtual void signal();
};
public:
Action1 _action1;
Action2 _action2;
Action _action3;
SceneObject _object1;
SceneObject _object2;
SceneObject _object3;
virtual void postInit(SceneObjectList *OwnerList = NULL);
};
} // End of namespace tSage
#endif