summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_subsidylist.cpp
blob: cfda16e9a3d13269d63c7c1a1fc0d814a0aae5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $Id$ */

/** @file ai_subsidylist.cpp Implementation of AISubsidyList. */

#include "ai_subsidylist.hpp"
#include "ai_subsidy.hpp"
#include "../../subsidy_type.h"

AISubsidyList::AISubsidyList()
{
	for (uint i = 0; i < lengthof(_subsidies); i++) {
		if (AISubsidy::IsValidSubsidy(i)) this->AddItem(i);
	}
}