22#ifndef HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_SPEECH_CONTROLLER_H
23#define HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_SPEECH_CONTROLLER_H
25#include "common/random.h"
26#include "common/types.h"
28#include "hollywood/monsters/music.h"
29#include "hollywood/monsters/scenes/speech_overlay.h"
43 void initialize(
byte secondaryTextColor,
byte primaryTextColor);
44 void resetRuntimeState(
byte invalidPrimaryGroup,
byte defaultPrimaryFrame);
45 void clearSecondaryOverlay();
46 void clearPrimaryOverlay();
47 void clearAllOverlays();
48 void prepareSecondaryActorSpeech();
50 uint32 frameMillis,
byte frameCount);
53 byte advancePrimaryDialogueSpeechFrame(
Common::RandomSource &random,
byte baseFrame,
byte frameCount);
54 void startPrimaryLeftSpeech();
55 void stopPrimaryLeftSpeech();
56 void startPrimaryDialogueSpeech(
byte animationGroup,
byte baseFrame);
57 void stopPrimaryDialogueSpeech(
byte invalidPrimaryGroup,
byte defaultPrimaryFrame);
62 byte _primaryLeftSpeechLastFrame;
63 byte _primaryDialogueSpeechLastFrame;
64 byte _primaryDialogueSpeechGroup;
65 bool _primaryLeftSpeechActive;
66 bool _primaryDialogueSpeechActive;
67 uint32 _secondaryActorTimerAccumulator;
68 uint32 _primaryLeftSpeechTimerAccumulator;
69 uint32 _primaryDialogueSpeechTimerAccumulator;
70 byte _secondaryActorFrame;
Definition: speech_controller.h:39
Language
Definition: language.h:45
Definition: speech_overlay.h:38