22 #ifndef MADS_NEBULAR_SCENES3_H 23 #define MADS_NEBULAR_SCENES3_H 25 #include "common/scummsys.h" 26 #include "mads/game.h" 27 #include "mads/scene.h" 28 #include "mads/nebular/nebular_scenes.h" 43 _vertical = _horizontal = -1;
45 for (
int i = 0; i < 40; ++i)
51 s.syncAsSint32LE(_vertical);
52 s.syncAsSint32LE(_horizontal);
53 for (
int i = 0; i < 40; ++i)
54 s.syncAsSint32LE(_seqId[i]);
55 s.syncAsUint32LE(_timer);
69 void setPlayerSpritesPrefix();
71 void sceneEntrySound();
73 void initForceField(
ForceField *force,
bool flag);
74 void handleForceField(
ForceField *force,
int *sprites);
75 int computeScale(
int low,
int high,
int id);
87 void preActions()
override;
94 void setup()
override;
95 void enter()
override;
107 void setup()
override;
108 void enter()
override;
109 void step()
override;
116 void setup()
override;
117 void enter()
override;
118 void step()
override;
123 int _explosionSpriteId;
129 void setup()
override;
130 void enter()
override;
131 void step()
override;
139 bool _duringPeeingFl;
141 bool _activePrisonerFl;
144 int _prisonerMessageId;
145 int _fieldCollisionCounter;
147 uint32 _lastFrameTime;
149 uint32 _prisonerTimer;
156 void handleRexDialog(
int quote);
157 void handlePrisonerDialog();
158 void handlePrisonerEncounter();
159 void setDialogNode(
int node);
160 void handlePrisonerSpeech(
int firstQuoteId,
int number, uint32 timeout);
166 void setup()
override;
167 void enter()
override;
168 void step()
override;
169 void actions()
override;
180 void setup()
override;
181 void enter()
override;
182 void step()
override;
188 int _characterSpriteIndexes[3];
189 int _messagesIndexes[3];
196 void setup()
override;
197 void enter()
override;
198 void step()
override;
209 void setup()
override;
210 void enter()
override;
211 void step()
override;
222 void setup()
override;
223 void enter()
override;
224 void step()
override;
225 void actions()
override;
232 void setup()
override;
233 void enter()
override;
234 void actions()
override;
239 void handleRexInGrate();
240 void handleRoxInGrate();
245 void setup()
override;
246 void enter()
override;
247 void step()
override;
248 void preActions()
override;
249 void actions()
override;
262 bool _internTalkingFl;
263 bool _internWalkingFl;
264 bool _internVisibleFl;
267 uint32 _lastFrameCounter;
274 void handleRexDialogs(
int quote);
275 void handleInternDialog(
int quoteId,
int quoteNum, uint32 timeout);
281 void setup()
override;
282 void enter()
override;
283 void step()
override;
284 void preActions()
override;
285 void actions()
override;
292 int _animMode, _animFrame;
293 int _nextAction1, _nextAction2;
298 bool _slacheTalkingFl;
304 void handleRexDialogues(
int quote);
305 void handleSlacheDialogs(
int quoteId,
int counter, uint32 timer);
310 void setup()
override;
311 void enter()
override;
312 void step()
override;
313 void actions()
override;
318 void setRightView(
int view);
319 void setLeftView(
int view);
320 void handleButtons();
335 void setup()
override;
336 void enter()
override;
337 void step()
override;
338 void actions()
override;
345 void setup()
override;
346 void enter()
override;
347 void step()
override;
354 void setup()
override;
355 void enter()
override;
356 void step()
override;
357 void actions()
override;
364 void setup()
override;
365 void enter()
override;
366 void step()
override;
367 void actions()
override;
373 bool _mustPutArmDownFl;
376 int _tapePlayerHotspotIdx;
380 int _commonSequenceIdx;
381 int _commonSpriteIndex;
383 void putArmDown(
bool corridorExit,
bool doorwayExit);
389 void setup()
override;
390 void enter()
override;
391 void preActions()
override;
392 void actions()
override;
399 void setup()
override;
400 void enter()
override;
401 void actions()
override;
408 void setup()
override;
409 void enter()
override;
410 void preActions()
override;
411 void actions()
override;
418 void setup()
override;
419 void enter()
override;
420 void preActions()
override;
421 void actions()
override;
428 void setup()
override;
429 void enter()
override;
430 void preActions()
override;
431 void actions()
override;
442 void setup()
override;
443 void enter()
override;
444 void preActions()
override;
445 void actions()
override;
452 void setup()
override;
453 void enter()
override;
454 void preActions()
override;
455 void actions()
override;
460 void handleRexAction();
461 void handleRoxAction();
466 void setup()
override;
467 void enter()
override;
468 void step()
override;
469 void preActions()
override;
470 void actions()
override;
477 void setup()
override;
478 void enter()
override;
479 void actions()
override;
486 void setup()
override;
487 void enter()
override;
488 void actions()
override;
495 void setup()
override;
496 void enter()
override;
497 void actions()
override;
504 int _circularQuoteId;
510 void setup()
override;
511 void enter()
override;
512 void step()
override;
513 void actions()
override;
520 void setup()
override;
521 void enter()
override;
522 void actions()
override;
529 void setup()
override;
530 void enter()
override;
531 void actions()
override;
538 void setup()
override;
539 void enter()
override;
540 void actions()
override;
Definition: nebular_scenes3.h:34
Definition: nebular_scenes3.h:404
Definition: nebular_scenes3.h:482
Definition: nebular_scenes3.h:473
Definition: nebular_scenes3.h:448
Definition: nebular_scenes3.h:525
Definition: nebular_scenes3.h:237
Definition: nebular_scenes3.h:83
Definition: nebular_scenes3.h:370
Definition: nebular_scenes3.h:201
Definition: nebular_scenes3.h:350
Definition: nebular_scenes3.h:434
Definition: nebular_scenes3.h:491
void actions() override
Definition: nebular_scenes3.h:80
Definition: serializer.h:79
Definition: nebular_scenes3.h:228
Definition: nebular_scenes3.h:134
Definition: nebular_scenes3.h:458
Definition: nebular_scenes3.h:534
Definition: nebular_scenes3.h:59
Definition: nebular_scenes3.h:252
Definition: nebular_scenes3.h:214
Definition: nebular_scenes3.h:112
Definition: nebular_scenes3.h:500
Definition: nebular_scenes3.h:172
Definition: nebular_scenes3.h:316
Definition: nebular_scenes3.h:414
Definition: nebular_scenes3.h:90
Definition: nebular_scenes.h:1348
Definition: nebular_scenes3.h:121
Definition: nebular_scenes3.h:516
Definition: nebular_scenes3.h:395
Definition: nebular_scenes3.h:288
Definition: nebular_scenes3.h:424
Definition: nebular_scenes.h:1385
Definition: nebular_scenes3.h:99
Definition: user_interface.h:96
Definition: nebular_scenes3.h:360
Definition: nebular_scenes3.h:185
Definition: nebular_scenes3.h:341