diff options
author | rubidium <rubidium@openttd.org> | 2010-11-13 12:09:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-11-13 12:09:30 +0000 |
commit | 8aba642ed5bbad969b56bf5b72834ad04599d296 (patch) | |
tree | a7cb920bfa051da93215e0292065bdd1a6c459a2 /src/strings_type.h | |
parent | 68b94e61e03e8ff26c6e84ed99f2a1154ed0e638 (diff) | |
download | openttd-8aba642ed5bbad969b56bf5b72834ad04599d296.tar.xz |
(svn r21164) -Codechange: replace the hardcoded array of language metadata with a list
Diffstat (limited to 'src/strings_type.h')
-rw-r--r-- | src/strings_type.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/strings_type.h b/src/strings_type.h index 326be62ec..1dea474f9 100644 --- a/src/strings_type.h +++ b/src/strings_type.h @@ -12,8 +12,6 @@ #ifndef STRINGS_TYPE_H #define STRINGS_TYPE_H -#include "language.h" - /** * Numeric value that represents a string, independent of the selected language. */ @@ -28,13 +26,6 @@ enum TextDirection { TD_RTL, ///< Text is written right-to-left by default }; -/** Used for dynamic language support */ -struct DynamicLanguages { - int num; ///< Number of languages - char curr_file[MAX_PATH]; ///< Currently selected language file name without path (needed for saving the filename of the loaded language). - LanguageMetadata ent[MAX_LANG]; ///< Information about the languages -}; - /** Special string constants */ enum SpecialStrings { |