VG3_sprite_setattr()
Set common attributes for an animated sprite.SYNTAX
void
VG3_sprite_setattr(struct vg3_sprite *sprt,
int *lifetime,
int *dfl_loop,
struct vg3_image_attributes *attr)
FUNCTION PARAMETERS
sprt | Sprite |
lifetime | How often to repeat the sprite before end, or NULL |
dfl_loop | Default number of game-loops for each sprite element, or NULL |
attr | Image-attributes for all images, or NULL |
DESCRIPTION
Set common attributes for an animated sprite.
This function is mainly used when a created sprite is to be filled.
Refer to the first-line parameters LIFETIME and LOOP
in the description of VG3_sprite_load().
SEE ALSO