OpenTTD Source 20241224-master-gf74b0cf984
SmallMapColourScheme Struct Reference

Colour scheme of the smallmap. More...

Data Fields

std::vector< uint32_t > height_colours
 Cached colours for each level in a map.
 
std::span< const uint32_t > height_colours_base
 Base table for determining the colours.
 
uint32_t default_colour
 Default colour of the land.
 

Detailed Description

Colour scheme of the smallmap.

Definition at line 274 of file smallmap_gui.cpp.

Field Documentation

◆ default_colour

uint32_t SmallMapColourScheme::default_colour

◆ height_colours

std::vector<uint32_t> SmallMapColourScheme::height_colours

Cached colours for each level in a map.

Definition at line 275 of file smallmap_gui.cpp.

Referenced by BuildLandLegend(), GetSmallMapContoursPixels(), GetSmallMapIndustriesPixels(), and GetSmallMapOwnerPixels().

◆ height_colours_base

std::span<const uint32_t> SmallMapColourScheme::height_colours_base

Base table for determining the colours.

Definition at line 276 of file smallmap_gui.cpp.


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