summaryrefslogtreecommitdiff
path: root/src/strings_type.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-01-17 00:21:43 +0000
committerglx <glx@openttd.org>2008-01-17 00:21:43 +0000
commit2ad9edda9165eff2d9f5b46e6d801ff32eed73eb (patch)
treec3a0444854aceb9850f7aaf640a626b7df68b815 /src/strings_type.h
parent20c2de3ace9f53ab96077a49953311fba5a0f1c4 (diff)
downloadopenttd-2ad9edda9165eff2d9f5b46e6d801ff32eed73eb.tar.xz
(svn r11886) -Add: sort the strings in languages dropdown
Diffstat (limited to 'src/strings_type.h')
-rw-r--r--src/strings_type.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/strings_type.h b/src/strings_type.h
index c5c90810a..376728821 100644
--- a/src/strings_type.h
+++ b/src/strings_type.h
@@ -20,11 +20,10 @@ struct Language {
/** Used for dynamic language support */
struct DynamicLanguages {
- int num; ///< Number of languages
- int curr; ///< Currently selected language index
- char curr_file[MAX_PATH]; ///< Currently selected language file name without path (needed for saving the filename of the loaded language).
- StringID dropdown[MAX_LANG + 1]; ///< List of languages in the settings gui
- Language ent[MAX_LANG]; ///< Information about the languages
+ int num; ///< Number of languages
+ int curr; ///< Currently selected language index
+ char curr_file[MAX_PATH]; ///< Currently selected language file name without path (needed for saving the filename of the loaded language).
+ Language ent[MAX_LANG]; ///< Information about the languages
};
// special string constants