--- Cannot embed stylesheet: [Errno 2] No such file or directory: '../../../aros.css' --->
| ChangeExtSpriteA() | MoveSprite() |
LONG ChangeExtSpriteA(
struct ViewPort * vp,
struct ExtSprite * oldsprite,
struct ExtSprite * newsprite,
struct TagItem * tags );
LONG ChangeExtSprite(
struct ViewPort * vp,
struct ExtSprite * oldsprite,
struct ExtSprite * newsprite,
TAG tag, ... );
vp - pointer to ViewPort structure that this sprite is
relative to, or NULL if relative only top of View
oldsprite - pointer to the old ExtSprite structure
newsprite - pointer to the new ExtSprite structure
tags - pointer to taglist
success - 0 if there was an error
void MoveSprite(
struct ViewPort * vp,
struct SimpleSprite * sprite,
WORD x,
WORD y );
Move sprite to a new position on the screen. Coordinates are specified relatively to given ViewPort, or relatively to the entire View (physical display) if the ViewPort is NULL. This function works also with extended sprites, since struct SimpleSprite is a part of struct ExtSprite.
vp - a ViewPort for relative sprite positioning or NULL sprite - a pointer to a sprite descriptor structure x - a new X coordinate y - a new Y coordinate
None.
ViewPort is also used in order to specify the physical display. If it's not specified, Amiga(tm) chipset display is assumed. This is available only on Amiga(tm) architecture.