author | frosch |
Thu, 11 Sep 2008 19:44:30 +0000 | |
changeset 10108 | 0f63f81e09f0 |
parent 9555 | 68e7c84b2d19 |
child 10193 | ae0dc7f699bf |
permissions | -rw-r--r-- |
9396
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
1 |
/* $Id$ */ |
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
2 |
|
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
3 |
/** @file vehiclelist.h Functions and type for generating vehicle lists. */ |
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
4 |
|
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
5 |
#ifndef VEHICLELIST_H |
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
6 |
#define VEHICLELIST_H |
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
7 |
|
9555
68e7c84b2d19
(svn r13575) -Codechange: Move small vector to core since it fits better in there
skidd13
parents:
9396
diff
changeset
|
8 |
#include "core/smallvec_type.hpp" |
9396
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
9 |
|
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
10 |
typedef SmallVector<const Vehicle *, 32> VehicleList; |
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
11 |
|
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
12 |
void GenerateVehicleSortList(VehicleList *list, VehicleType type, PlayerID owner, uint32 index, uint16 window_type); |
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
13 |
void BuildDepotVehicleList(VehicleType type, TileIndex tile, VehicleList *engine_list, VehicleList *wagon_list); |
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
14 |
|
3f70b1b8642c
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
peter1138
parents:
diff
changeset
|
15 |
#endif /* VEHICLELIST_H */ |