Files
@ r28588:6c2af998e7d5
Branch filter:
Location: cpp/openttd-patchpack/source/src/subsidy_func.h - annotation
r28588:6c2af998e7d5
1.2 KiB
text/x-c
Fix: Extra refit button when train/RV is in a depot (#11904)
r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r11992:e36dfa660636 r14248:a9050881acd7 r25207:880e11b8d85d r25636:7c2fc0b1c9aa r11992:e36dfa660636 r25759:5af213b2a854 r12642:9f166415b666 r12648:24c912bd53f6 r12648:24c912bd53f6 r11992:e36dfa660636 r11992:e36dfa660636 | /*
* 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"
#include "news_type.h"
#include "subsidy_base.h"
std::pair<NewsReferenceType, NewsReferenceType> SetupSubsidyDecodeParam(const struct Subsidy *s, SubsidyDecodeParamType mode, uint parameter_offset = 0);
void DeleteSubsidyWith(SourceType type, SourceID index);
bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type, SourceID src, const Station *st);
void RebuildSubsidisedSourceAndDestinationCache();
#endif /* SUBSIDY_FUNC_H */
|