src/ai/api/ai_town.cpp
branchnoai
changeset 9723 eee46cb39750
parent 9582 40f54a61bb17
child 9736 183b38e0a480
equal deleted inserted replaced
9722:ebf0ece7d8f6 9723:eee46cb39750
     2 
     2 
     3 /** @file ai_town.cpp handles the town-related functions of the AITown class */
     3 /** @file ai_town.cpp handles the town-related functions of the AITown class */
     4 
     4 
     5 #include "ai_town.hpp"
     5 #include "ai_town.hpp"
     6 #include "../../town.h"
     6 #include "../../town.h"
     7 #include "../../strings.h"
     7 #include "../../strings_func.h"
     8 #include "../../variables.h" /* For SetDParam */
     8 #include "../../town_type.h"
       
     9 #include "../../core/alloc_func.hpp"
     9 #include "table/strings.h"
    10 #include "table/strings.h"
    10 
    11 
    11 TownID AITown::GetMaxTownID()
    12 TownID AITown::GetMaxTownID()
    12 {
    13 {
    13 	return ::GetMaxTownIndex();
    14 	return ::GetMaxTownIndex();