OpenTTD Source 20260531-master-g0e951f3528
GRFLoadedFeatures Struct Reference

State of features loaded by NewGRFs. More...

#include <newgrf.h>

Data Fields

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

Detailed Description

State of features loaded by NewGRFs.

Definition at line 200 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 201 of file newgrf.h.

◆ shore

ShoreReplacement GRFLoadedFeatures::shore

In which way shore sprites were replaced.

Definition at line 203 of file newgrf.h.

◆ tram

TramDepotReplacement GRFLoadedFeatures::tram

In which way tram depots were replaced.

Definition at line 204 of file newgrf.h.

◆ used_liveries

LiverySchemes GRFLoadedFeatures::used_liveries

Bitmask of LiveryScheme used by the defined engines.

Definition at line 202 of file newgrf.h.


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