src/vehiclelist.h
author Tero Marttila <terom@fixme.fi>
Fri, 18 Jul 2008 21:28:42 +0300
changeset 11175 020c61e39c94
parent 11019 9c818b06c54d
permissions -rw-r--r--
added a GCS_AVAILABLE status, and changed the colours used in the download GUI
/* $Id$ */

/** @file vehiclelist.h Functions and type for generating vehicle lists. */

#ifndef VEHICLELIST_H
#define VEHICLELIST_H

#include "core/smallvec_type.hpp"

typedef SmallVector<const Vehicle *, 32> VehicleList;

void GenerateVehicleSortList(VehicleList *list, VehicleType type, PlayerID owner, uint32 index, uint16 window_type);
void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list);

#endif /* VEHICLELIST_H */