MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetCustomVehicleIcon

Function GetCustomVehicleIcon

src/newgrf_engine.cpp:1130–1133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1128}
1129
1130void GetCustomVehicleIcon(EngineID engine, Direction direction, EngineImageType image_type, VehicleSpriteSeq *result)
1131{
1132 GetCustomEngineSprite(engine, nullptr, direction, image_type, result);
1133}
1134
1135static void GetRotorOverrideSprite(EngineID engine, const struct Aircraft *v, EngineImageType image_type, VehicleSpriteSeq *result)
1136{

Callers 4

GetShipIconFunction · 0.85
GetRailIconFunction · 0.85
GetRoadVehIconFunction · 0.85
GetAircraftIconFunction · 0.85

Calls 1

GetCustomEngineSpriteFunction · 0.85

Tested by

no test coverage detected