2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function GetExtSpriteA()
8 #include <aros/debug.h>
9 #include <graphics/sprite.h>
10 #include <utility/tagitem.h>
12 /*****************************************************************************
15 #include <proto/graphics.h>
17 AROS_LH2(LONG
, GetExtSpriteA
,
20 AROS_LHA(struct ExtSprite
*, sprite
, A2
),
21 AROS_LHA(struct TagItem
*, tags
, A1
),
24 struct GfxBase
*, GfxBase
, 155, Graphics
)
29 sprite - pointer to programmer's ExtSprite (from AllocSpriteData())
30 tags - a standard tag list
33 Sprite_number - a sprite number or -1 for an error
44 AROS does not have complete sprite system, instead it has a (hacky)
45 minimal implementation enough to drive mouse pointer as a single
46 sprite #0. This assumes that this sprite is always allocated by the OS
47 itself and can't be used by user applications. So we just return error.
52 ******************************************************************************/