ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Got::Gfx::GraphicChunk Struct Reference

Public Member Functions

void load (Common::SeekableReadStream *src, const byte *data)
 
void enable ()
 
 operator const Graphics::ManagedSurface () const
 
 operator const Gfx::Palette63 () const
 

Public Attributes

int _compressMode = UNCOMPRESSED
 
uint32 _offset = 0
 
uint16 _uncompressedSize = 0
 
uint16 _compressedSize = 0
 
uint16 _width = 0
 
uint16 _height = 0
 
const byte * _data = nullptr
 

Member Function Documentation

◆ load()

void Got::Gfx::GraphicChunk::load ( Common::SeekableReadStream src,
const byte *  data 
)

Load the overall info for a chunk

◆ enable()

void Got::Gfx::GraphicChunk::enable ( )

Handles any decompression necessary for the entry

◆ operator const Graphics::ManagedSurface()

Got::Gfx::GraphicChunk::operator const Graphics::ManagedSurface ( ) const

Provides a managed surface wrapper for raw data

◆ operator const Gfx::Palette63()

Got::Gfx::GraphicChunk::operator const Gfx::Palette63 ( ) const

Provides a data pointer, used for getting palette chunks


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