Change the sprite image pointer.
Source position: agraphics.pas line 2470
function ChangeExtSpriteA( |
Vp: PViewPort; |
OldSprite: PExtSprite; |
NewSprite: PExtSprite; |
const Tags: PTagItem |
):LongInt; |
Vp |
|
A pointer to ViewPort structure that this sprite is relative to, or nil if relative only top of View |
OldSprite |
|
A pointer the old ExtSprite structure |
NewSprite |
|
A pointer to the new ExtSprite structure. |
Tags |
|
Tags for change the Sprite (GSTAG_*) |
0 if there was an error.
Attempt to change which sprite is displayed for a given sprite engine.
|
VarArgs version of ChangeExtSpriteA |
|
|
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. |
|
|
Allocate sprite data and convert from a bitmap. |