ML_Sprite Struct Reference

This is the structure for sprites. More...

#include <ML_video.h>

Data Fields

ML_Imageimage
long i
s16 x
s16 y
s8 dx
s8 dy
bool visible
u16 width
u16 height
u8 rotated
u8 alpha
float scaleX
float scaleY
float angle
bool tiled
bool animated
u8 waitForXRefreshBetweenFrames
u8 animeFrom
u8 animeTo
u8 timesAnimated
u16 currentFrame
u16 nbTiles
u16 tileWidth
u16 tileHeight
bool flipX
bool flipY

Detailed Description

This is the structure for sprites.


Field Documentation

Transparency (0-255)

Angle in degrees

Is animation enabled

Animation start at...

Animation end at...

Current frame

X velocity

Y velocity

Is the sprite flipped horizontally or not

Is the sprite flipped vertically or not

Height

Used for the animation

Pointer to the image associated with

Number of tiles

Is rotation enabled

X scaling

Y scaling

Is tiling enabled

Height of one tile

Width of one tile

Animation will loop X times

Member for setting the sprite visible or not

Number of cycles between each frame changes

Width

X position

Y position


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Defines

Generated on Wed Jan 19 18:15:34 2011 for MLlib by  doxygen 1.6.1