2009-01-12 18:11:45 +01:00
|
|
|
/* $Id$ */
|
|
|
|
|
2009-08-21 22:21:05 +02:00
|
|
|
/*
|
|
|
|
* This file is part of OpenTTD.
|
|
|
|
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
|
|
|
|
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2009-01-12 18:11:45 +01:00
|
|
|
/** @file ai_subsidylist.cpp Implementation of AISubsidyList. */
|
|
|
|
|
2011-01-22 11:33:16 +01:00
|
|
|
#include "../../stdafx.h"
|
2009-01-12 18:11:45 +01:00
|
|
|
#include "ai_subsidylist.hpp"
|
2009-07-01 20:45:05 +02:00
|
|
|
#include "../../subsidy_base.h"
|
2009-01-12 18:11:45 +01:00
|
|
|
|
|
|
|
AISubsidyList::AISubsidyList()
|
|
|
|
{
|
2009-07-01 19:43:26 +02:00
|
|
|
const Subsidy *s;
|
|
|
|
FOR_ALL_SUBSIDIES(s) {
|
2009-08-08 22:53:36 +02:00
|
|
|
this->AddItem(s->index);
|
2009-01-12 18:11:45 +01:00
|
|
|
}
|
|
|
|
}
|