diff options
author | Tyler Trahan <tyler@tylertrahan.com> | 2021-04-22 13:54:32 -0400 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-06-10 23:26:16 +0200 |
commit | d09210e1c6a446ec5a97de4e171aa101d047765a (patch) | |
tree | d45a31e2b65f3399888e14524b805b15ef94a90f /src/subsidy_func.h | |
parent | c2db408d5d947cd4f3df42754a598226818c519f (diff) | |
download | openttd-d09210e1c6a446ec5a97de4e171aa101d047765a.tar.xz |
Feature: Configurable subsidy duration
Diffstat (limited to 'src/subsidy_func.h')
-rw-r--r-- | src/subsidy_func.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/subsidy_func.h b/src/subsidy_func.h index cc63577d3..5cd7a3118 100644 --- a/src/subsidy_func.h +++ b/src/subsidy_func.h @@ -15,8 +15,9 @@ #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, bool mode); +std::pair<NewsReferenceType, NewsReferenceType> SetupSubsidyDecodeParam(const struct Subsidy *s, SubsidyDecodeParamType mode); void DeleteSubsidyWith(SourceType type, SourceID index); bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type, SourceID src, const Station *st); void RebuildSubsidisedSourceAndDestinationCache(); |