22#ifndef HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_SCENE_SURFACE_STATE_H
23#define HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_SCENE_SURFACE_STATE_H
25#include "common/array.h"
26#include "common/types.h"
27#include "graphics/managed_surface.h"
29#include "hollywood/monsters/graphics.h"
48 void initialize(uint paletteSize, uint paletteMaskOriginalSize, uint paletteMaskUsedBytes,
49 uint paletteMapPageSize, uint paletteRegionCount, uint actorPaletteBaseSize);
50 void initializeFramebuffers();
51 uint framebufferByteCount()
const;
54 void copyBaseFramebufferToSceneFramebuffer();
55 void restoreBaseFramebufferFromOriginal();
56 bool isFramebufferOffsetValid(uint offset)
const;
57 byte savedFramebufferPixelAt(uint offset)
const;
58 void setPaletteEntry6Bit(
byte colorIndex,
byte red,
byte green,
byte blue);
59 byte paletteEntryComponent6Bit(
byte colorIndex, uint component)
const;
60 void rebuildPresentationPaletteRemapTable();
61 bool updatePresentedScreenCache();
82 bool _hasPresentedScreen;
Definition: managed_surface.h:51
Definition: graphics.h:51
Definition: scene_surface_state.h:46