Table of Contents

ColourPixel

Description

ColourPixel is both the the map pixel data type for maps initialised as MAP_24bit, as well as the data type used to represent RGB colour in Zeolite variables initialised as VarID_colour.

Definition

In Zeolite_defines.h:

typedef struct {
  unsigned char r;
  unsigned char g;
  unsigned char b;
} ColourPixel;

Member data

Member name Type Comments
r unsigned char The red component of the colour (0…255).
g unsigned char The green component of the colour (0…255).
b unsigned char The blue component of the colour (0…255).

Type identifiers

VarID VarID_colour.
MapID MAP_24bit.