|
OpenTTD Source 15.0-beta1
|
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 |
Structure to return information about the closest depot location, and whether it could be found.
Definition at line 230 of file vehicle_base.h.
|
inline |
Definition at line 236 of file vehicle_base.h.
|
inline |
Definition at line 239 of file vehicle_base.h.
| DestinationID ClosestDepot::destination |
The DestinationID as used for orders.
Definition at line 232 of file vehicle_base.h.
Referenced by Vehicle::SendToDepot(), and UpdateOrderDest().
| bool ClosestDepot::found |
Definition at line 234 of file vehicle_base.h.
| TileIndex ClosestDepot::location |
Definition at line 231 of file vehicle_base.h.
| bool ClosestDepot::reverse |
Definition at line 233 of file vehicle_base.h.