OpenTTD Source 20241224-master-gf74b0cf984
|
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 |
The GRF ID of the file the entity belongs to. | |
uint16_t | internal_id |
The internal ID within the GRF file. | |
VehicleType | type |
The engine type. | |
uint8_t | substitute_id |
The (original) entity ID to use if this GRF is not available (currently not used) | |
EngineID | engine |
Definition at line 196 of file engine_base.h.
|
inline |
Definition at line 207 of file engine_base.h.
|
inline |
Definition at line 208 of file engine_base.h.
|
inline |
Definition at line 205 of file engine_base.h.
|
inlinestatic |
Definition at line 203 of file engine_base.h.
EngineID EngineIDMapping::engine |
Definition at line 201 of file engine_base.h.
uint32_t EngineIDMapping::grfid |
The GRF ID of the file the entity belongs to.
Definition at line 197 of file engine_base.h.
Referenced by EIDSChunkHandler::Load().
uint16_t EngineIDMapping::internal_id |
The internal ID within the GRF file.
Definition at line 198 of file engine_base.h.
Referenced by EIDSChunkHandler::Load().
uint8_t EngineIDMapping::substitute_id |
The (original) entity ID to use if this GRF is not available (currently not used)
Definition at line 200 of file engine_base.h.
Referenced by EIDSChunkHandler::Load().
VehicleType EngineIDMapping::type |
The engine type.
Definition at line 199 of file engine_base.h.
Referenced by EIDSChunkHandler::Load().