OpenTTD Source 20260421-master-gc2fbc6fdeb
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).
uint64_t 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 199 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 200 of file newgrf.h.

◆ shore

ShoreReplacement GRFLoadedFeatures::shore

In which way shore sprites were replaced.

Definition at line 202 of file newgrf.h.

◆ tram

TramDepotReplacement GRFLoadedFeatures::tram

In which way tram depots were replaced.

Definition at line 203 of file newgrf.h.

◆ used_liveries

uint64_t GRFLoadedFeatures::used_liveries

Bitmask of LiveryScheme used by the defined engines.

Definition at line 201 of file newgrf.h.


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