Files @ r19894:5be443ca1ba5
Branch filter:

Location: cpp/openttd-patchpack/source/src/subsidy_func.h

translators
(svn r24849) -Update from WebTranslator v3.0:
catalan - 1 changes by Bassals
croatian - 33 changes by VoyagerOne
english_US - 33 changes by Rubidium
finnish - 33 changes by jpx_
french - 33 changes by glx
german - 51 changes by planetmaker
italian - 33 changes by Snail_
russian - 33 changes by Lone_Wolf
spanish - 33 changes by Terkhen
vietnamese - 34 changes by myquartz
/* $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 RebuildSubsidisedSourceAndDestinationCache();
void DeleteSubsidy(struct Subsidy *s);

#endif /* SUBSIDY_FUNC_H */