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

InitGels

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

Declaration

Source position: agraphics.pas line 2338

procedure InitGels(

  head: pVSprite;

  tail: pVSprite;

  gelsInfo: pGelsInfo

);

Arguments

head

  

Pointer to the VSprite structure to be used as the gel list head

tail

  

Pointer to the VSprite structure to be used as the gel list tail

gelsInfo

  

Pointer to the GelsInfo structure to be initialized

Description

Assigns the VSprites as the head and tail of the gel list in GfxBase. Links these two gels together as the keystones of the list. If the collHandler vector points to some memory array, sets the BORDERHIT vector to nil.


Documentation generated on: 2021-07-30