src/ai/api/ai_townlist.cpp
author rubidium
Thu, 19 Jun 2008 18:09:29 +0000
branchnoai
changeset 11029 776c7cc8bda5
parent 10339 ce6cd68d9eb8
permissions -rw-r--r--
(svn r13585) [NoAI] -Add: possibility to get information/perform order changes based on the current order of a vehicle.
/* $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);
	}
}