summaryrefslogtreecommitdiff
path: root/src/vehiclelist.h
blob: a5ba00f8b18c56efa48b7d2b744c6d29568b8107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* $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 */