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 #include "graphics_intern.h"
14 /*****************************************************************************
17 #include <proto/graphics.h>
19 AROS_LH2(LONG
, GetExtSpriteA
,
22 AROS_LHA(struct ExtSprite
*, sprite
, A2
),
23 AROS_LHA(struct TagItem
*, tags
, A1
),
26 struct GfxBase
*, GfxBase
, 155, Graphics
)
31 sprite - pointer to programmer's ExtSprite (from AllocSpriteData())
32 tags - a standard tag list
35 Sprite_number - a sprite number or -1 for an error
46 AROS does not have complete sprite system, instead it has a (hacky)
47 minimal implementation enough to drive mouse pointer as a single
48 sprite #0. This assumes that this sprite is always allocated by the OS
49 itself and can't be used by user applications. So we just return error.
54 ******************************************************************************/