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