|
OpenTTD Source 20251116-master-g21329071df
|
Public Member Functions | |
| uint64_t | Key () const |
| EngineIDMapping (uint32_t grfid, uint16_t internal_id, VehicleType type, uint8_t substitute_id, EngineID engine) | |
Static Public Member Functions | |
| static uint64_t | Key (uint32_t grfid, uint16_t internal_id) |
Data Fields | |
| uint32_t | grfid = 0 |
| The GRF ID of the file the entity belongs to. | |
| uint16_t | internal_id = 0 |
| The internal ID within the GRF file. | |
| VehicleType | type {} |
| The engine type. | |
| uint8_t | substitute_id = 0 |
| The (original) entity ID to use if this GRF is not available (currently not used) | |
| EngineID | engine {} |
Definition at line 203 of file engine_base.h.
|
inline |
Definition at line 214 of file engine_base.h.
|
inline |
Definition at line 215 of file engine_base.h.
|
inline |
Definition at line 212 of file engine_base.h.
|
inlinestatic |
Definition at line 210 of file engine_base.h.
| EngineID EngineIDMapping::engine {} |
Definition at line 208 of file engine_base.h.
| uint32_t EngineIDMapping::grfid = 0 |
The GRF ID of the file the entity belongs to.
Definition at line 204 of file engine_base.h.
Referenced by EIDSChunkHandler::Load().
| uint16_t EngineIDMapping::internal_id = 0 |
The internal ID within the GRF file.
Definition at line 205 of file engine_base.h.
Referenced by EIDSChunkHandler::Load().
| uint8_t EngineIDMapping::substitute_id = 0 |
The (original) entity ID to use if this GRF is not available (currently not used)
Definition at line 207 of file engine_base.h.
Referenced by EIDSChunkHandler::Load().
| VehicleType EngineIDMapping::type {} |
The engine type.
Definition at line 206 of file engine_base.h.
Referenced by EIDSChunkHandler::Load().