[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    Animate  --  Processes every animob in the current animation list.

SYNOPSIS
    Animate(anKey, rp)
            A0     A1

    void Animate(struct animob **, struct rastport *);

FUNCTION
    For every animob in the list
        - update its location and velocities
        - call the AnimOb's special routine if one is supplied
        - for each component of the animob
            - if this sequence times out, switch to the new one
            - call this component's special routine if one is supplied
            - set the sequence's VSprite's y,x coordinates based
              on whatever these routines cause

INPUTS
    ankey = address of the variable that points to the head animob
    rp    = pointer to the rastport structure

RESULT

BUGS

SEE ALSO
    addanimob() graphics/gels.h graphics/rastport.h