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

FreeSprite

Return sprite for use by others and virtual sprite machine.

Declaration

Source position: agraphics.pas line 2049

procedure FreeSprite(

  Num: LongInt

);

Description

Mark sprite as available for others to use. These sprite routines are provided to ease sharing of sprite hardware and to handle simple cases of sprite usage and movement. It is assumed the programs that use these routines do want to be good citizens in their hearts. ie: they will not FreeSprite unless they actually own the sprite. The Virtual Sprite machine may ignore the simple sprite machine.

See also

GetSprite

  

Attempt to get a sprite for the simple sprite manager.

ChangeSprite

  

Change the sprite image pointer.

MoveSprite

  

Move sprite to a point relative to top of viewport.


Documentation generated on: 2021-07-30