summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index c65c65b48..16b3dc8f4 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -151,6 +151,8 @@ struct IndustryTypeBuildData {
uint16 max_wait; ///< Starting number of turns to wait (copied to #wait_count).
uint16 wait_count; ///< Number of turns to wait before trying to build again.
+ void Reset();
+
void GetIndustryTypeData(IndustryType it);
};
@@ -161,6 +163,8 @@ struct IndustryBuildData {
IndustryTypeBuildData builddata[NUM_INDUSTRYTYPES]; ///< Industry build data for every industry type.
uint32 wanted_inds; ///< Number of wanted industries (bits 31-16), and a fraction (bits 15-0).
+ void Reset();
+
void SetupTargetCount();
void TryBuildNewIndustry();
};