Docs » Autodocs » graphics.library » FreeSprite
FreeSprite -- Return sprite for use by others and virtual sprite machine.
FreeSprite( pick ) d0 void FreeSprite( WORD );
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.
pick - number in range of 0-7
sprite made available for subsequent callers of GetSprite as well as use by Virtual Sprite Machine.
GetSprite(), ChangeSprite(), MoveSprite(), <graphics/sprite.h>
|