BB2 C port
API reference: Blitz libraries in C and the shared code
Loading...
Searching...
No Matches
bb_palette Struct Reference

A Palette object, 128 bytes. More...

#include <blitzobj.h>

Data Fields

UBYTE * pdata
UWORD numcols
struct bb_cycle cyc [14]
UBYTE pad [10]

Detailed Description

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.

Field Documentation

◆ cyc

struct bb_cycle bb_palette::cyc[14]

+6 the colour cycles

◆ numcols

UWORD bb_palette::numcols

+4 number of colours

◆ pad

UBYTE bb_palette::pad[10]

+118

◆ pdata

UBYTE* bb_palette::pdata

+0 the colour block, 0 = none


The documentation for this struct was generated from the following file: