src/ai/api/ai_townlist.cpp
author truebrain
Tue, 29 Apr 2008 21:34:17 +0000
branchnoai
changeset 10383 bda80b3e9c25
parent 10339 ce6cd68d9eb8
permissions -rw-r--r--
(svn r12925) [NoAI] -Add: added AIIndustry::GetAmountOfStationsAround() (Yexo)
/* $Id$ */

/** @file ai_townlist.cpp Implementation of AITownList and friends. */

#include "ai_townlist.hpp"
#include "../../openttd.h"
#include "../../town.h"

AITownList::AITownList()
{
	Town *t;
	FOR_ALL_TOWNS(t) {
		this->AddItem(t->index);
	}
}