(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.
This commit is contained in:
belugas
2007-04-26 20:20:12 +00:00
parent 5577d5c86c
commit 5912b08890
3 changed files with 44 additions and 76 deletions

View File

@@ -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)
/**