22#ifndef HOLLYWOOD_MONSTERS_SCENES_INTRO_SCENE9170_H
23#define HOLLYWOOD_MONSTERS_SCENES_INTRO_SCENE9170_H
25#include "common/random.h"
27#include "hollywood/monsters/music.h"
28#include "hollywood/monsters/scenes/presentation_scene.h"
29#include "hollywood/scene_text_store.h"
46 void buildInitialStaticFrame();
47 void switchToLowerRoomFrame();
48 void addBlockListToCanvas(uint chunkIndex,
int yOffset);
49 void copyBaseToCanvasAtYOffset(
int yOffset);
50 void clearCanvasRows(
int yOffset,
int rowCount);
52 void restoreSpriteChannel(uint chunkIndex, uint descriptorCount,
const byte *frameMap,
53 uint frameMapSize,
byte frameIndex);
54 void drawSpriteChannel(uint chunkIndex, uint descriptorCount,
const byte *frameMap,
55 uint frameMapSize,
byte frameIndex);
56 void scrollByTable(
const byte *table, uint tableSize,
bool add);
57 void scrollTo(uint targetRowOffset,
int step);
58 void waitWithAnimations(uint32 millis,
byte speakerGroup,
bool animateAmbient,
59 bool presentChanges =
true);
61 void startLowerRoomAmbience();
62 void stopLowerRoomAmbience();
63 void advanceLowerRoomAmbience();
64 void runSpeechLine(
byte rowIndex,
byte frameIndex, uint16 centerX, uint16 topY,
65 byte red,
byte green,
byte blue,
byte speakerGroup);
66 void runSpeechCue(uint16 textRecordId,
byte continuationCount, uint16 voiceSampleId,
67 uint16 centerX, uint16 topY,
byte speakerGroup);
68 void advanceSpeechAnimation(
byte speakerGroup);
69 void advanceSpeakerIdleAnimation(
byte speakerGroup);
70 void advanceUpperIdleAnimations(
byte speakerGroup);
71 void resetSpeakerFrame(
byte speakerGroup);
72 byte nextTalkingFrame();
73 void runEventOverlayFrames();
75 uint presentRowOffset()
const override;
76 int subtitleViewportYOffset()
const override;
77 void stopAudio()
override;
90 bool _upperActorsEnabled;
91 bool _lowerActorsEnabled;
100 byte _lastTalkingFrame;
101 int _channelCanvasOffset;
102 bool _ambientEffectsEnabled;
103 uint16 _ambientSpeechSampleId;
105 uint _shakeRowOffset;
Definition: hollywood.h:47
Definition: graphics.h:74
Definition: presentation_scene.h:38
Definition: scene9170.h:37
Definition: scene_text_store.h:64