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 |
MSprite * | getFrame (int frameIndex) |
byte * | getPalette () |
int | getColorCount () |
bool | isBackground () const |
Public Attributes | |
SpriteSetCharInfo * | _charInfo |
int | _usageIndex |
MADS::SpriteAsset::SpriteAsset | ( | MADSEngine * | vm, |
const Common::Path & | resourceName, | ||
int | flags | ||
) |
Constructor
MADS::SpriteAsset::SpriteAsset | ( | MADSEngine * | vm, |
Common::SeekableReadStream * | stream, | ||
int | flags | ||
) |
Constructor
MADS::SpriteAsset::~SpriteAsset | ( | ) |
Destructor