Codechange: Make some variables and constants documentation comments recognised by doxygen.

This commit is contained in:
Cyprian Klimaszewski
2026-02-21 15:05:13 +01:00
committed by rubidium42
parent 7a6b7fb1f0
commit 21bee91fa7
71 changed files with 263 additions and 204 deletions
+3 -3
View File
@@ -1322,14 +1322,14 @@ protected:
/* Runtime saved values */
static Listing last_sorting;
/* Constants for sorting industries */
/** Strings describing how industries are sorted. */
static inline const StringID sorter_names[] = {
STR_SORT_BY_NAME,
STR_SORT_BY_TYPE,
STR_SORT_BY_PRODUCTION,
STR_SORT_BY_TRANSPORTED,
};
static const std::initializer_list<GUIIndustryList::SortFunction * const> sorter_funcs;
static const std::initializer_list<GUIIndustryList::SortFunction * const> sorter_funcs; ///< Functions to sort industries.
GUIIndustryList industries{IndustryDirectoryWindow::produced_cargo_filter};
Scrollbar *vscroll{};
@@ -2008,7 +2008,7 @@ struct CargoesField {
bool left_align; ///< Align all cargo texts to the left (else align to the right).
} cargo_label; ///< Label data (for #CFT_CARGO_LABEL).
StringID header; ///< Header text (for #CFT_HEADER).
} u{}; // Data for each type.
} u{}; ///< Data for each type.
/**
* Make one of the empty fields (#CFT_EMPTY or #CFT_SMALL_EMPTY).