OpenTTD Source 20260206-master-g4d4e37dbf1
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 275 of file smallmap_gui.cpp.

Field Documentation

◆ default_colour

uint32_t SmallMapColourScheme::default_colour

Default colour of the land.

Definition at line 278 of file smallmap_gui.cpp.

Referenced by GetSmallMapIndustriesPixels(), GetSmallMapOwnerPixels(), GetSmallMapRoutesPixels(), and GetSmallMapVehiclesPixels().

◆ height_colours

std::vector<uint32_t> SmallMapColourScheme::height_colours

Cached colours for each level in a map.

Definition at line 276 of file smallmap_gui.cpp.

Referenced by 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 277 of file smallmap_gui.cpp.


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