OpenTTD Source 20241224-master-gf74b0cf984
|
Sprite Group Cargo types. More...
Variables | |
static constexpr CargoID | SG_DEFAULT = NUM_CARGO |
Default type used when no more-specific cargo matches. | |
static constexpr CargoID | SG_PURCHASE = NUM_CARGO + 1 |
Used in purchase lists before an item exists. | |
static constexpr CargoID | SG_DEFAULT_NA = NUM_CARGO + 2 |
Used only by stations and roads when no more-specific cargo matches. | |
These special cargo types are used when resolving sprite groups when non-cargo-specific sprites or callbacks are needed, e.g. in purchase lists, or if no specific cargo type sprite group is supplied.
Default type used when no more-specific cargo matches.
Definition at line 23 of file newgrf_cargo.h.
Referenced by StationResolverObject::ResolveReal(), StationResolverObject::StationResolverObject(), and VehicleResolverObject::VehicleResolverObject().
Used only by stations and roads when no more-specific cargo matches.
Definition at line 25 of file newgrf_cargo.h.
Referenced by StationResolverObject::ResolveReal(), and StationResolverObject::StationResolverObject().
Used in purchase lists before an item exists.
Definition at line 24 of file newgrf_cargo.h.
Referenced by StationResolverObject::ResolveReal(), StationResolverObject::StationResolverObject(), and VehicleResolverObject::VehicleResolverObject().