summaryrefslogtreecommitdiff
path: root/src/fios_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-05-27 21:20:07 +0000
committeralberth <alberth@openttd.org>2011-05-27 21:20:07 +0000
commitf5637b797540120201d98a23f7bb607550fda21b (patch)
tree12ec584b81b72d682d803a8cdaa9971b4ae55b09 /src/fios_gui.cpp
parentffdfa5a213719a1167ae4a9953a1026ba02848e1 (diff)
downloadopenttd-f5637b797540120201d98a23f7bb607550fda21b.tar.xz
(svn r22500) -Doc: Fix and add fios doxygen documentation.
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r--src/fios_gui.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp
index 8d1fb1b80..84d41755c 100644
--- a/src/fios_gui.cpp
+++ b/src/fios_gui.cpp
@@ -191,7 +191,7 @@ static const NWidgetPart _nested_save_dialog_widgets[] = {
EndContainer(),
};
-/* Colours for fios types */
+/** Colours for fios types, indexed by #FiosType. */
const TextColour _fios_colours[] = {
TC_LIGHT_BLUE, TC_DARK_GREEN, TC_DARK_GREEN, TC_ORANGE, TC_LIGHT_BROWN,
TC_ORANGE, TC_LIGHT_BROWN, TC_ORANGE, TC_ORANGE, TC_YELLOW
@@ -733,6 +733,10 @@ static const FileType _file_modetotype[] = {
FT_HEIGHTMAP, ///< used for SLD_LOAD_HEIGHTMAP
};
+/**
+ * Launch save/load dialog in the given mode.
+ * @param mode Save/load mode.
+ */
void ShowSaveLoadDialog(SaveLoadDialogMode mode)
{
DeleteWindowById(WC_SAVELOAD, 0);