revert between 56095 -> 55830 in arch
[AROS.git] / compiler / include / graphics / sprite.h
blobb500b510ce1af6b5b23c544623728df6ed406177
1 #ifndef GRAPHICS_SPRITE_H
2 #define GRAPHICS_SPRITE_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Sprite structures
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 #include <exec/types.h>
14 #endif
16 #define SPRITE_ATTACHED 0x80
18 struct SimpleSprite
20 UWORD *posctldata;
21 UWORD height;
22 UWORD x,y;
23 UWORD num;
26 struct ExtSprite
28 struct SimpleSprite es_SimpleSprite;
29 UWORD es_wordwidth;
30 UWORD es_flags;
32 /* New in AROS */
33 struct BitMap * es_BitMap; // Actual image data.
38 /* tags for use with AllocSpriteData() */
39 #define SPRITEA_Width 0x81000000
40 #define SPRITEA_XReplication 0x81000002
41 #define SPRITEA_YReplication 0x81000004
42 #define SPRITEA_OutputHeight 0x81000006
43 #define SPRITEA_Attached 0x81000008
44 #define SPRITEA_OldDataFormat 0x8100000a
46 /* tags valid for either GetExtSprite or ChangeExtSprite */
47 #define GSTAG_SCANDOUBLED 0x83000000
49 /* tags for use with GetExtSprite() */
50 #define GSTAG_SPRITE_NUM 0x82000020
51 #define GSTAG_ATTACHED 0x82000022
52 #define GSTAG_SOFTSPRITE 0x82000024
54 #endif /* GRAPHICS_SPRITE_H */