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

InitGels

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

Declaration

Source position: agraphics.pas line 1999

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