OpenTTD Source  20241108-master-g80f628063a
FindTrainOnTrackInfo Struct Reference

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.
 
Trainbest
 The currently "best" vehicle we have found.
 

Detailed Description

Helper struct for finding the best matching vehicle on a specific track.

Definition at line 254 of file pbs.cpp.


The documentation for this struct was generated from the following file: