static uint stDistanceToTile(const RoadVehicle *v, TileIndex tile) { Tpf pf; return pf.DistanceToTile(v, tile); }
static FindDepotData stFindNearestDepot(const RoadVehicle *v, TileIndex tile, Trackdir td, int max_distance) { Tpf pf; return pf.FindNearestDepot(v, tile, td, max_distance); }
static Trackdir stChooseRoadTrack(const RoadVehicle *v, TileIndex tile, DiagDirection enterdir, bool &path_found) { Tpf pf; return pf.ChooseRoadTrack(v, tile, enterdir, path_found); }
static bool stFindNearestDepot(const RoadVehicle *v, TileIndex tile, Trackdir td, int max_distance, TileIndex *depot_tile) { Tpf pf; return pf.FindNearestDepot(v, tile, td, max_distance, depot_tile); }