ScummVM API documentation
blueforce_speakers.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_SPEAKERS_H
23 #define TSAGE_BLUEFORCE_SPEAKERS_H
24 
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/blue_force/blueforce_logic.h"
32 
33 namespace TsAGE {
34 
35 namespace BlueForce {
36 
37 using namespace TsAGE;
38 
39 class VisualSpeaker: public Speaker {
40 public:
41  NamedObject _object1;
42  CountdownObject _object2;
43  bool _removeObject1, _removeObject2;
44  int _xp;
45  int _numFrames;
46  Common::Point _offsetPos;
47 public:
48  VisualSpeaker();
49 
50  Common::String getClassName() override { return "VisualSpeaker"; }
51  void synchronize(Serializer &s) override;
52  void remove() override;
53  void startSpeaking(Action *action) override;
54  void setText(const Common::String &msg) override;
55 };
56 
58 public:
60 
61  Common::String getClassName() override { return "SpeakerGameText"; }
62 };
63 
65 public:
66  SpeakerSutter();
67 
68  Common::String getClassName() override { return "SpeakerSutter"; }
69  void setText(const Common::String &msg) override;
70 };
71 
72 class SpeakerDoug: public VisualSpeaker {
73 public:
74  SpeakerDoug();
75 
76  Common::String getClassName() override { return "SpeakerDoug"; }
77 };
78 
80 public:
82 
83  Common::String getClassName() override { return "SpeakerJakeNoHead"; }
84 };
85 
87 public:
89 
90  Common::String getClassName() override { return "SpeakerHarrison"; }
91  void setText(const Common::String &msg) override;
92 };
93 
94 class SpeakerJake: public VisualSpeaker {
95 public:
96  SpeakerJake();
97 
98  Common::String getClassName() override { return "SpeakerJake"; }
99  void setText(const Common::String &msg) override;
100 };
101 
103 public:
105 
106  Common::String getClassName() override { return "SpeakerJakeJacket"; }
107  void setText(const Common::String &msg) override;
108 };
109 
111 public:
113 
114  Common::String getClassName() override { return "SpeakerJakeUniform"; }
115  void setText(const Common::String &msg) override;
116 };
117 
119 public:
120  SpeakerJailer();
121 
122  Common::String getClassName() override { return "SpeakerJailer"; }
123  void setText(const Common::String &msg) override;
124 };
125 
127 public:
128  SpeakerGreen();
129 
130  Common::String getClassName() override { return "SpeakerGreen"; }
131  void setText(const Common::String &msg) override;
132 };
133 
135 public:
136  SpeakerPSutter();
137 
138  Common::String getClassName() override { return "SpeakerPSutter"; }
139  void setText(const Common::String &msg) override;
140 };
141 
143 public:
145 
146  Common::String getClassName() override { return "SpeakerJakeRadio"; }
147 };
148 
150 public:
151  SpeakerLyleHat();
152 
153  Common::String getClassName() override { return "SpeakerLyleHat"; }
154  void setText(const Common::String &msg) override;
155 };
156 
158 public:
159  SpeakerJordan();
160 
161  Common::String getClassName() override { return "SpeakerJordan"; }
162  void setText(const Common::String &msg) override;
163 };
164 
165 class SpeakerSkip: public VisualSpeaker {
166 public:
167  SpeakerSkip();
168 
169  Common::String getClassName() override { return "SpeakerSkip"; }
170  void setText(const Common::String &msg) override;
171 };
172 
174 public:
175  SpeakerSkipB();
176 
177  Common::String getClassName() override { return "SpeakerSkipB"; }
178  void setText(const Common::String &msg) override;
179 };
180 
182 public:
183  SpeakerCarter();
184 
185  Common::String getClassName() override { return "SpeakerCarter"; }
186  void setText(const Common::String &msg) override;
187 };
188 
190 public:
191  SpeakerDriver();
192 
193  Common::String getClassName() override { return "SpeakerDriver"; }
194  void setText(const Common::String &msg) override;
195 };
196 
198 public:
199  SpeakerShooter();
200 
201  Common::String getClassName() override { return "SpeakerShooter"; }
202  void setText(const Common::String &msg) override;
203 };
204 
205 class SpeakerJim: public VisualSpeaker {
206 public:
207  SpeakerJim();
208 
209  Common::String getClassName() override { return "SpeakerJim"; }
210  void setText(const Common::String &msg) override;
211 };
212 
213 class SpeakerDezi: public VisualSpeaker {
214 public:
215  SpeakerDezi();
216 
217  Common::String getClassName() override { return "SpeakerDezi"; }
218  void setText(const Common::String &msg) override;
219 };
220 
222 public:
223  SpeakerJake385();
224 
225  Common::String getClassName() override { return "SpeakerJake385"; }
226  void setText(const Common::String &msg) override;
227 };
228 
230 public:
231  SpeakerLaura();
232 
233  Common::String getClassName() override { return "SpeakerLaura"; }
234  void setText(const Common::String &msg) override;
235 };
236 
238 public:
240 
241  Common::String getClassName() override { return "SpeakerLaura"; }
242  void setText(const Common::String &msg) override;
243 };
244 
246 public:
247  SpeakerEugene();
248 
249  Common::String getClassName() override { return "SpeakerEugene"; }
250  void setText(const Common::String &msg) override;
251 };
252 
254 public:
255  SpeakerWeasel();
256 
257  Common::String getClassName() override { return "SpeakerWeasel"; }
258  void setText(const Common::String &msg) override;
259 };
260 
262 public:
263  SpeakerBilly();
264 
265  Common::String getClassName() override { return "SpeakerBilly"; }
266  void setText(const Common::String &msg) override;
267 };
268 
270 public:
271  SpeakerDrunk();
272 
273  Common::String getClassName() override { return "SpeakerDrunk"; }
274  void setText(const Common::String &msg) override;
275 };
276 
278 public:
279  SpeakerGiggles();
280 
281  Common::String getClassName() override { return "SpeakerGiggles"; }
282  void setText(const Common::String &msg) override;
283 };
284 
285 class SpeakerFBI: public VisualSpeaker {
286 public:
287  SpeakerFBI();
288 
289  Common::String getClassName() override { return "FBI"; }
290  void setText(const Common::String &msg) override;
291 };
292 
293 class SpeakerNico: public VisualSpeaker {
294 public:
295  SpeakerNico();
296 
297  Common::String getClassName() override { return "NICO"; }
298  void setText(const Common::String &msg) override;
299 };
300 
301 class SpeakerDA: public VisualSpeaker {
302 public:
303  SpeakerDA();
304 
305  Common::String getClassName() override { return "DA"; }
306  void setText(const Common::String &msg) override;
307 };
308 
310 public:
311  SpeakerGrandma();
312 
313  Common::String getClassName() override { return "SpeakerGrandma"; }
314  void setText(const Common::String &msg) override;
315 };
316 
317 class SpeakerLyle: public VisualSpeaker {
318 public:
319  SpeakerLyle();
320 
321  Common::String getClassName() override { return "SpeakerLyle"; }
322  void setText(const Common::String &msg) override;
323 };
324 
326 public:
327  SpeakerGranText();
328 
329  Common::String getClassName() override { return "SpeakerGranText"; }
330 };
331 
333 public:
334  SpeakerLyleText();
335 
336  Common::String getClassName() override { return "SpeakerLyleText"; }
337 };
338 
339 class SpeakerKate: public VisualSpeaker {
340 public:
341  SpeakerKate();
342 
343  Common::String getClassName() override { return "SpeakerKate"; }
344  void setText(const Common::String &msg) override;
345 };
346 
347 class SpeakerTony: public VisualSpeaker {
348 public:
349  SpeakerTony();
350 
351  Common::String getClassName() override { return "SpeakerTony"; }
352  void setText(const Common::String &msg) override;
353 };
354 } // End of namespace BlueForce
355 
356 } // End of namespace TsAGE
357 
358 #endif
Definition: blueforce_speakers.h:301
Definition: blueforce_speakers.h:110
Definition: blueforce_speakers.h:347
Definition: blueforce_speakers.h:86
Definition: str.h:59
Definition: blueforce_speakers.h:149
Definition: converse.h:71
Definition: blueforce_speakers.h:181
Definition: blueforce_speakers.h:205
Definition: blueforce_speakers.h:285
Definition: blueforce_speakers.h:229
Definition: blueforce_speakers.h:277
Definition: blueforce_speakers.h:118
Definition: blueforce_speakers.h:57
Definition: blueforce_speakers.h:134
Definition: core.h:134
Definition: blueforce_speakers.h:197
Definition: blueforce_speakers.h:102
Definition: blueforce_speakers.h:332
Definition: blueforce_speakers.h:317
Definition: blueforce_speakers.h:245
Definition: blueforce_logic.h:155
Definition: blueforce_speakers.h:325
Definition: blueforce_speakers.h:157
Definition: blueforce_speakers.h:237
Definition: blueforce_speakers.h:79
Definition: blueforce_speakers.h:213
Definition: blueforce_speakers.h:39
Definition: rect.h:45
Definition: blueforce_speakers.h:261
Definition: blueforce_speakers.h:64
Definition: blueforce_dialogs.h:30
Definition: blueforce_speakers.h:339
Definition: saveload.h:63
Definition: blueforce_speakers.h:269
Definition: blueforce_speakers.h:165
Definition: blueforce_speakers.h:253
Definition: blueforce_speakers.h:221
Definition: blueforce_speakers.h:142
Definition: blueforce_speakers.h:189
Definition: blueforce_speakers.h:72
Definition: blueforce_speakers.h:309
Definition: blueforce_speakers.h:173
Definition: blueforce_speakers.h:126
Definition: blueforce_speakers.h:94
Definition: blueforce_logic.h:119
Definition: blueforce_speakers.h:293