GetAnimCel

Returns a pointer to the CCB of the next animation cel

Synopsis

CCB * GetAnimCel (ANIM *pAnim, frac16 frameIncrement)

Description

Returns a pointer to the CCB of the next cel in an animation sequence. Adds frameIncrement to the current frame counter within the ANIM. Does not draw the cel.

Arguments

pAnim
Pointer to an ANIM structure returned by LoadAnim().
frameIncrement
A frac16 (16.16) fixed point number.

Return Value

Pointer to the CCB that was found at the specified position in the animation.

Associated Files

lib3do.lib, animutils.h

See Also

DrawAnimCel, LoadAnim