OpenTTD Source 20250312-master-gcdcc6b491d
Livery Struct Reference

Information about a particular livery. More...

#include <livery.h>

Data Fields

uint8_t in_use = 0
 Bit 0 set if this livery should override the default livery first colour, Bit 1 for the second colour.
 
Colours colour1 = COLOUR_BEGIN
 First colour, for all vehicles.
 
Colours colour2 = COLOUR_BEGIN
 Second colour, for vehicles with 2CC support.
 

Detailed Description

Information about a particular livery.

Definition at line 78 of file livery.h.

Field Documentation

◆ colour1

◆ colour2

◆ in_use

uint8_t Livery::in_use = 0

Bit 0 set if this livery should override the default livery first colour, Bit 1 for the second colour.

Definition at line 79 of file livery.h.

Referenced by CmdAlterGroup(), CmdSetGroupLivery(), GetEngineLivery(), SelectCompanyLiveryWindow::GetWidgetString(), and UpdateCompanyGroupLiveries().


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