OpenTTD Source  20240919-master-gdf0233f4c2
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: