ScummVM API documentation
MADS::SpriteAsset Class Reference

Public Member Functions

 SpriteAsset (MADSEngine *vm, const Common::Path &resourceName, int flags)
 
 SpriteAsset (MADSEngine *vm, Common::SeekableReadStream *stream, int flags)
 
 ~SpriteAsset ()
 
int getCount ()
 
int getFrameRate () const
 
int getPixelSpeed () const
 
Common::Point getFramePos (int index)
 
int getFrameWidth (int index)
 
int getFrameHeight (int index)
 
int getMaxFrameWidth () const
 
int getMaxFrameHeight () const
 
MSpritegetFrame (int frameIndex)
 
byte * getPalette ()
 
int getColorCount ()
 
bool isBackground () const
 

Public Attributes

SpriteSetCharInfo_charInfo
 
int _usageIndex
 

Constructor & Destructor Documentation

◆ SpriteAsset() [1/2]

MADS::SpriteAsset::SpriteAsset ( MADSEngine vm,
const Common::Path resourceName,
int  flags 
)

Constructor

◆ SpriteAsset() [2/2]

MADS::SpriteAsset::SpriteAsset ( MADSEngine vm,
Common::SeekableReadStream stream,
int  flags 
)

Constructor

◆ ~SpriteAsset()

MADS::SpriteAsset::~SpriteAsset ( )

Destructor


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