Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

SortGList

Sort the current gel list, ordering its y,x coordinates.

Declaration

Source position: agraphics.pas line 2004

procedure SortGList(

  Rp: PRastPort

);

Arguments

Rp

  

A pointer to the RastPort structure containing the GelsInfo

Description

Sorts the current gel list according to the gels' y,x coordinates. This sorting is essential before calls to DrawGList() or DoCollision().

See also

InitGels

  

initialize a gel list; must be called before using gels.

DoCollision

  

Test every gel in gel list for collisions.

DrawGList

  

Process the gel list, queueing VSprites, drawing Bobs.


Documentation generated on: 2021-07-30