OpenTTD Source 20241224-master-gf74b0cf984
GRFLoadedFeatures Struct Reference

Data Fields

bool has_2CC
 Set if any vehicle is loaded which uses 2cc (two company colours).
 
uint64_t used_liveries
 Bitmask of LiveryScheme used by the defined engines.
 
ShoreReplacement shore
 In which way shore sprites were replaced.
 
TramReplacement tram
 In which way tram depots were replaced.
 

Detailed Description

Definition at line 175 of file newgrf.h.

Field Documentation

◆ has_2CC

bool GRFLoadedFeatures::has_2CC

Set if any vehicle is loaded which uses 2cc (two company colours).

Definition at line 176 of file newgrf.h.

Referenced by AircraftVehicleChangeInfo(), ObjectChangeInfo(), RailVehicleChangeInfo(), ResetNewGRFData(), RoadVehicleChangeInfo(), ShipVehicleChangeInfo(), and SelectCompanyLiveryWindow::UpdateWidgetSize().

◆ shore

ShoreReplacement GRFLoadedFeatures::shore

In which way shore sprites were replaced.

Definition at line 178 of file newgrf.h.

Referenced by ActivateOldShore(), and ResetNewGRFData().

◆ tram

TramReplacement GRFLoadedFeatures::tram

In which way tram depots were replaced.

Definition at line 179 of file newgrf.h.

Referenced by ActivateOldTramDepot(), DrawRoadDepotSprite(), DrawTile_Road(), and ResetNewGRFData().

◆ used_liveries


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