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


   NAME
        AddAnimOb  --  Add an animob to the linked list of animobs.

   SYNOPSIS
        AddAnimOb(anOb, anKey, rp)
                  A0    A1     A2

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

   FUNCTION
        Links this animob into the current list pointed to by animkey.
        Initializes all the Timers of the AnimOb's components.
        Calls addbob with each component's bob.
        rp->GelsInfo must point to an initialized gelsinfo structure.

   INPUTS
        anOb  = pointer to the animob structure to be added to the list
        anKey = address of a pointer to the first animob in the list
                (anKey = NULL if there are no AnimObs in the list so far)
        rp    = pointer to a valid rastport

   RESULT

   BUGS

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