|
OpenTTD Source 15.0-beta1
|
Temporary engine data used when loading only. More...
Public Types | |
| enum | Refittability { UNSET = 0 , EMPTY , NONEMPTY } |
| Summary state of refittability properties. More... | |
Public Member Functions | |
| void | UpdateRefittability (bool non_empty) |
| Update the summary refittability on setting a refittability property. | |
Data Fields | |
| CargoClasses | cargo_allowed |
| Bitmask of cargo classes that are allowed as a refit. | |
| CargoClasses | cargo_allowed_required |
| Bitmask of cargo classes that are required to be all present to allow a cargo as a refit. | |
| CargoClasses | cargo_disallowed |
| Bitmask of cargo classes that are disallowed as a refit. | |
| RailTypeLabel | railtypelabel |
| uint8_t | roadtramtype |
| const GRFFile * | defaultcargo_grf |
| GRF defining the cargo translation table to use if the default cargo is the 'first refittable'. | |
| Refittability | refittability |
| Did the newgrf set any refittability property? If not, default refittability will be applied. | |
| uint8_t | rv_max_speed |
| Temporary storage of RV prop 15, maximum speed in mph/0.8. | |
| CargoTypes | ctt_include_mask |
| Cargo types always included in the refit mask. | |
| CargoTypes | ctt_exclude_mask |
| Cargo types always excluded from the refit mask. | |
Temporary engine data used when loading only.
Definition at line 315 of file newgrf.cpp.
Summary state of refittability properties.
Definition at line 317 of file newgrf.cpp.
|
inline |
Update the summary refittability on setting a refittability property.
| non_empty | true if the GRF sets the vehicle to be refittable. |
Definition at line 338 of file newgrf.cpp.
| CargoClasses GRFTempEngineData::cargo_allowed |
Bitmask of cargo classes that are allowed as a refit.
Definition at line 323 of file newgrf.cpp.
| CargoClasses GRFTempEngineData::cargo_allowed_required |
Bitmask of cargo classes that are required to be all present to allow a cargo as a refit.
Definition at line 324 of file newgrf.cpp.
| CargoClasses GRFTempEngineData::cargo_disallowed |
Bitmask of cargo classes that are disallowed as a refit.
Definition at line 325 of file newgrf.cpp.
| CargoTypes GRFTempEngineData::ctt_exclude_mask |
Cargo types always excluded from the refit mask.
Definition at line 332 of file newgrf.cpp.
| CargoTypes GRFTempEngineData::ctt_include_mask |
Cargo types always included in the refit mask.
Definition at line 331 of file newgrf.cpp.
| const GRFFile* GRFTempEngineData::defaultcargo_grf |
GRF defining the cargo translation table to use if the default cargo is the 'first refittable'.
Definition at line 328 of file newgrf.cpp.
| RailTypeLabel GRFTempEngineData::railtypelabel |
Definition at line 326 of file newgrf.cpp.
| Refittability GRFTempEngineData::refittability |
Did the newgrf set any refittability property? If not, default refittability will be applied.
Definition at line 329 of file newgrf.cpp.
| uint8_t GRFTempEngineData::roadtramtype |
Definition at line 327 of file newgrf.cpp.
| uint8_t GRFTempEngineData::rv_max_speed |
Temporary storage of RV prop 15, maximum speed in mph/0.8.
Definition at line 330 of file newgrf.cpp.