summaryrefslogtreecommitdiff
path: root/src/industry.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-04-26 20:20:12 +0000
committerbelugas <belugas@openttd.org>2007-04-26 20:20:12 +0000
commit5912b08890df4b5fd7cb9c532542da275fd9736d (patch)
tree743fdf6488d51e04c9d27425ebaed90edc003db2 /src/industry.h
parent5577d5c86cd5c7a7eeea0fe7f36128974c41870d (diff)
downloadopenttd-5912b08890df4b5fd7cb9c532542da275fd9736d.tar.xz
(svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). Dynamically build the legends (name and color) for industries in the smallmap_gui.
All the tiny fonts industry names should be removed from language files soon.
Diffstat (limited to 'src/industry.h')
-rw-r--r--src/industry.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/industry.h b/src/industry.h
index b0082d164..aa6321fbb 100644
--- a/src/industry.h
+++ b/src/industry.h
@@ -140,6 +140,9 @@ struct IndustryTileSpec {
const IndustrySpec *GetIndustrySpec(IndustryType thistype); ///< Array of industries default data
const IndustryTileSpec *GetIndustryTileSpec(IndustryGfx gfx); ///< Array of industry tiles default data
+/* smallmap_gui.cpp */
+void BuildIndustriesLegend();
+
DECLARE_OLD_POOL(Industry, Industry, 3, 8000)
/**