Docs » Autodocs » graphics.library » SortGList
SortGList -- Sort the current gel list, ordering its y,x coordinates.
SortGList(rp) A1 void SortGList(struct RastPort *);
Sorts the current gel list according to the gels' y,x coordinates. This sorting is essential before calls to DrawGList or DoCollision.
rp = pointer to the RastPort structure containing the GelsInfo
InitGels(), DoCollision(), DrawGList(), <graphics/rastport.h>
|