src/ai/api/ai_townlist.cpp
author truebrain
Fri, 18 Jul 2008 00:15:14 +0000
branchnoai
changeset 11165 a725845fcc01
parent 10339 ce6cd68d9eb8
permissions -rw-r--r--
(svn r13723) [NoAI] -Add: added AIIndustry::GetStockpiledCargo() (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);
	}
}