2008-05-28 12:56:21 +01:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
/** @file vehiclelist.h Functions and type for generating vehicle lists. */
|
|
|
|
|
|
|
|
#ifndef VEHICLELIST_H
|
|
|
|
#define VEHICLELIST_H
|
|
|
|
|
2008-06-19 11:19:02 +01:00
|
|
|
#include "core/smallvec_type.hpp"
|
2008-05-28 12:56:21 +01:00
|
|
|
|
|
|
|
typedef SmallVector<const Vehicle *, 32> VehicleList;
|
|
|
|
|
2008-09-30 21:39:50 +01:00
|
|
|
void GenerateVehicleSortList(VehicleList *list, VehicleType type, Owner owner, uint32 index, uint16 window_type);
|
2008-09-27 15:58:46 +01:00
|
|
|
void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list, bool individual_wagons = false);
|
2008-05-28 12:56:21 +01:00
|
|
|
|
|
|
|
#endif /* VEHICLELIST_H */
|