ScummVM API documentation
QDEngine::grTileAnimation Class Reference

Public Member Functions

bool isEmpty () const
 
void clear ()
 
int frameCount () const
 
const Vect2iframeSize () const
 
const Vect2iframeTileSize () const
 
int tileCount () const
 
void init (int frame_count, const Vect2i &frame_size, bool alpha_flag)
 
void compact ()
 
bool compress (grTileCompressionMethod method)
 
grTileSprite getTile (int tile_index) const
 
grTileSprite getFrameTile (int frame_number, int tile_index) const
 
void addFrame (const uint32 *frame_data)
 
bool load (Common::SeekableReadStream *fh, int version)
 
void drawFrame (const Vect2i &position, int32 frame_index, int32 mode, int closest_scale) const
 
void drawFrame (const Vect2i &position, int frame_index, float angle, int mode=0) const
 
void drawFrame (const Vect2i &position, int frame_index, float angle, const Vect2f &scale, int mode) const
 
void drawFrame_scale (const Vect2i &position, int frame_index, float scale, int mode) const
 
void drawMask (const Vect2i &position, int frame_index, uint32 mask_color, int mask_alpha, int mode, int closest_scale) const
 
void drawMask_scale (const Vect2i &pos, int frame_index, uint32 mask_colour, int mask_alpha, float scale, int mode) const
 
void drawMask_rot (const Vect2i &pos, int frame_index, uint32 mask_colour, int mask_alpha, float angle, int mode) const
 
void drawMask_rot (const Vect2i &pos, int frame_index, uint32 mask_colour, int mask_alpha, float angle, Vect2f scale, int mode) const
 
void drawContour (const Vect2i &position, int frame_index, uint32 color, int mode, int closest_scale) const
 
void drawContour (const Vect2i &position, int frame_index, uint32 color, float scale, int mode) const
 
bool hit (int frame_number, Vect2i &pos) const
 
void addScale (int i, float scale)
 
byte * decode_frame_data (int frame_index, int closest_scale) const
 
int find_closest_scale (float *scale) const
 
bool wasFrameSizeChanged (int frame_index, int scaleIdx, float scale) const
 
Graphics::ManagedSurfacedumpTiles (int tilesPerRow) const
 
void dumpTiles (Common::Path baseName, int tilesPerRow) const
 
Graphics::ManagedSurfacedumpFrameTiles (int frame_index, float scale) const
 

Static Public Member Functions

static void setProgressHandler (CompressionProgressHandler handler, void *context)
 

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