src/variables.h
changeset 6670 86c087999542
parent 6646 0e3b3d315288
child 6719 4cc327ad39d5
child 6919 339210ecccd3
equal deleted inserted replaced
6669:487ac09b95c4 6670:86c087999542
   323 
   323 
   324 /** Used for dynamic language support */
   324 /** Used for dynamic language support */
   325 struct DynamicLanguages {
   325 struct DynamicLanguages {
   326 	int num;                         ///< Number of languages
   326 	int num;                         ///< Number of languages
   327 	int curr;                        ///< Currently selected language index
   327 	int curr;                        ///< Currently selected language index
   328 	char curr_file[MAX_PATH];        ///< Currently selected language file (needed for saving the filename of the loaded language
   328 	char curr_file[MAX_PATH];        ///< Currently selected language file name without path (needed for saving the filename of the loaded language).
   329 	StringID dropdown[MAX_LANG + 1]; ///< List of languages in the settings gui
   329 	StringID dropdown[MAX_LANG + 1]; ///< List of languages in the settings gui
   330 	Language ent[MAX_LANG];          ///< Information about the languages
   330 	Language ent[MAX_LANG];          ///< Information about the languages
   331 };
   331 };
   332 
   332 
   333 extern DynamicLanguages _dynlang; // defined in strings.cpp
   333 extern DynamicLanguages _dynlang; // defined in strings.cpp