|
OpenTTD Source
14.0-beta1
|
Special cargo filter criteria. More...
Variables | |
| static constexpr CargoID | CF_ANY = NUM_CARGO |
| Show all items independent of carried cargo (i.e. no filtering) | |
| static constexpr CargoID | CF_NONE = NUM_CARGO + 1 |
| Show only items which do not carry cargo (e.g. train engines) | |
| static constexpr CargoID | CF_ENGINES = NUM_CARGO + 2 |
| Show only engines (for rail vehicles only) | |
| static constexpr CargoID | CF_FREIGHT = NUM_CARGO + 3 |
| Show only vehicles which carry any freight (non-passenger) cargo. | |
Special cargo filter criteria.
These are used by user interface code only and must not be assigned to any entity. Not all values are valid for every UI filter.