VgaGames 3 - Animation man-pages

[.. upper level ..]

VG3_sprite_new()

Create an empty animated sprite.
SYNTAX
struct vg3_sprite * VG3_sprite_new(void *wstruct)

FUNCTION PARAMETERS
wstruct Window-struct

RETURN VALUE
Returns a pointer to the created sprite or NULL on failure.

ERRORS
On error VG3_errmsg() returns: EINVAL - error in argument

DESCRIPTION
Create a new emtpy animated sprite and return pointer to it.

SEE ALSO
VG3_sprite_load() VG3_sprite_clone() VG3_sprite_free()