|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Public Member Functions | |
| void | MapSpecific (uint16_t local_id, uint8_t cid, const SpriteGroup *group) override |
| Map a SpriteGroup to specific 'cargo type' of a specification. | |
| void | MapDefault (uint16_t, const SpriteGroup *) override |
| Map default/fallback SpriteGroup to a specification. | |
Definition at line 298 of file newgrf_act3.cpp.
|
inlineoverridevirtual |
Map default/fallback SpriteGroup to a specification.
| local_id | The NewGRF-local id to map to. |
| group | The SpriteGroup to link to the specification. |
Implements MapSpriteGroupHandler.
Definition at line 313 of file newgrf_act3.cpp.
|
inlineoverridevirtual |
Map a SpriteGroup to specific 'cargo type' of a specification.
| local_id | The NewGRF-local id to map to. |
| cid | The 'cargo type' to map for. |
| group | The SpriteGroup to link to the specification. |
Implements MapSpriteGroupHandler.
Definition at line 299 of file newgrf_act3.cpp.
References RoadTypeInfo::grffile, RoadTypeInfo::group, INVALID_ROADTYPE, ROADTYPE_END, and RTT_TRAM.