22#ifndef HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_ACTION_OVERLAY_PLAYER_H
23#define HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_ACTION_OVERLAY_PLAYER_H
25#include "common/types.h"
27#include "hollywood/monsters/scenes/animation_layers.h"
42 bool beginActorReplacement(uint newChunkIndex, uint newDescriptorCount,
43 const byte *frameMap, uint frameMapSize,
44 SceneAnimationStratum drawStratum = kSceneAnimationActorReplacement,
45 bool restoreBackground =
false) {
46 return begin(newChunkIndex, newDescriptorCount, frameMap, frameMapSize,
47 drawStratum,
true, restoreBackground);
49 void setFrame(uint frame);
50 void finish(
bool previousHideActiveActor);
51 bool isVisible()
const {
return _layer.visible; }
52 bool replacesActor()
const {
return isVisible() && _hideActiveActor; }
55 SceneAnimationStratum _stratum;
56 bool _hideActiveActor;
57 bool _restoreBackgroundBeforeDraw;
61 bool begin(uint newChunkIndex, uint newDescriptorCount,
const byte *frameMap,
62 uint frameMapSize, SceneAnimationStratum stratum,
bool hideActiveActor,
63 bool restoreBackground);
Definition: action_overlay_player.h:37
Definition: playable_scene.h:84
Definition: animation_layers.h:33