L3DT documentation
Large 3D terrain generator



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.


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.
zeolite/types/colourpixel.txt · Last modified: 2017/08/31 07:12 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki