OpenTTD Source 20241224-master-gf74b0cf984
Livery Struct Reference

Information about a particular livery. More...

#include <livery.h>

Data Fields

uint8_t in_use
 Bit 0 set if this livery should override the default livery first colour, Bit 1 for the second colour.
 
Colours colour1
 First colour, for all vehicles.
 
Colours colour2
 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

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(), CmdSetCompanyColour(), CmdSetGroupLivery(), GetEngineLivery(), ResetCompanyLivery(), SelectCompanyLiveryWindow::SetStringParameters(), UpdateCompanyGroupLiveries(), and UpdateCompanyLiveries().


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