BB2 C port
API reference: Blitz libraries in C and the shared code
Loading...
Searching...
No Matches
blitzobj.h
Go to the documentation of this file.
1/*
2 * blitzobj.h - the Blitz objects that several libraries share.
3 *
4 * A library that owns an object type (the !libfin item size) allocates
5 * the object table; other libraries get an object through !libs (a
6 * register with #item / #used) and read or write its fields. The
7 * originals addressed the fields with offsets; here every shared object
8 * has one struct, laid out as in the owning library's source, with the
9 * owning library's member names. Where readers take two fields as one
10 * word or long (the original's MOVE.w / MOVE.l), an anonymous union gives
11 * that view too.
12 *
13 * The structs are exactly the bytes of the object (`static_assert` on
14 * the size and the key offsets). m68k aligns words and longs to 2, so
15 * there is no padding; BL_PACKED (also aligned 2) does not change the
16 * layout and is kept where the owning library had it.
17 *
18 * Include it after blitzlib.h.
19 */
20#ifndef BLITZOBJ_H
21#define BLITZOBJ_H
22
23#include <stddef.h>
24#include <exec/types.h>
25#include <exec/lists.h>
26#include <graphics/text.h>
27
28#ifndef BL_PACKED
29#define BL_PACKED __attribute__((packed, aligned(2)))
30#endif
31
32/* ------------------------------------------------------------- shape */
33
34/** "cL" in bb_shape::cludge and bb_sound::mark: the data is not the
35 object's own (CludgeShape(s), DecodeShape(s), DecodeSound) */
36#define BB_CLUDGE 0x634c
37
38/**
39 * @brief A Shape object, 32 bytes (shapeslib's; also the block
40 * SaveShape(s) writes and the header of a shape for CludgeShapes).
41 *
42 * Owner: shapeslib. Read or written by shapetrixlib, bitmaplib, blitlib,
43 * bblitlib, 2dlib, qblitlib, stencillib, collslib, spriteslib, iffmakelib,
44 * gtlib, gadgetslib, menuslib, windowslib and the RWE libraries
45 * rishapeslib, rimapeditorlib, ritooltypeslib, rimapshapeslib,
46 * riwbspritelib, bb_blitlib.
47 */
48struct bb_shape {
49 UWORD width; /**< +0 pixel width, 0 = no shape */
50 UWORD height; /**< +2 pixel height */
51 UWORD depth; /**< +4 number of planes */
52 UWORD ebwidth; /**< +6 even byte width (bytes per row) */
53 UWORD bltsize; /**< +8 height << 6 | words + 1 */
54 WORD handlex; /**< +10 handle x */
55 WORD handley; /**< +12 handle y */
56 UBYTE *data; /**< +14 plane after plane, CHIP */
57 UBYTE *cookie; /**< +18 OR of all planes, CHIP, or 0 */
58 UWORD planesize; /**< +22 bytes per plane */
59 UWORD xplanesize; /**< +24 per plane + one word per row */
60 UWORD size; /**< +26 the whole shape */
61 UWORD xsize; /**< +28 whole + one word per row */
62 UWORD cludge; /**< +30 BB_CLUDGE: the data is not ours */
63};
64static_assert(sizeof(struct bb_shape) == 32, "bb_shape size");
65static_assert(offsetof(struct bb_shape, data) == 14, "bb_shape data");
66static_assert(offsetof(struct bb_shape, planesize) == 22, "bb_shape planesize");
67static_assert(offsetof(struct bb_shape, cludge) == 30, "bb_shape cludge");
68
69/* ------------------------------------------------------------ bitmap */
70
71/**
72 * @brief A BitMap object, 64 bytes: a struct BitMap (+0 .. +39) and the
73 * Blitz fields behind it.
74 *
75 * Owner: bitmaplib (BitMap, CludgeBitMap, interleaved bitmaps); 2dlib sets
76 * the origin +48/+50 (BitMapOrigin) and, for BitMapWindow, bit 0 of the
77 * word at +52 and the window's byte width at +54; fontlib keeps the text
78 * cursor at +40/+42. Read by shapeslib, 2dlib, polylib, scrolllib,
79 * blitlib, bblitlib, qblitlib, stencillib, animlib, blitzcoplib,
80 * screenslib, fontlib, blitzoslib and the RWE libraries bb_blitlib,
81 * rigfxlib. Several readers take Flags/Depth (+4) as one word
82 * (flagsdepth) and the interleave flag as a word (ilword). displaylib
83 * walks the object with a byte pointer; ilbmifflib, iffmakelib,
84 * windowslib and several RWE libraries read only the struct BitMap part,
85 * as a struct BitMap.
86 */
87struct bb_bitmap {
88 UWORD bpr; /**< +0 BytesPerRow */
89 UWORD rows; /**< +2 Rows */
90 union {
91 struct {
92 UBYTE flags; /**< +4 Flags */
93 UBYTE depth; /**< +5 Depth */
94 };
95 UWORD flagsdepth; /**< +4 Flags << 8 | Depth, as one word */
96 };
97 UWORD oldfd; /**< +6 Flags/Depth before interleaving */
98 UBYTE *planes[8]; /**< +8 Planes */
99 UWORD cursx; /**< +40 text cursor x in pixels (fontlib) */
100 UWORD cursy; /**< +42 text cursor y in pixels (fontlib) */
101 UBYTE pad44[4]; /**< +44 */
102 WORD xorigin; /**< +48 BitMapOrigin x (2dlib) */
103 WORD yorigin; /**< +50 BitMapOrigin y (2dlib) */
104 union {
105 struct {
106 UBYTE ilflag; /**< +52 bit 7: interleaved */
107 UBYTE pad53; /**< +53 */
108 };
109 UWORD ilword; /**< +52 as one word: negative = interleaved */
110 };
111 UWORD planedist; /**< +54 bytes from one plane's row to the
112 next plane's (interleaved) */
113 UWORD width; /**< +56 clip width */
114 UWORD height; /**< +58 clip height */
115 UWORD colours; /**< +60 */
116 WORD isreal; /**< +62 0 = not set up, 1 = borrowed
117 planes, -1 = own planes */
118} BL_PACKED;
119static_assert(sizeof(struct bb_bitmap) == 64, "bb_bitmap size");
120static_assert(offsetof(struct bb_bitmap, planes) == 8, "bb_bitmap planes");
121static_assert(offsetof(struct bb_bitmap, xorigin) == 48, "bb_bitmap origin");
122static_assert(offsetof(struct bb_bitmap, ilflag) == 52, "bb_bitmap ilflag");
123static_assert(offsetof(struct bb_bitmap, width) == 56, "bb_bitmap width");
124static_assert(offsetof(struct bb_bitmap, isreal) == 62, "bb_bitmap isreal");
125
126/* ----------------------------------------------------------- palette */
127
128/** @brief One colour cycle of a palette object (SetCycle). */
129struct bb_cycle {
130 WORD lo; /**< +0 first colour */
131 WORD hi; /**< +2 last colour */
132 WORD speed; /**< +4 */
133 WORD var; /**< +6 the counter */
134};
135
136/**
137 * @brief A Palette object, 128 bytes.
138 *
139 * Owner: palettelib. The colour block pdata is LoadRGB32's table: the
140 * number of colours (word), the first colour (word), then 3 longs per
141 * colour (each channel in the top byte), a 0 long at the end. Read by
142 * shapetrixlib, fadelib, iffmakelib (pdata and numcols only) and the RWE
143 * libraries rishapeslib, rigfxlib, ribbmaplib, ripacklib, ridatatypeslib.
144 */
146 UBYTE *pdata; /**< +0 the colour block, 0 = none */
147 UWORD numcols; /**< +4 number of colours */
148 struct bb_cycle cyc[14]; /**< +6 the colour cycles */
149 UBYTE pad[10]; /**< +118 */
150} BL_PACKED;
151static_assert(sizeof(struct bb_palette) == 128, "bb_palette size");
152static_assert(offsetof(struct bb_palette, numcols) == 4, "bb_palette numcols");
153
154/* ------------------------------------------------------------- sound */
155
156/**
157 * @brief A Sound object, 16 bytes.
158 *
159 * Owner: audiolib. Read by the RWE libraries risoundlib, risoundlib2.
160 */
161struct bb_sound {
162 UBYTE *data; /**< +0 the sample (CHIP) */
163 UWORD period; /**< +4 */
164 UWORD len; /**< +6 length in words */
165 UBYTE *rep; /**< +8 the loop */
166 UWORD replen; /**< +12 loop length in words */
167 UWORD mark; /**< +14 BB_CLUDGE: DecodeSound data */
168};
169static_assert(sizeof(struct bb_sound) == 16, "bb_sound size");
170static_assert(offsetof(struct bb_sound, rep) == 8, "bb_sound rep");
171
172/* ------------------------------------------------------------- slice */
173
174/**
175 * @brief A Slice object, 64 bytes (Blitz mode). The pointers are
176 * addresses in the copper list (0 = not there).
177 *
178 * Owner: blitzcoplib. Read by spriteslib (the sprite moves, the height,
179 * BPLCON2), mouselib, fadelib and palettelib (the colour moves).
180 */
181struct bb_slice {
182 UWORD y; /**< +0 0 = not in use */
183 union { /* +2 */
184 UWORD flags; /**< +2 the slice flags */
185 struct { UBYTE flagshi, flagslo; };
186 };
187 union { /* +4 bits 14/15: dual playfield half */
188 UWORD planes; /**< +4 number of bitplanes */
189 struct { UBYTE planeshi, planeslo; };
190 };
191 UWORD sprites; /**< +6 number of sprites */
192 UWORD colours; /**< +8 number of colours */
193 union { /* +10 */
194 ULONG moves[5];
195 struct {
196 ULONG bplmoves; /**< +10 the bitplane pointer moves */
197 ULONG sprmoves; /**< +14 the sprite pointer moves */
198 ULONG colmoves; /**< +18 the colour moves */
199 ULONG con1; /**< +22 the BPLCON1 value */
200 ULONG con2; /**< +26 the BPLCON2 value */
201 };
202 };
203 UWORD con1val; /**< +30 a copy of BPLCON1 */
204 UWORD height; /**< +32 */
205 UBYTE pad[30]; /**< +34 */
206} BL_PACKED;
207static_assert(sizeof(struct bb_slice) == 64, "bb_slice size");
208static_assert(offsetof(struct bb_slice, sprmoves) == 14, "bb_slice sprmoves");
209static_assert(offsetof(struct bb_slice, height) == 32, "bb_slice height");
210
211/* ----------------------------------------------------------- coplist */
212
213/**
214 * @brief A CopList object, NEWTYPE .mycop, 128 bytes (the display
215 * library's copper list of a display).
216 *
217 * Owner: displaylib. Read by polylib (the chunky area) and the RWE
218 * library ricopperfxlib (the custom space).
219 */
221 ULONG size; /**< +0 0 = not initialised */
222 ULONG coppos; /**< +4 the list (chip memory) */
223 ULONG colors; /**< +8 pointers into the list */
224 ULONG sprites; /**< +12 */
225 ULONG bpcons; /**< +16 */
226 ULONG bplanes; /**< +20 */
227 ULONG dot; /**< +24 */
228 ULONG customs; /**< +28 */
229 ULONG dob; /**< +32 */
230 UWORD bot; /**< +36 */
231 UWORD numbp; /**< +38 */
232 UWORD colpokes; /**< +40 */
233 UWORD fetchwid; /**< +42 */
234 UWORD xand; /**< +44 */
235 UWORD xshift; /**< +46 */
236 UWORD ypos; /**< +48 */
237 UWORD height; /**< +50 */
238 UWORD res; /**< +52 */
239 UWORD numsprites; /**< +54 */
240 UWORD numcols; /**< +56 */
241 UWORD numcustoms; /**< +58 */
242 UWORD cpline; /**< +60 */
243 ULONG x0; /**< +62 .q */
244 ULONG x1; /**< +66 .q */
245 UWORD bplcon3; /**< +70 */
246 UWORD aga; /**< +72 $8000 24 bit, fetch $00-$c0 in the low byte */
247 UWORD resshift; /**< +74 */
248 UWORD setup; /**< +76 */
249 UWORD cblow; /**< +78 */
250 UWORD sfetch; /**< +80 */
251 UWORD spres; /**< +82 */
252 UWORD spif; /**< +84 */
253 UWORD spwid; /**< +86 */
254 UWORD sspwid; /**< +88 */
255 UWORD ham8; /**< +90 */
256 ULONG csprites; /**< +92 */
257 ULONG cchunky; /**< +96 location of the copper chunky */
258 UWORD chy; /**< +100 chunky y position */
259 UWORD chw; /**< +102 chunky width */
260 UWORD chh; /**< +104 chunky height */
261 UWORD chr; /**< +106 chunky resolution */
262 UWORD chc; /**< +108 bytes per chunky line */
263 UWORD pad0; /**< +110 */
264 ULONG cchunky2; /**< +112 the same for the split part */
265 UWORD chy2, chw2, chh2, chr2, chc2; /**< +116 */
266 UWORD spri; /**< +126 the sprite resolution shift */
267} BL_PACKED;
268static_assert(sizeof(struct bb_coplist) == 128, "bb_coplist size");
269static_assert(offsetof(struct bb_coplist, customs) == 28, "bb_coplist customs");
270static_assert(offsetof(struct bb_coplist, x0) == 62, "bb_coplist x0");
271static_assert(offsetof(struct bb_coplist, cchunky) == 96, "bb_coplist cchunky");
272static_assert(offsetof(struct bb_coplist, chy2) == 116, "bb_coplist chy2");
273static_assert(offsetof(struct bb_coplist, spri) == 126, "bb_coplist spri");
274
275/* ------------------------------------------------------------ sprite */
276
277/**
278 * @brief A Sprite object, 16 bytes.
279 *
280 * Owner: spriteslib. Read by displaylib (DisplaySprite), mouselib and
281 * collslib.
282 */
283struct bb_sprite {
284 UBYTE *data; /**< +0 the images (CHIP), 0 = none */
285 UWORD height; /**< +4 height + 1 (for the final zeros) */
286 UWORD count; /**< +6 number of hardware sprites used */
287 union {
288 UWORD flags; /**< +8 bit 15 = 16 colours (attached pairs) */
289 struct {
290 UBYTE attach; /**< +8 bit 7 = 16 colours */
291 UBYTE width; /**< +9 pixel width */
292 };
293 };
294 UWORD imgsize; /**< +10 bytes per image */
295 UWORD handlex; /**< +12 handle x */
296 UWORD handley; /**< +14 handle y */
297};
298static_assert(sizeof(struct bb_sprite) == 16, "bb_sprite size");
299static_assert(offsetof(struct bb_sprite, imgsize) == 10, "bb_sprite imgsize");
300
301/* --------------------------------------------------------- IntuiFont */
302
303/**
304 * @brief An IntuiFont object, 16 bytes: a TextAttr, the opened font.
305 *
306 * Owner: intuifontlib. Read by windowslib (WindowFont) and menuslib (its
307 * error checks); menuslib and gadgetslib take the TextAttr at its start
308 * through intuifontlib's pointer as a struct TextAttr.
309 */
311 struct TextAttr ta; /**< +0 name, +4 ysize, +6 style, +7 flags */
312 struct TextFont *font; /**< +8 OpenDiskFont's result */
313 ULONG pad; /**< +12 */
314};
315static_assert(sizeof(struct bb_intuifont) == 16, "bb_intuifont size");
316static_assert(offsetof(struct bb_intuifont, font) == 8, "bb_intuifont font");
317
318/* ----------------------------------------------------- string memory */
319
320/**
321 * @brief The memory of a string variable: the variable points to
322 * `chars`, the header is in front of it (-8, -4).
323 *
324 * Owner: the compiler's runtime (memlib allocates it). Used by maxlenlib
325 * and strings2lib.
326 */
327struct bb_strmem {
328 ULONG alloced; /**< -8 alloc'd length */
329 ULONG len; /**< -4 string length */
330 UBYTE chars[]; /**< +0 the characters, then a 0 */
331};
332static_assert(sizeof(struct bb_strmem) == 8, "bb_strmem size");
333
334/* ------------------------------------------------------------- lists */
335
336/** "lIsT" in bb_listhead::id */
337#define BB_LISTID 0x6c497354UL
338
339/** @brief The node at the start of every item of a Blitz list. */
341 struct bb_listitem *next; /**< +0 0 in the node that ends the list */
342 struct bb_listitem *prev; /**< +4 */
343 UBYTE data[]; /**< +8 the item's fields */
344};
345static_assert(sizeof(struct bb_listitem) == 8, "bb_listitem size");
346
347/**
348 * @brief The 32 bytes in front of a Blitz list array (Dim List): the
349 * array points behind it, so the fields are at -32 .. -4.
350 *
351 * Owner: arrayslib (newlist). Used by linklistlib and the RWE libraries
352 * risortlib, riamosfunclib.
353 */
355 struct bb_listitem *current; /**< -32 the current item */
356 struct MinList used; /**< -28 the items in use */
357 struct MinList free; /**< -16 the free items */
358 ULONG id; /**< -4 BB_LISTID */
359};
360static_assert(sizeof(struct bb_listhead) == 32, "bb_listhead size");
361static_assert(offsetof(struct bb_listhead, free) == 16, "bb_listhead free");
362
363#endif /* BLITZOBJ_H */
#define BL_PACKED
Definition blitzlib.h:299
void data(void)
static WORD cludge
Definition gtlib.c:425
BL_ALWAYS_INLINE ULONG rep(UWORD v)
Definition palettelib.c:353
UWORD height
Definition polylib.c:226
UWORD width
Definition polylib.c:226
static UWORD numcols
Definition shapetrixlib.c:169
A BitMap object, 64 bytes: a struct BitMap (+0 .. +39) and the Blitz fields behind it.
Definition blitzobj.h:87
UWORD cursx
Definition blitzobj.h:99
UBYTE pad44[4]
Definition blitzobj.h:101
UWORD oldfd
Definition blitzobj.h:97
UWORD flagsdepth
Definition blitzobj.h:95
WORD isreal
Definition blitzobj.h:116
WORD xorigin
Definition blitzobj.h:102
UBYTE pad53
Definition blitzobj.h:107
UWORD planedist
Definition blitzobj.h:111
UBYTE depth
Definition blitzobj.h:93
UBYTE * planes[8]
Definition blitzobj.h:98
UWORD colours
Definition blitzobj.h:115
WORD yorigin
Definition blitzobj.h:103
UWORD ilword
Definition blitzobj.h:109
UWORD bpr
Definition blitzobj.h:88
UWORD height
Definition blitzobj.h:114
UBYTE flags
Definition blitzobj.h:92
UWORD width
Definition blitzobj.h:113
UWORD cursy
Definition blitzobj.h:100
UWORD rows
Definition blitzobj.h:89
UBYTE ilflag
Definition blitzobj.h:106
A CopList object, NEWTYPE .mycop, 128 bytes (the display library's copper list of a display).
Definition blitzobj.h:220
UWORD xshift
Definition blitzobj.h:235
UWORD bot
Definition blitzobj.h:230
ULONG coppos
Definition blitzobj.h:222
UWORD aga
Definition blitzobj.h:246
ULONG size
Definition blitzobj.h:221
ULONG bplanes
Definition blitzobj.h:226
UWORD chw2
Definition blitzobj.h:265
ULONG x1
Definition blitzobj.h:244
ULONG sprites
Definition blitzobj.h:224
UWORD fetchwid
Definition blitzobj.h:233
ULONG dot
Definition blitzobj.h:227
ULONG x0
Definition blitzobj.h:243
UWORD chc
Definition blitzobj.h:262
UWORD cblow
Definition blitzobj.h:249
UWORD spres
Definition blitzobj.h:251
UWORD resshift
Definition blitzobj.h:247
UWORD chh
Definition blitzobj.h:260
UWORD sfetch
Definition blitzobj.h:250
UWORD cpline
Definition blitzobj.h:242
UWORD spwid
Definition blitzobj.h:253
UWORD numsprites
Definition blitzobj.h:239
UWORD sspwid
Definition blitzobj.h:254
ULONG colors
Definition blitzobj.h:223
UWORD xand
Definition blitzobj.h:234
ULONG cchunky
Definition blitzobj.h:257
UWORD setup
Definition blitzobj.h:248
UWORD spri
Definition blitzobj.h:266
UWORD bplcon3
Definition blitzobj.h:245
ULONG customs
Definition blitzobj.h:228
ULONG csprites
Definition blitzobj.h:256
UWORD numcols
Definition blitzobj.h:240
UWORD height
Definition blitzobj.h:237
UWORD res
Definition blitzobj.h:238
UWORD chw
Definition blitzobj.h:259
UWORD ypos
Definition blitzobj.h:236
UWORD chc2
Definition blitzobj.h:265
UWORD chr2
Definition blitzobj.h:265
UWORD ham8
Definition blitzobj.h:255
UWORD chh2
Definition blitzobj.h:265
UWORD pad0
Definition blitzobj.h:263
UWORD chy
Definition blitzobj.h:258
UWORD numbp
Definition blitzobj.h:231
UWORD spif
Definition blitzobj.h:252
UWORD colpokes
Definition blitzobj.h:232
ULONG cchunky2
Definition blitzobj.h:264
UWORD chy2
Definition blitzobj.h:265
UWORD chr
Definition blitzobj.h:261
ULONG dob
Definition blitzobj.h:229
UWORD numcustoms
Definition blitzobj.h:241
ULONG bpcons
Definition blitzobj.h:225
One colour cycle of a palette object (SetCycle).
Definition blitzobj.h:129
WORD speed
Definition blitzobj.h:132
WORD hi
Definition blitzobj.h:131
WORD lo
Definition blitzobj.h:130
WORD var
Definition blitzobj.h:133
An IntuiFont object, 16 bytes: a TextAttr, the opened font.
Definition blitzobj.h:310
struct TextFont * font
Definition blitzobj.h:312
struct TextAttr ta
Definition blitzobj.h:311
ULONG pad
Definition blitzobj.h:313
The 32 bytes in front of a Blitz list array (Dim List): the array points behind it,...
Definition blitzobj.h:354
struct MinList used
Definition blitzobj.h:356
struct bb_listitem * current
Definition blitzobj.h:355
struct MinList free
Definition blitzobj.h:357
ULONG id
Definition blitzobj.h:358
The node at the start of every item of a Blitz list.
Definition blitzobj.h:340
struct bb_listitem * next
Definition blitzobj.h:341
UBYTE data[]
Definition blitzobj.h:343
struct bb_listitem * prev
Definition blitzobj.h:342
A Palette object, 128 bytes.
Definition blitzobj.h:145
struct bb_cycle cyc[14]
Definition blitzobj.h:148
UBYTE * pdata
Definition blitzobj.h:146
UBYTE pad[10]
Definition blitzobj.h:149
UWORD numcols
Definition blitzobj.h:147
A Shape object, 32 bytes (shapeslib's; also the block SaveShape(s) writes and the header of a shape f...
Definition blitzobj.h:48
UWORD xsize
Definition blitzobj.h:61
UWORD ebwidth
Definition blitzobj.h:52
UWORD planesize
Definition blitzobj.h:58
WORD handley
Definition blitzobj.h:55
UWORD cludge
Definition blitzobj.h:62
UWORD height
Definition blitzobj.h:50
UBYTE * data
Definition blitzobj.h:56
UWORD xplanesize
Definition blitzobj.h:59
UWORD depth
Definition blitzobj.h:51
UWORD width
Definition blitzobj.h:49
UWORD bltsize
Definition blitzobj.h:53
UWORD size
Definition blitzobj.h:60
UBYTE * cookie
Definition blitzobj.h:57
WORD handlex
Definition blitzobj.h:54
A Slice object, 64 bytes (Blitz mode). The pointers are addresses in the copper list (0 = not there).
Definition blitzobj.h:181
UWORD y
Definition blitzobj.h:182
UBYTE flagslo
Definition blitzobj.h:185
UBYTE flagshi
Definition blitzobj.h:185
ULONG con1
Definition blitzobj.h:199
ULONG sprmoves
Definition blitzobj.h:197
UBYTE planeshi
Definition blitzobj.h:189
UBYTE planeslo
Definition blitzobj.h:189
UBYTE pad[30]
Definition blitzobj.h:205
UWORD con1val
Definition blitzobj.h:203
ULONG moves[5]
Definition blitzobj.h:194
UWORD sprites
Definition blitzobj.h:191
ULONG colmoves
Definition blitzobj.h:198
ULONG con2
Definition blitzobj.h:200
UWORD flags
Definition blitzobj.h:184
UWORD planes
Definition blitzobj.h:188
UWORD colours
Definition blitzobj.h:192
UWORD height
Definition blitzobj.h:204
ULONG bplmoves
Definition blitzobj.h:196
A Sound object, 16 bytes.
Definition blitzobj.h:161
UWORD mark
Definition blitzobj.h:167
UBYTE * data
Definition blitzobj.h:162
UBYTE * rep
Definition blitzobj.h:165
UWORD period
Definition blitzobj.h:163
UWORD len
Definition blitzobj.h:164
UWORD replen
Definition blitzobj.h:166
A Sprite object, 16 bytes.
Definition blitzobj.h:283
UBYTE width
Definition blitzobj.h:291
UWORD height
Definition blitzobj.h:285
UWORD handley
Definition blitzobj.h:296
UWORD count
Definition blitzobj.h:286
UBYTE * data
Definition blitzobj.h:284
UBYTE attach
Definition blitzobj.h:290
UWORD imgsize
Definition blitzobj.h:294
UWORD handlex
Definition blitzobj.h:295
UWORD flags
Definition blitzobj.h:288
The memory of a string variable: the variable points to chars, the header is in front of it (-8,...
Definition blitzobj.h:327
UBYTE chars[]
Definition blitzobj.h:330
ULONG alloced
Definition blitzobj.h:328
ULONG len
Definition blitzobj.h:329