src/ai/api/ai_tile.cpp
branchnoai
changeset 9723 eee46cb39750
parent 9708 a63a756fd080
child 9724 b39bc69bb2f2
equal deleted inserted replaced
9722:ebf0ece7d8f6 9723:eee46cb39750
     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;