ScummVM API documentation
Toon::Animation Class Reference

Public Member Functions

 Animation (ToonEngine *vm)
 
bool loadAnimation (const Common::String &file)
 
void drawFrame (Graphics::Surface &surface, int32 frame, int16 x, int16 y)
 
void drawFontFrame (Graphics::Surface &surface, int32 frame, int16 x, int16 y, byte *colorMap)
 
void drawFrameOnPicture (int32 frame, int16 x, int16 y)
 
void drawFrameWithMask (Graphics::Surface &surface, int32 frame, int16 xx, int16 yy, int32 zz, Picture *mask)
 
void drawFrameWithMaskAndScale (Graphics::Surface &surface, int32 frame, int16 xx, int16 yy, int32 zz, Picture *mask, int32 scale)
 
void applyPalette (int32 offset, int32 srcOffset, int32 numEntries)
 
Common::Rect getFrameRect (int32 frame)
 
int16 getFrameWidth (int32 frame)
 
int16 getFrameHeight (int32 frame)
 
int16 getWidth () const
 
int16 getHeight () const
 
Common::Rect getRect ()
 

Public Attributes

int16 _x1
 
int16 _y1
 
int16 _x2
 
int16 _y2
 
int32 _numFrames
 
int32 _fps
 
AnimationFrame_frames
 
uint8 * _palette
 
int32 _paletteEntries
 
char _name [32]
 
bool _shadowFlag
 

Protected Attributes

ToonEngine_vm
 

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