GSVehicleList_Depot Class Reference

Creates a list of vehicles that have orders to a given depot. More...

Inheritance diagram for GSVehicleList_Depot:

GSList

Public Member Functions

 GSVehicleList_Depot (TileIndex tile)

Detailed Description

Creates a list of vehicles that have orders to a given depot.

The list is created with a tile. If the tile is part of an airport all aircraft having a depot order on a hangar of that airport will be returned. For all other vehicle types the tile has to be a depot or an empty list will be returned.


Constructor & Destructor Documentation

GSVehicleList_Depot::GSVehicleList_Depot ( TileIndex  tile  ) 

Parameters:
tile The tile of the depot to get the list of vehicles from, which have orders to it.


Generated on Fri May 31 21:40:37 2013 for OpenTTD Game API by  doxygen 1.5.6