(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:
@@ -38,6 +38,7 @@
|
||||
#include "helpers.hpp"
|
||||
#include "table/town_land.h"
|
||||
#include "cargotype.h"
|
||||
#include "industry.h"
|
||||
|
||||
/* TTDPatch extended GRF format codec
|
||||
* (c) Petr Baudis 2004 (GPL'd)
|
||||
@@ -4769,6 +4770,9 @@ static void AfterLoadGRFs()
|
||||
/* Add all new houses to the house array. */
|
||||
FinaliseHouseArray();
|
||||
|
||||
/* Create dynamic list of industry legends for smallmap_gui.cpp */
|
||||
BuildIndustriesLegend();
|
||||
|
||||
/* Map cargo strings. This is a separate step because cargos are
|
||||
* loaded before strings... */
|
||||
MapNewCargoStrings();
|
||||
|
Reference in New Issue
Block a user