22#ifndef HOLLYWOOD_RUNAWAY_SCENE7020_H
23#define HOLLYWOOD_RUNAWAY_SCENE7020_H
25#include "hollywood/runaway/scene.h"
40 enum GinaPose { kMoving, kSettling, kResting, kTurning, kSittingUp, kTalking, kLyingDown };
42 bool loadCustomResources()
override;
43 bool applyCustomBackgroundPatches()
override;
44 void applyCustomHotspotState()
override;
45 void prepareCustomGameplayLoop()
override;
46 void resumeAmbientAudio(
bool entering)
override;
47 void advanceCustomGameplayLoop(uint32 delta)
override;
48 void runCustomEntrySequence()
override;
49 void finishCustomFilm()
override;
52 ActionResult dispatchCustomSceneAction(uint16 action)
override;
53 void handleAnimationFrameHook()
override;
54 float actorHeight()
const override;
57 int sceneViewportYOffset()
const override {
return _hopi.villageLevel == 4 ? 0 : 200; }
58 bool shouldPlayGameplayClickPath()
const override {
return _hopi.villageLevel == 0; }
59 bool adjustCustomWalkTargetToFloorMask(
Common::Point &target)
const override;
60 void startRoute(
const RouteStep *route, uint count, uint16 completion = 0);
62 void enterLevel(
byte level,
Common::Point position,
byte facing);
63 void returnToGround();
65 void startSplintAnimation();
68 GinaPose _ginaPose = kResting;
69 byte _ginaFrame = 67, _arrivalStage = 0;
71 const RouteStep *_route =
nullptr;
72 uint _routeIndex = 0, _routeCount = 0;
73 uint16 _routeCompletion = 0;
Definition: managed_surface.h:51
Definition: scene7020.h:30
Definition: graphics.h:54
Definition: inventory.h:41
Definition: graphics.h:76