VgaGames 3 - Animation man-pages

[.. upper level ..]

VG3_sprite_commonparam()

[added in version 1.5]

Set or get common attributes for an animated sprite.
SYNTAX
void VG3_sprite_commonparam(struct vg3_sprite *sprt, struct vg3_hash *hset, struct vg3_hash *hget, struct vg3_image_attributes *sattr, struct vg3_image_attributes *gattr)

FUNCTION PARAMETERS
sprt Sprite
hset Hashmap with integer-values to set, or NULL
hget Initialized hashmap for returning actual values, or NULL
sattr Image-attributes to set for all images, or NULL
gattr For returning actual image-attributes, or NULL

DESCRIPTION
Set or get common attributes for an animated sprite. Setting is mainly used when a created sprite is to be filled. The keys of the hashmaps are according to the first-line parameters in the description of VG3_sprite_load().

SEE ALSO
VG3_sprite_new() VG3_sprite_addelem()