Пример #1
0
 static uint stDistanceToTile(const RoadVehicle *v, TileIndex tile)
 {
     Tpf pf;
     return pf.DistanceToTile(v, tile);
 }
Пример #2
0
	static FindDepotData stFindNearestDepot(const RoadVehicle *v, TileIndex tile, Trackdir td, int max_distance)
	{
		Tpf pf;
		return pf.FindNearestDepot(v, tile, td, max_distance);
	}
Пример #3
0
 static Trackdir stChooseRoadTrack(const RoadVehicle *v, TileIndex tile, DiagDirection enterdir, bool &path_found)
 {
     Tpf pf;
     return pf.ChooseRoadTrack(v, tile, enterdir, path_found);
 }
Пример #4
0
	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);
	}