Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

ChangeExtSpriteA

Change the sprite image pointer.

Declaration

Source position: agraphics.pas line 2204

function ChangeExtSpriteA(

  Vp: PViewPort;

  Oldsprite: PExtSprite;

  NewSprite: PExtSprite;

  Tags: PTagItem

):LongInt;

Arguments

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_*)

Function result

0 if there was an error.

Description

Attempt to change which sprite is displayed for a given sprite engine.

See also

ChangeExtSprite

  

VarArgs version of ChangeExtSpriteA

FreeSprite

  

Return sprite for use by others and virtual sprite machine.

ChangeSprite

  

Change the sprite image pointer.

MoveSprite

  

Move sprite to a point relative to top of viewport.

AllocSpriteDataA

  

Allocate sprite data and convert from a bitmap.


Documentation generated on: 2021-07-30