[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'agraphics' (#aros)

FreeSprite

Return sprite for use by others and virtual sprite machine.

Declaration

Source position: agraphics.pas line 2123

procedure FreeSprite(

  Pick: SmallInt

);

Arguments

Pick

  

Number in range of 0-7

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: 2017-01-10