ScummVM API documentation
Chewy::DialogResource Class Reference
Inheritance diagram for Chewy::DialogResource:
Chewy::Resource

Public Member Functions

 DialogResource (const Common::Path &filename)
 
DialogChunkgetDialog (uint dialog, uint block)
 
bool isItemShown (uint dialog, uint block, uint num)
 
void setItemShown (uint dialog, uint block, uint num, bool shown)
 
bool hasExitBit (uint dialog, uint block, uint num)
 
bool hasRestartBit (uint dialog, uint block, uint num)
 
bool hasShowBit (uint dialog, uint block, uint num)
 
uint8 getNextBlock (uint dialog, uint block, uint num)
 
void loadStream (Common::SeekableReadStream *s)
 
void saveStream (Common::WriteStream *s)
 
uint32 getStreamSize () const
 
- Public Member Functions inherited from Chewy::Resource
 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)
 

Additional Inherited Members

- Protected Member Functions inherited from Chewy::Resource
void initSprite (const Common::Path &filename)
 
void unpackRLE (uint8 *buffer, uint32 compressedSize, uint32 uncompressedSize)
 
void decrypt (uint8 *data, uint32 size)
 
- Protected Attributes inherited from Chewy::Resource
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: