mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 02:49:10 +00:00
(svn r13956) -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc)
This commit is contained in:
@@ -31,6 +31,8 @@ PBSTileInfo FollowTrainReservation(const Vehicle *v);
|
||||
bool IsSafeWaitingPosition(const Vehicle *v, TileIndex tile, Trackdir trackdir, bool include_line_end, bool forbid_90deg = false);
|
||||
bool IsWaitingPositionFree(const Vehicle *v, TileIndex tile, Trackdir trackdir, bool forbid_90deg = false);
|
||||
|
||||
Vehicle *GetTrainForReservation(TileIndex tile, Track track);
|
||||
|
||||
/**
|
||||
* Check whether some of tracks is reserved on a tile.
|
||||
*
|
||||
|
Reference in New Issue
Block a user