22#ifndef TWINE_RESOURCES_HQR_H
23#define TWINE_RESOURCES_HQR_H
25#include "common/scummsys.h"
26#include "common/stream.h"
27#include "graphics/palette.h"
28#include "twine/shared.h"
49int32
getEntry(uint8 *ptr,
const char *filename, int32 index);
51 return getEntry(ptr, resource.hqr, resource.index);
62 return entrySize(resource.hqr, resource.index);
88bool dumpEntry(
const char *filename, int32 index,
const char *targetFileName);
90 return dumpEntry(resource.hqr, resource.index, targetFileName);
100int32
getVoxEntry(uint8 *ptr,
const char *filename, int32 index, int32 hiddenIndex);
111bool getPaletteEntry(
Graphics::Palette &palette,
const char *filename, int32 index);
113 return getPaletteEntry(palette, resource.hqr, resource.index);
118 return makeReadStream(resource.hqr, resource.index);
Simple class for handling a palette data.
Definition: palette.h:61
bool dumpEntry(const char *filename, int32 index, const char *targetFileName)
Helper method to dump the content of the given hqr index to a file.
int32 getAllocEntry(uint8 **ptr, const char *filename, int32 index)
int32 getVoxEntry(uint8 *ptr, const char *filename, int32 index, int32 hiddenIndex)
int32 entrySize(const char *filename, int32 index)
int32 getEntry(uint8 *ptr, const char *filename, int32 index)
int32 getAllocVoxEntry(uint8 **ptr, const char *filename, int32 index, int32 hiddenIndex)
int32 numEntries(const char *filename)