|
OpenTTD Source 20251104-master-g3befbdd52f
|
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 260 of file pbs.cpp.
Referenced by CheckTrainsOnTrack(), FollowTrainReservation(), and GetTrainForReservation().
| PBSTileInfo FindTrainOnTrackInfo::res |
Information about the track.
Definition at line 259 of file pbs.cpp.
Referenced by CheckTrainsOnTrack(), FollowTrainReservation(), and GetTrainForReservation().