22#ifndef HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_SCENE5110_H
23#define HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_SCENE5110_H
25#include "hollywood/monsters/gameplay/dialogue_menu.h"
26#include "hollywood/monsters/scenes/playable/playable_scene.h"
37 int replacementFillRunsResourceChunkIndex()
const override;
38 int replacementPaletteMaskResourceChunkIndex()
const override;
39 void initializeCustomPreviewState()
override;
40 void drawCustomComposite(
bool drawActiveActor,
byte activeFacing,
byte activeCel,
int activeWorldX,
int activeWorldY,
41 bool drawSecondaryActor,
byte secondaryFacing,
byte secondaryFrame,
int secondaryWorldX,
int secondaryWorldY,
42 byte actorDrawOrderMode)
override;
43 void runCustomEntrySequence()
override;
44 void advanceCustomGameplayLoop(uint32 delta)
override;
45 bool dispatchCustomSceneAction(uint16 handlerId)
override;
46 bool adjustCustomWalkTargetToFloorMask(
int &targetX,
int &targetY)
const override;
47 bool customizeRouteSegment(
byte currentRegion,
byte nextRegion,
const ActorPathBuildState &state,
48 const ScenePoint &boundary,
int &requestedFacing,
bool &restoredStepDeltas)
override;
49 bool applyCustomSceneStateToHotspotsAndPatches(
byte selector)
override;
50 bool shouldConvertSavedFramebufferFF()
const override;
51 void runExitSideEffectsAfterLoop()
override;
53 byte primarySpeechAnimationBaseFrame(
byte animationGroup)
const override;
54 byte primarySpeechAnimationFrameCount(
byte animationGroup)
const override;
55 uint32 primarySpeechAnimationFrameMillis(
byte animationGroup)
const override;
56 void setPrimarySpeechAnimationFrame(
byte animationGroup,
byte frameIndex)
override;
57 void primarySpeechAnimationStarted(
byte animationGroup,
byte baseFrame)
override;
58 void primarySpeechAnimationRestored(
byte animationGroup,
byte baseFrame)
override;
61 bool runEntryElevatorSequence(
bool alternateEntry);
62 bool playElevatorSequence(
const byte *frameMap, uint frameMapSize,
bool drawActor);
63 bool holdElevatorFrame(
bool drawActor);
64 void runButtonExitToState(uint16 nextState);
65 void runButtonReturnSequence();
66 void runUnderwearPickup();
67 void runBottlePickup();
68 void runWerewolfDialogue();
69 void runManicureGirlTalk();
70 void runJacuzziGirlTalk();
71 void runMirrorApproach();
72 void runMirrorPickup();
73 void runJacuzziInspection();
74 void runHairTreatmentTalk();
75 void beginSalonPrimarySpeechLine(uint16 rowIndex,
byte frameIndex);
76 void settleWerewolfForSpeech();
79 byte enabled,
byte nextNodeIndex,
byte transitionMode,
byte playerTextRowId,
80 byte responseFrameIndex,
byte disableAfterUse)
const;
81 bool applyWerewolfDialogueTransition(
const DialogueChoiceRecord &record,
byte &depthIndex,
byte &nodeIndex);
82 void initializeSalonLayers();
83 void advanceSalonAnimations(uint32 delta);
84 void advanceSalonAnimationTick();
85 void advanceUpperRightSalonTick();
86 void advanceRightSalonDetailTick();
87 void advanceLowerSalonDetailTick();
88 void advanceCenterSalonTick();
89 void advanceLeftSalonTick();
90 void advanceWerewolfTick(
bool allowLongGesture);
91 void advanceWerewolfDialogueTick();
92 void advanceCenterSalonDetailTick();
93 void drawNormalRoomLayers(
int activeWorldY);
94 void drawSalonSpriteLayers();
95 void drawElevatorComposite(
bool drawActiveActor,
byte activeFacing,
byte activeCel,
96 int activeWorldX,
int activeWorldY,
bool drawSecondaryActor,
byte secondaryFacing,
97 byte secondaryFrame,
int secondaryWorldX,
int secondaryWorldY);
98 void updateElevatorButtonActionTargets(
bool useStrip);
99 void initializeSceneItemLabels();
100 void copyStageSmallRow(
byte sourceRow,
byte destinationRow);
101 void clearSceneItemFromColorMap(
byte itemId);
102 void replaceColorMapItemFromOriginal(
byte sourceItem,
byte destinationItem);
103 void rebuildWalkableMask();
105 uint _randomDetailTrack;
107 byte _upperRightSalonState;
108 byte _rightSalonDetailDirection;
109 byte _rightSalonDetailDwell;
110 byte _lowerSalonDetailState;
111 byte _leftSalonRepeatCount;
113 byte _centerSalonDetailRepeatCount;
114 bool _centerSalonToggleA;
115 bool _centerSalonToggleB;
116 bool _centerSalonDetailSequenceActive;
117 bool _werewolfDialogueActive;
Definition: hollywood.h:47
Definition: playable_scene.h:84
Definition: scene5110.h:32
Definition: actor_types.h:59
Definition: ambient_audio.h:44
Definition: dialogue_menu.h:33
Definition: game_loop.h:44
Definition: scene_data.h:29
Definition: animation_channels.h:34