Mercurial > hg > openttd
view src/subsidy_func.h @ 14258:a899d4e5ee1a draft
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
author | rubidium <rubidium@openttd.org> |
---|---|
date | Fri, 15 Jan 2010 16:41:15 +0000 |
parents | bc7926153e19 |
children | 1446cdc9ea36 |
line wrap: on
line source
/* $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 subsidy_func.h Functions related to subsidies. */ #ifndef SUBSIDY_FUNC_H #define SUBSIDY_FUNC_H #include "core/geometry_type.hpp" #include "station_type.h" #include "company_type.h" #include "cargo_type.h" Pair SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode); void DeleteSubsidyWith(SourceType type, SourceID index); bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type, SourceID src, const Station *st); void SubsidyMonthlyHandler(); void RebuildSubsidisedSourceAndDestinationCache(); void DeleteSubsidy(struct Subsidy *s); #endif /* SUBSIDY_FUNC_H */