OpenTTD Source 20241224-master-gf74b0cf984
|
Helper struct for finding the best matching vehicle on a specific track. More...
Public Member Functions | |
FindTrainOnTrackInfo () | |
Init the best location to nullptr always! | |
Data Fields | |
PBSTileInfo | res |
Information about the track. | |
Train * | best |
The currently "best" vehicle we have found. | |
Helper struct for finding the best matching vehicle on a specific track.
|
inline |
Train* FindTrainOnTrackInfo::best |
The currently "best" vehicle we have found.
Definition at line 256 of file pbs.cpp.
Referenced by FindTrainOnTrackEnum(), FollowTrainReservation(), and GetTrainForReservation().
PBSTileInfo FindTrainOnTrackInfo::res |
Information about the track.
Definition at line 255 of file pbs.cpp.
Referenced by FindTrainOnTrackEnum(), FollowTrainReservation(), and GetTrainForReservation().