ScummVM API documentation
TwinE::SpriteData Class Reference
Inheritance diagram for TwinE::SpriteData:
TwinE::Parser TwinE::BrickData

Public Member Functions

bool loadFromStream (Common::SeekableReadStream &stream, bool lba1) override
 
const Graphics::ManagedSurfacesurface (int index=0) const
 
int sprites () const
 
int offsetX (int index=0) const
 
int offsetY (int index=0) const
 
- Public Member Functions inherited from TwinE::Parser
bool loadFromBuffer (const uint8 *buf, uint32 size, bool lba1)
 
bool loadFromHQR (const char *name, int index, bool lba1)
 
int hqrIndex () const
 
bool loadFromHQR (const TwineResource &resource, bool lba1)
 

Protected Member Functions

bool loadSprite (Common::SeekableReadStream &stream, uint32 offset)
 
void reset () override
 

Protected Attributes

Graphics::ManagedSurface _surfaces [2]
 
int _offsetX [2] {0}
 
int _offsetY [2] {0}
 
int _sprites = 0
 
bool _bricks = false
 
- Protected Attributes inherited from TwinE::Parser
int _hqrIndex = -1
 

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