OpenTTD Source 20241224-master-gf74b0cf984
ColourGradients Struct Reference

Lookup table of colour shades for all 16 colour gradients. More...

Public Types

using ColourGradient = std::array< uint8_t, SHADE_END >
 

Static Public Attributes

static std::array< ColourGradient, COLOUR_END > gradient {}
 

Detailed Description

Lookup table of colour shades for all 16 colour gradients.

8 colours per gradient from darkest (0) to lightest (7)

Definition at line 301 of file palette.cpp.

Member Typedef Documentation

◆ ColourGradient

using ColourGradients::ColourGradient = std::array<uint8_t, SHADE_END>

Definition at line 303 of file palette.cpp.

Field Documentation

◆ gradient

std::array<ColourGradient, COLOUR_END> ColourGradients::gradient {}
inlinestatic

Definition at line 305 of file palette.cpp.


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