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/settingsgen | |
parent | 1a515e6344028854c855671c19f49d8f869eb18f (diff) | |
download | openttd-5a620d1c6592057b500f0889eef8949dc1e95e4b.tar.xz |
(svn r22406) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/settingsgen')
-rw-r--r-- | src/settingsgen/settingsgen.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/settingsgen/settingsgen.cpp b/src/settingsgen/settingsgen.cpp index faedc3df0..ad602e360 100644 --- a/src/settingsgen/settingsgen.cpp +++ b/src/settingsgen/settingsgen.cpp @@ -156,13 +156,18 @@ private: return num_blocks > 0 && this->output_buffer[num_blocks - 1].HasRoom(); } - typedef SmallVector<OutputBuffer, 2> OutputBufferVector; + typedef SmallVector<OutputBuffer, 2> OutputBufferVector; ///< Vector type for output buffers. OutputBufferVector output_buffer; ///< Vector of blocks containing the stored output. }; /** Derived class for loading INI files without going through Fio stuff. */ struct SettingsIniFile : IniLoadFile { + /** + * Construct a new ini loader. + * @param list_group_names A \c NULL terminated list with group names that should be loaded as lists instead of variables. @see IGT_LIST + * @param seq_group_names A \c NULL terminated list with group names that should be loaded as lists of names. @see IGT_SEQUENCE + */ SettingsIniFile(const char * const *list_group_names = NULL, const char * const *seq_group_names = NULL) : IniLoadFile(list_group_names, seq_group_names) { |