Smallmap GUI functions. More...
Go to the source code of this file.
Functions | |
void | BuildIndustriesLegend () |
Fills an array for the industries legends. | |
void | BuildCargoTypesLegend () |
Fills the array for the route link legend. | |
void | ShowSmallMap () |
Show the smallmap window. | |
void | BuildLandLegend () |
(Re)build the colour tables for the legends. | |
void | BuildOwnerLegend () |
Completes the array for the owned property legend. |
Smallmap GUI functions.
Definition in file smallmap_gui.h.
void BuildCargoTypesLegend | ( | ) |
Fills the array for the route link legend.
Definition at line 227 of file smallmap_gui.cpp.
References _cargotype_to_list_pos, _smallmap_cargo_count, LegendAndColour::cid, LegendAndColour::col_break, LegendAndColour::colour, LegendAndColour::end, CargoSpec::Index(), LegendAndColour::legend, CargoSpec::name, and LegendAndColour::show_on_map.
Referenced by ReadLanguagePack().