aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force/blueforce_scenes9.h
diff options
context:
space:
mode:
authorStrangerke2011-10-09 18:27:13 +0200
committerStrangerke2011-10-09 18:27:43 +0200
commit148b09835e8b4fe90daa4e925b10c4d9071be502 (patch)
tree0bd35fb5b17c9140c080529f867d4226122545c0 /engines/tsage/blue_force/blueforce_scenes9.h
parent26140afaed2313453b69157a39f3f87dc56558aa (diff)
downloadscummvm-rg350-148b09835e8b4fe90daa4e925b10c4d9071be502.tar.gz
scummvm-rg350-148b09835e8b4fe90daa4e925b10c4d9071be502.tar.bz2
scummvm-rg350-148b09835e8b4fe90daa4e925b10c4d9071be502.zip
TsAGE: Implement initialization of scene 910, plus actions of each objects and items. (WIP)
Diffstat (limited to 'engines/tsage/blue_force/blueforce_scenes9.h')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes9.h171
1 files changed, 171 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes9.h b/engines/tsage/blue_force/blueforce_scenes9.h
index f4f2c6e779..ae54e0d1f9 100644
--- a/engines/tsage/blue_force/blueforce_scenes9.h
+++ b/engines/tsage/blue_force/blueforce_scenes9.h
@@ -121,6 +121,177 @@ public:
void synchronize(Serializer &s);
};
+class Scene910: public PalettedScene {
+ /* Actions */
+ class Action1 : public Action {
+ public:
+ void signal();
+ };
+ class Action2 : public Action {
+ public:
+ void signal();
+ };
+ /* Objects */
+ class Object1: public NamedObject {
+ public:
+ int _field90;
+ bool startAction(CursorType action, Event &event);
+ };
+ class Object2: public NamedObject {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Object3: public NamedObject {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Object4: public NamedObject {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Object8: public NamedObject {
+ public:
+ int _field90, _field92;
+ bool startAction(CursorType action, Event &event);
+ void init(int val);
+
+ };
+ class Object10: public NamedObject {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Object11: public NamedObject {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+
+ class Object13: public NamedObject {
+ protected:
+ int _field90, _field92;
+ public:
+ void subEBB05(int x, int y, int arg8, int8 argA);
+ virtual bool startAction(CursorType action, Event &event);
+ virtual void remove();
+ };
+
+ class Object28: public Object13 {
+ public:
+ void subEBD26(int x, int y, int arg8, int8 argA);
+ bool startAction(CursorType action, Event &event);
+ void remove();
+ };
+
+ class Object25: public NamedObject {
+ int _field90, _field92;
+ public:
+ void subEBBDC(int x, int y, int arg8, int argA);
+ bool startAction(CursorType action, Event &event);
+ void remove();
+ };
+
+ class Object12: public FocusObject {
+ Object13 _object13, _object14, _object15, _object16, _object17, _object18;
+ Object13 _object19, _object20, _object21, _object22, _object23, _object24;
+ Object25 _object25, _object26;
+ public:
+ Object13 _object27;
+ Object28 _object28;
+ Common::String getClassName() { return "Scene910_object12"; }
+ void postInit(SceneObjectList *OwnerList = NULL);
+ void remove();
+ };
+
+ class Object31: public NamedObject {
+ public:
+ NamedObject _object32;
+ void remove();
+ bool startAction(CursorType action, Event &event);
+ void subED6EA(int frame);
+ };
+
+ class Object29: public FocusObject {
+ Object28 _object30;
+ Object31 _object31;
+ public:
+ Common::String getClassName() { return "Scene910_object29"; }
+ void postInit(SceneObjectList *OwnerList = NULL);
+ void remove();
+ };
+
+ /* Items */
+ class Item1: public NamedHotspot {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Item2: public NamedHotspot {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Item3: public NamedHotspot {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Item9: public NamedHotspot {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Item15: public NamedHotspot {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Item16: public NamedHotspot {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+ class Item17: public NamedHotspot {
+ public:
+ bool startAction(CursorType action, Event &event);
+ };
+
+ int _field2DDA, _field2DDC, _field2DDE, _field2DD8, _field2DE0, _field2DE2, _field2DE4;
+public:
+ SequenceManager _sequenceManager1, _sequenceManager2;
+ SpeakerGameText _gameTextSpeaker;
+ SpeakerJakeJacket _jakeJacketSpeaker;
+ SpeakerLyleHat _lyleHatSpeaker;
+ SpeakerFBI _fbiSpeaker;
+ SpeakerNico _nicoSpeaker;
+ SpeakerDA _daSpeaker;
+ Action1 _action1;
+ Action2 _action2;
+ Timer _timer1;
+ Object1 _object1;
+ Object2 _object2;
+ Object3 _object3;
+ Object4 _object4;
+ NamedObject _object5, _object6, _object7;
+ Object8 _object8, _object9;
+ Object10 _object10;
+ Object11 _object11;
+ Object12 _object12;
+ FocusObject _object29;
+ NamedObject _object30, _object31, _object32;
+ Item1 _item1;
+ Item2 _item2;
+ Item3 _item3;
+ NamedHotspot _item4, _item5, _item6, _item7, _item8;
+ Item9 _item9, _item10;
+ NamedHotspot _item11, _item12, _item13, _item14;
+ Item15 _item15;
+ Item16 _item16;
+ Item17 _item17;
+ ASoundExt _sound1, _sound2;
+
+ void postInit(SceneObjectList *OwnerList = NULL);
+ void remove();
+ void signal();
+ void process(Event &event);
+ void dispatch();
+ void checkGun();
+ void subE82BD();
+ void subE83E1();
+};
+
class Scene920: public SceneExt {
/* Items */
class Item1: public NamedHotspot {