22 #ifndef HARVESTER_ART_H 23 #define HARVESTER_ART_H 25 #include "common/array.h" 33 class ResourceManager;
40 bool isValid()
const {
41 return width != 0 && height != 0 && pixels.
size() >= width * height;
56 const byte *getWaitPalette()
const {
return _waitPalette; }
58 const IndexedBitmap &getInventoryBitmap()
const {
return _inventoryBitmap; }
59 const IndexedBitmap &getLogoBitmap()
const {
return _logoBitmap; }
60 const IndexedBitmap &getTipsBitmap()
const {
return _tipsBitmap; }
63 return index < _textboxes.size() ? &_textboxes[index] :
nullptr;
70 bool decodeAnimationFrame(
const byte *source, uint32 sourceSize,
bool compressed,
Common::Array<byte> &dest)
const;
73 uint frameIndex,
int x,
int y)
const;
75 byte _waitPalette[256 * 3] = { 0 };
86 #endif // HARVESTER_ART_H
Definition: atari-screen.h:58
Definition: formatinfo.h:28
size_type size() const
Definition: array.h:316
Definition: resources.h:32