LegendAndColour Struct Reference

Structure for holding relevant data for legends in small map. More...

Data Fields

uint8 colour
 Colour of the item on the map.
StringID legend
 String corresponding to the coloured item.
IndustryType type
 Type of industry. Only valid for industry entries.
uint8 height
 Height in tiles. Only valid for height legend entries.
CompanyID company
 Company to display. Only valid for company entries of the owner legend.
CargoID cid
 Cargo type to display. Only valid for entries of the cargo legend.
bool show_on_map
 For filtering industries, if true, industry is shown on the map in colour.
bool end
 This is the end of the list.
bool col_break
 Perform a column break and go further at the next column.

Detailed Description

Structure for holding relevant data for legends in small map.

Definition at line 94 of file smallmap_gui.cpp.


The documentation for this struct was generated from the following file:

Generated on Sun May 8 07:31:13 2011 for OpenTTD by  doxygen 1.6.1