Docs » Autodocs » graphics.library » ChangeExtSpriteA
ChangeExtSpriteA -- Change the sprite image pointer. (V39)
ChangeExtSpriteA( vp, oldsprite, newsprite, tags) a0 a1 a2 a3 success=ChangeExtSpriteA(struct ViewPort *, struct ExtSprite *, struct ExtSprite *, struct TagList *); success=ChangeExtSprite(vp,old_sp,new_sp,tag,....);
Attempt to change which sprite is displayed for a given sprite engine.
vp - pointer to ViewPort structure that this sprite is relative to, or 0 if relative only top of View oldsprite - pointer the old ExtSprite structure newsprite - pointer to the new ExtSprite structure.
success - 0 if there was an error.
FreeSprite(), ChangeSprite(), MoveSprite(), AllocSpriteDataA(), <graphics/sprite.h>
|