ScummVM API documentation
Chewy::Resource Class Reference
Inheritance diagram for Chewy::Resource:
Chewy::BackgroundResource Chewy::BarrierResource Chewy::DialogResource Chewy::SoundResource Chewy::SpriteResource Chewy::Text Chewy::VideoResource

Public Member Functions

 Resource (const Common::Path &filename)
 
ResourceType getType () const
 
uint32 getSize () const
 
uint32 findLargestChunk (uint start, uint end)
 
uint32 getChunkCount () const
 
ChunkgetChunk (uint num)
 
virtual uint8 * getChunkData (uint num)
 

Protected Member Functions

void initSprite (const Common::Path &filename)
 
void unpackRLE (uint8 *buffer, uint32 compressedSize, uint32 uncompressedSize)
 
void decrypt (uint8 *data, uint32 size)
 

Protected Attributes

Common::File _stream
 
uint16 _chunkCount
 
ResourceType _resType
 
bool _encrypted
 
uint8 _spritePalette [3 *256]
 
uint32 _allSize
 
uint16 _spriteCorrectionsCount
 
uint16 * _spriteCorrectionsTable
 
ChunkList _chunkList
 

The documentation for this class was generated from the following file: