#include <ai_depotlist.hpp>
Public Member Functions | |
AIDepotList (AITile::TransportType transport_type) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Definition at line 15 of file ai_depotlist.hpp.
AIDepotList::AIDepotList | ( | AITile::TransportType | transport_type | ) |
transport_type | The type of transport to make a list of depots for. |
Definition at line 11 of file ai_depotlist.cpp.
References AIAbstractList::AddItem(), Station::Airport(), AirportFTAClass::airport_depots, GetTileOwner(), IsTileType(), MP_RAILWAY, MP_ROAD, MP_WATER, AirportFTAClass::nof_depots, Station::owner, ToTileIndexDiff(), AITile::TRANSPORT_AIR, AITile::TRANSPORT_RAIL, AITile::TRANSPORT_ROAD, AITile::TRANSPORT_WATER, and Station::xy.