22#ifndef HOLLYWOOD_RUNAWAY_SCENE6290_H
23#define HOLLYWOOD_RUNAWAY_SCENE6290_H
25#include "hollywood/runaway/scene.h"
34 void click(
Common::Point mouse, RunawayVerb verb,
byte item)
override;
36 Common::U32String actionCaption(
byte id, RunawayVerb verb,
byte item)
const override;
37 bool canSave()
const override;
38 bool busy()
const override;
41 const char *actionCaptionVariant(
byte id,
bool look,
byte item)
const override;
42 bool loadCustomResources()
override;
43 bool applyCustomBackgroundPatches()
override;
44 void applyCustomHotspotState()
override;
45 void prepareCustomGameplayLoop()
override;
46 void runCustomEntrySequence()
override;
47 void advanceCustomGameplayLoop(uint32 delta)
override;
50 ActionResult dispatchCustomSceneAction(uint16 action)
override;
51 void handleCustomDialogueChoice(
byte effect)
override;
52 void resumeAmbientAudio(
bool entering)
override;
54 float actorHeight()
const override;
56 int8 customizeSceneActionApproach(
byte id,
bool use,
byte item, int8 approach)
const override;
58 void startJoshuaConversation(
bool introduction);
60 void leaveKeyboard(
bool review);
62 void setJoshuaAnimation(uint chunk, uint frames);
63 void handleAnimationFrameHook()
override;
64 void finishCustomFilm()
override;
65 bool shouldDrawActor()
const override;
66 bool shouldUpdateActor()
const override;
67 void finishCustomConversation()
override;
68 uint16 dialoguePlayerCue()
const override;
69 uint16 dialogueResponseCue()
const override;
74 RunawayAnimation _machineAmbientAnimation, _machineOverlayAnimation, _machineIndicator;
75 byte _joshuaFrame = 0;
76 uint32 _joshuaTick = 0;
77 bool _joshuaTalking =
false, _joshuaAnimating =
false, _joshuaDown =
false;
78 bool _keyboard =
false, _reviewingMelody =
false;
79 bool _noteSoundPlayed =
false;
80 byte _notes[5] = {}, _noteCount = 0, _pressedNote = 0;
81 uint _joshuaChunk = 10;
82 uint32 _noteStarted = 0;
Definition: managed_surface.h:51
Definition: scene6290.h:30
Definition: graphics.h:54
Definition: inventory.h:41