Return sprite for use by others and virtual sprite machine.
Source position: agraphics.pas line 2111
procedure FreeSprite( |
Pick: SmallInt |
); |
Pick |
|
Number in range of 0-7 |
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.
|
Attempt to get a sprite for the simple sprite manager. |
|
|
Change the sprite image pointer. |
|
|
Move sprite to a point relative to top of viewport. |