summaryrefslogtreecommitdiff
path: root/src/subsidy_func.h
diff options
context:
space:
mode:
authorTyler Trahan <tyler@tylertrahan.com>2021-04-22 13:54:32 -0400
committerMichael Lutz <michi@icosahedron.de>2021-06-10 23:26:16 +0200
commitd09210e1c6a446ec5a97de4e171aa101d047765a (patch)
treed45a31e2b65f3399888e14524b805b15ef94a90f /src/subsidy_func.h
parentc2db408d5d947cd4f3df42754a598226818c519f (diff)
downloadopenttd-d09210e1c6a446ec5a97de4e171aa101d047765a.tar.xz
Feature: Configurable subsidy duration
Diffstat (limited to 'src/subsidy_func.h')
-rw-r--r--src/subsidy_func.h3
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();