summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-09-15 17:18:22 +0000
committerbelugas <belugas@openttd.org>2008-09-15 17:18:22 +0000
commit0682dc3a0d97ecee26d807476071d5f552f86212 (patch)
treebbcf66eb7b0fe5be0cf11258b7cfa2654517ac4b /src/industry.h
parent606f4defdca281a3f918c9525dbd4d525ad11131 (diff)
downloadopenttd-0682dc3a0d97ecee26d807476071d5f552f86212.tar.xz
(svn r14332) -Fix[FS#1885]: Balance the monthly random industry changes, by introducing a daily random industry change.
This will allow to perform more changes per month on big maps and less on smaller maps, while not overtaxing the IndustryMonthlyLoop process. Thanks to frosch, for nice code ideas and rewrites
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index 59a1b932c..f89cf0477 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -260,6 +260,8 @@ static inline IndustryGfx GetTranslatedIndustryTileID(IndustryGfx gfx)
/* smallmap_gui.cpp */
void BuildIndustriesLegend();
+/* industry_cmd.cpp */
+void SetIndustryDailyChanges();
/**
* Check if an Industry exists whithin the pool of industries