OpenTTD Source: ClosestDepot Struct Reference

OpenTTD Source 14.0-RC3

Public Member Functions | Data Fields
ClosestDepot Struct Reference

Structure to return information about the closest depot location, and whether it could be found. More...

`#include <vehicle_base.h>`

## Public Member Functions
| ClosestDepot (TileIndex location, DestinationID destination, bool reverse=false)

## Data Fields
TileIndex | location
DestinationID | destination
| The DestinationID as used for orders.
bool | reverse
bool | found

## Detailed Description

Structure to return information about the closest depot location, and whether it could be found.

Definition at line 226 of file vehicle_base.h.

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

- src/vehicle_base.h