VG3_sprite_getattr()
Get common attributes for an animated sprite.SYNTAX
void
VG3_sprite_getattr(struct vg3_sprite *sprt,
int *lifetime,
int *dfl_loop,
struct vg3_image_attributes *attr)
FUNCTION PARAMETERS
sprt | Sprite |
lifetime | For returning how often to repeat the sprite before end, or NULL |
dfl_loop | For returning default number of game-loops for each sprite element, or NULL |
attr | For returning image-attributes for all images, or NULL |
DESCRIPTION
Get common attributes for an animated sprite.
Refer to the first-line parameters LIFETIME and LOOP
in the description of VG3_sprite_load().
SEE ALSO