Add drive-through train depot emulation (default off)

This commit is contained in:
Jonathan G Rennison
2020-09-26 17:56:58 +01:00
parent b6f583a799
commit 84dd35b685
10 changed files with 93 additions and 2 deletions

View File

@@ -86,6 +86,8 @@ FindDepotData YapfTrainFindNearestDepot(const Train *v, int max_distance);
*/
bool YapfTrainCheckReverse(const Train *v);
bool YapfTrainCheckDepotReverse(const Train *v, TileIndex forward_depot, TileIndex reverse_depot);
/**
* Try to extend the reserved path of a train to the nearest safe tile using YAPF.
*