|
BB2 C port
API reference: Blitz libraries in C and the shared code
|
A Palette object, 128 bytes. More...
#include <blitzobj.h>
Data Fields | |
| UBYTE * | pdata |
| UWORD | numcols |
| struct bb_cycle | cyc [14] |
| UBYTE | pad [10] |
A Palette object, 128 bytes.
Owner: palettelib. The colour block pdata is LoadRGB32's table: the number of colours (word), the first colour (word), then 3 longs per colour (each channel in the top byte), a 0 long at the end. Read by shapetrixlib, fadelib, iffmakelib (pdata and numcols only) and the RWE libraries rishapeslib, rigfxlib, ribbmaplib, ripacklib, ridatatypeslib.
| struct bb_cycle bb_palette::cyc[14] |
+6 the colour cycles
| UWORD bb_palette::numcols |
+4 number of colours
| UBYTE bb_palette::pad[10] |
+118
| UBYTE* bb_palette::pdata |
+0 the colour block, 0 = none