Allocate sprite data and convert from a bitmap.
Source position: agraphics.pas line 2468
function AllocSpriteDataA( |
const Bm: PBitMap; |
const Tags: PTagItem |
):PExtSprite; |
a pointer to a ExtSprite structure, or nil if there is a failure. You should pass this pointer to FreeSpriteData() when finished with the sprite.
Allocate memory to hold a sprite image, and convert the passed-in bitmap data to the appropriate format. The tags allow specification of width, scaling, and other options.
|
free sprite data allocated by AllocSpriteData() |
|
|
Return sprite for use by others and virtual sprite machine. |
|
|
Change the sprite image pointer. |
|
|
Move sprite to a point relative to top of viewport. |
|
|
Attempt to get a sprite for the extended sprite manager. |
|
|
Allocate a bitmap and attach bitplanes to it. |
|
|
VarArgs Version of AllocSpriteDataA() |