VgaGames 3 - Animation man-pages

[.. upper level ..]

VG3_sprite_addelem()

Insert an element into an animated sprite.
SYNTAX
void VG3_sprite_addelem(struct vg3_sprite *sprt, int anz_loop, const char *imgfile, struct vg3_image_attributes *imgattr, const char *sndfile, int sndvol)

FUNCTION PARAMETERS
sprt Sprite
anz_loop Number of game-loops for this element, or 0 = use default loop number
imgfile Image file, or NULL
imgattr Image-attributes for the image file, or NULL
sndfile Audio file, or NULL
sndvol Fixed correction of volume of the audio file (0 to 255), default = 100

DESCRIPTION
Insert an element into an animated sprite. This function is mainly used when a created sprite is to be filled. Refer to the element keys in the description of VG3_sprite_load().

SEE ALSO
VG3_sprite_new() VG3_sprite_commonparam()