ScummVM API documentation
blueforce_scenes7.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef TSAGE_BLUEFORCE_SCENES7_H
23 #define TSAGE_BLUEFORCE_SCENES7_H
24 
25 #include "common/scummsys.h"
26 #include "tsage/blue_force/blueforce_logic.h"
27 #include "tsage/blue_force/blueforce_speakers.h"
28 #include "tsage/converse.h"
29 #include "tsage/events.h"
30 #include "tsage/core.h"
31 #include "tsage/scenes.h"
32 #include "tsage/globals.h"
33 #include "tsage/sound.h"
34 
35 namespace TsAGE {
36 
37 namespace BlueForce {
38 
39 using namespace TsAGE;
40 
41 class Scene710: public SceneExt {
42  // Actions
43  class Action1: public ActionExt {
44  public:
45  void signal() override;
46  };
47  // Timers
48  class Timer1: public Timer {
49  public:
50  void signal() override;
51  };
52  // Objects
53  class Object3: public NamedObject {
54  public:
55  bool startAction(CursorType action, Event &event) override;
56  };
57  class Object4: public NamedObject {
58  public:
59  bool startAction(CursorType action, Event &event) override;
60  };
61  class Object5: public NamedObject {
62  public:
63  bool startAction(CursorType action, Event &event) override;
64  };
65 
66 public:
67  SequenceManager _sequenceManager1;
68  SequenceManager _sequenceManager2;
69  SequenceManager _sequenceManager3;
70  Timer1 _timer1;
71  SpeakerJake _jakeSpeaker;
72  SpeakerLaura _lauraSpeaker;
73  SpeakerSkip _skipSpeaker;
74  SpeakerGameText _gameTextSpeaker;
75  Action1 _action1;
76  NamedObject _object1;
77  NamedObject _kid;
78  Object3 _laura;
79  Object4 _dog;
80  Object5 _stick;
81  ASoundExt _soundExt1;
82  NamedHotspot _item1;
83  NamedHotspot _item2;
84  NamedHotspot _item3;
85  NamedHotspot _item4;
86  NamedHotspot _item5;
87  NamedHotspot _item6;
88  NamedHotspot _item7;
89  NamedHotspot _item8;
90  NamedHotspot _item9;
91  int _stickThrowCount;
92  bool _dogLying;
93  bool _watchCrate;
94  bool _throwStick;
95 
96  void postInit(SceneObjectList *OwnerList = NULL) override;
97  void signal() override;
98  void dispatch() override;
99  void synchronize(Serializer &s) override;
100 };
101 
102 } // End of namespace BlueForce
103 } // End of namespace TsAGE
104 
105 #endif
Definition: core.h:736
Definition: blueforce_speakers.h:229
Definition: blueforce_speakers.h:57
Definition: blueforce_logic.h:330
Definition: blueforce_scenes7.h:41
Definition: sound.h:405
Definition: events.h:47
Definition: blueforce_logic.h:72
Definition: blueforce_dialogs.h:30
Definition: blueforce_logic.h:194
Definition: saveload.h:63
Definition: blueforce_speakers.h:165
Definition: core.h:163
Definition: blueforce_speakers.h:94
Definition: converse.h:38
Definition: blueforce_logic.h:119