Files @ r14700:3a5a981e0fb2
Branch filter:

Location: cpp/openttd-patchpack/source/src/ai/api/ai_subsidylist.hpp

frosch
(svn r19294) -Change: [NoAI] Remove HasNext() from all lists/iterators and add IsEnd() instead.
/* $Id$ */

/*
 * 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/>.
 */

/** @file ai_subsidylist.hpp List all the subsidies. */

#ifndef AI_SUBSIDYLIST_HPP
#define AI_SUBSIDYLIST_HPP

#include "ai_abstractlist.hpp"

/**
 * Creates a list of all current subsidies.
 * @ingroup AIList
 */
class AISubsidyList : public AIAbstractList {
public:
	static const char *GetClassName() { return "AISubsidyList"; }
	AISubsidyList();
};

#endif /* AI_SUBSIDYLIST_HPP */