equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 /** @file ai_tile.cpp handles the functions of the AITile class */ |
3 /** @file ai_tile.cpp handles the functions of the AITile class */ |
4 |
4 |
5 #include "ai_tile.hpp" |
5 #include "ai_tile.hpp" |
6 #include "../../tile.h" |
6 #include "../../tile_map.h" |
|
7 #include "../../map_func.h" |
7 #include "../../variables.h" |
8 #include "../../variables.h" |
8 #include "../../station.h" |
9 #include "../../station.h" |
9 #include "../../command.h" |
10 #include "../../command_type.h" |
10 |
11 |
11 bool AITile::IsBuildable(TileIndex tile) |
12 bool AITile::IsBuildable(TileIndex tile) |
12 { |
13 { |
13 /* Outside of the map */ |
14 /* Outside of the map */ |
14 if (tile >= ::MapSize()) return false; |
15 if (tile >= ::MapSize()) return false; |