equal
deleted
inserted
replaced
5 |
5 |
6 /** @file depot.h Header files for depots (not hangars) |
6 /** @file depot.h Header files for depots (not hangars) |
7 * @see depot.c */ |
7 * @see depot.c */ |
8 |
8 |
9 #include "direction.h" |
9 #include "direction.h" |
10 #include "pool.h" |
10 #include "oldpool.h" |
11 #include "tile.h" |
11 #include "tile.h" |
12 #include "variables.h" |
12 #include "variables.h" |
13 |
13 |
14 struct Depot { |
14 struct Depot { |
15 TileIndex xy; |
15 TileIndex xy; |
16 TownID town_index; |
16 TownID town_index; |
17 DepotID index; |
17 DepotID index; |
18 }; |
18 }; |
19 |
19 |
20 DECLARE_POOL(Depot, Depot, 3, 8000) |
20 DECLARE_OLD_POOL(Depot, Depot, 3, 8000) |
21 |
21 |
22 /** |
22 /** |
23 * Check if a depot really exists. |
23 * Check if a depot really exists. |
24 */ |
24 */ |
25 static inline bool IsValidDepot(const Depot *depot) |
25 static inline bool IsValidDepot(const Depot *depot) |