OpenTTD Source 20250312-master-gcdcc6b491d
|
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. | |
Colours Livery::colour1 = COLOUR_BEGIN |
First colour, for all vehicles.
Definition at line 80 of file livery.h.
Referenced by BuildObject(), CmdAlterGroup(), CmdCreateGroup(), CmdSetGroupLivery(), DrawNewObjectTileInGUI(), GetCompanyInfo(), IndustriesScopeResolver::GetVariable(), SelectCompanyLiveryWindow::GetWidgetString(), PropagateChildLivery(), UpdateCompanyGroupLiveries(), and UpdateObjectColours().
Colours Livery::colour2 = COLOUR_BEGIN |
Second colour, for vehicles with 2CC support.
Definition at line 81 of file livery.h.
Referenced by BuildObject(), CmdAlterGroup(), CmdCreateGroup(), CmdSetGroupLivery(), DrawNewObjectTileInGUI(), GetCompanyInfo(), IndustriesScopeResolver::GetVariable(), SelectCompanyLiveryWindow::GetWidgetString(), PropagateChildLivery(), UpdateCompanyGroupLiveries(), and UpdateObjectColours().
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().