diff options
author | rubidium <rubidium@openttd.org> | 2011-05-01 19:51:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-01 19:51:52 +0000 |
commit | 5a620d1c6592057b500f0889eef8949dc1e95e4b (patch) | |
tree | dabae6247490fdea860bea292bb8eee49ce46fe4 /src/smallmap_gui.cpp | |
parent | 1a515e6344028854c855671c19f49d8f869eb18f (diff) | |
download | openttd-5a620d1c6592057b500f0889eef8949dc1e95e4b.tar.xz |
(svn r22406) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 2fd86623d..9f1dd0cdd 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -292,6 +292,9 @@ static const SmallMapColourScheme _heightmap_schemes[] = { {_violet_map_heights, MKCOLOUR(0x82828282)}, ///< Violet colour scheme. }; +/** + * (Re)build the colour tables for the legends. + */ void BuildLandLegend() { for (LegendAndColour *lc = _legend_land_contours; lc->legend == STR_TINY_BLACK_HEIGHT; lc++) { @@ -1709,6 +1712,9 @@ static const WindowDesc _smallmap_desc( _nested_smallmap_widgets, lengthof(_nested_smallmap_widgets) ); +/** + * Show the smallmap window. + */ void ShowSmallMap() { AllocateWindowDescFront<SmallMapWindow>(&_smallmap_desc, 0); |