1 #ifndef GRAPHICS_GELS_H
2 #define GRAPHICS_GELS_H
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
13 #include <exec/types.h>
17 /* VSprite flags set by user: */
18 #define VSPRITE 0x0001
19 #define SAVEBACK 0x0002
20 #define OVERLAY 0x0004
21 #define MUSTDRAW 0x0008
22 #define SUSERFLAGS 0x00FF
24 /* VSprite flags set by system: */
25 #define BACKSAVED 0x0100
26 #define BOBUPDATE 0x0200
27 #define GELGONE 0x0400
28 #define VSOVERFLOW 0x0800
32 #define SAVEBOB 0x0001
33 #define BOBISCOMP 0x0002
34 #define BUSERFLAGS 0x00FF
36 /* system flag bits */
37 #define BWAITING 0x0100
39 #define BOBSAWAY 0x0400
41 #define SAVEPRESERVE 0x1000
42 #define OUTSTEP 0x2000
44 /* defines for animation procedures */
46 #define RINGTRIGGER 0x0001
47 #define ANIMHALF 0x0020
50 /* UserStuff definitions */
52 #define VUserStuff WORD
56 #define BUserStuff WORD
60 #define AUserStuff WORD
66 /*********************** GEL STRUCTURES ***********************************/
70 /* SYSTEM VARIABLES */
71 struct VSprite
*NextVSprite
;
72 struct VSprite
*PrevVSprite
;
74 struct IntVSprite
*IntVSprite
;
75 struct VSprite
*ClearPath
;
79 /* COMMON VARIABLES */
104 VUserStuff VUserExt
; /* user definable: see note above */
108 /* blitter-objects */
110 /* SYSTEM VARIABLES */
112 /* COMMON VARIABLES */
120 struct VSprite
*BobVSprite
;
121 struct AnimComp
*BobComp
;
122 struct DBufPacket
*DBuffer
;
128 /* SYSTEM VARIABLES */
130 /* COMMON VARIABLES */
137 struct AnimComp
*NextComp
;
138 struct AnimComp
*PrevComp
;
139 struct AnimComp
*NextSeq
;
140 struct AnimComp
*PrevSeq
;
142 WORD (*AnimCRoutine
)();
147 struct AnimOb
*HeadOb
;
154 /* SYSTEM VARIABLES */
155 struct AnimOb
*NextOb
, *PrevOb
;
161 /* COMMON VARIABLES */
168 WORD RingYTrans
, RingXTrans
;
170 WORD (*AnimORoutine
)();
172 struct AnimComp
*HeadComp
;
180 struct VSprite
*BufPath
;
187 /* ************************************************************************ */
189 /* simple GEL functions that can currently exist as a definition.
191 #define InitAnimate(animKey) {*(animKey) = NULL;}
192 #define RemBob(b) {(b)->Flags |= BOBSAWAY;}
195 /* ************************************************************************ */
201 /* ************************************************************************ */
203 /* a structure for the 16 collision procedure addresses */
206 int (*collPtrs
[16])();
209 /* cxref mixes up with the function pointers in the previous definition */
210 extern int __cxref_bug_gels
;
212 #endif /* GRAPHICS_GELS_H */