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

Function GetCustomVehicleSprite

src/newgrf_engine.cpp:1125–1128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1123}
1124
1125void GetCustomVehicleSprite(const Vehicle *v, Direction direction, EngineImageType image_type, VehicleSpriteSeq *result)
1126{
1127 GetCustomEngineSprite(v->engine_type, v, direction, image_type, result);
1128}
1129
1130void GetCustomVehicleIcon(EngineID engine, Direction direction, EngineImageType image_type, VehicleSpriteSeq *result)
1131{

Callers 4

GetImageMethod · 0.85
GetImageMethod · 0.85
GetImageMethod · 0.85
GetImageMethod · 0.85

Calls 1

GetCustomEngineSpriteFunction · 0.85

Tested by

no test coverage detected