src/strings_type.h
changeset 8321 96c331ee5ac3
parent 8114 dd6d21dc99c1
child 9648 c79160082c0f
equal deleted inserted replaced
8320:5a41b1329cdf 8321:96c331ee5ac3
    18 	char *file; ///< The name of the language as it appears on disk
    18 	char *file; ///< The name of the language as it appears on disk
    19 };
    19 };
    20 
    20 
    21 /** Used for dynamic language support */
    21 /** Used for dynamic language support */
    22 struct DynamicLanguages {
    22 struct DynamicLanguages {
    23 	int num;                         ///< Number of languages
    23 	int num;                  ///< Number of languages
    24 	int curr;                        ///< Currently selected language index
    24 	int curr;                 ///< Currently selected language index
    25 	char curr_file[MAX_PATH];        ///< Currently selected language file name without path (needed for saving the filename of the loaded language).
    25 	char curr_file[MAX_PATH]; ///< Currently selected language file name without path (needed for saving the filename of the loaded language).
    26 	StringID dropdown[MAX_LANG + 1]; ///< List of languages in the settings gui
    26 	Language ent[MAX_LANG];   ///< Information about the languages
    27 	Language ent[MAX_LANG];          ///< Information about the languages
       
    28 };
    27 };
    29 
    28 
    30 // special string constants
    29 // special string constants
    31 enum SpecialStrings {
    30 enum SpecialStrings {
    32 
    31