22#ifndef HOLLYWOOD_RUNAWAY_SCENE2010_H
23#define HOLLYWOOD_RUNAWAY_SCENE2010_H
25#include "common/random.h"
26#include "hollywood/runaway/audio.h"
27#include "hollywood/runaway/graphics.h"
28#include "hollywood/runaway/speech.h"
29#include "hollywood/runaway/video.h"
30#include "hollywood/scene_text_store.h"
39 bool load(
byte chapter = 0);
40 bool loadEndingNarration(
byte cue);
41 void start(uint32 now);
42 void update(uint32 now);
43 void skip(uint32 now);
44 void skipSpeech(uint32 now);
46 bool finished()
const {
return _step == kFinished || _failed; }
47 bool failed()
const {
return _failed; }
52 kSitDown, kIntroduction, kLeanForward, kQuestion, kLeanBack, kBackground,
53 kTurnToScreen, kJourney, kMontage, kTurnBack, kLastNarration,
54 kCity, kTitle, kAccident, kAccidentTitle, kAccidentEnd, kCityExit,
55 kFilm, kStayAway, kApproach, kUnconscious, kTurn, kHospital,
56 kHitman, kReply, kFilmEnd, kChapter, kChapterGesture, kFinished
58 void enter(Step step, uint32 now);
60 void speak(uint16 cue,
byte variation);
63 void startMovie(
const char *name, uint first, uint last);
69 uint narrationVariations()
const;
70 bool speaking()
const {
return _row != 0; }
82 Step _step = kFinished;
83 uint32 _now = 0, _started = 0, _deadline = 0;
84 uint _frame = 0, _firstFrame = 0, _lastFrame = 0, _events = 0;
85 uint _bodyFrame = 20, _headBank = 1;
86 byte _chapter = 1, _chapterVariation = 0;
87 byte _narrationCue = 0;
88 bool _chapterOnly =
false;
89 uint16 _row = 0, _lastRow = 0, _sample = 0;
90 bool _narrating =
true, _themeStarted =
false, _failed =
false;
Definition: managed_surface.h:51
Definition: graphics.h:54
Definition: scene2010.h:36
Definition: scene_text_store.h:64