diff --git a/src/train.h b/src/train.h --- a/src/train.h +++ b/src/train.h @@ -50,6 +50,8 @@ bool TryPathReserve(Train *v, bool mark_ int GetTrainStopLocation(StationID station_id, TileIndex tile, const Train *v, int *station_ahead, int *station_length); +void GetTrainSpriteSize(EngineID engine, uint &width, uint &height, int &xoffs, int &yoffs, EngineImageType image_type); + /** Variables that are cached to improve performance and such */ struct TrainCache { /* Cached wagon override spritegroup */