cl_language.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void CL_ParseLanguages (const char *name, const char **text)
 Parse all language definitions from the script files.
void CL_LanguageInit (void)
 Fills the options language menu node with the parsed language mappings.
qboolean CL_LanguageTryToSet (const char *localeID)
 Cycle through all parsed locale mappings and try to set one after another.

Detailed Description

Definition in file cl_language.h.


Function Documentation

void CL_LanguageInit ( void   ) 
qboolean CL_LanguageTryToSet ( const char *  localeID  ) 

Cycle through all parsed locale mappings and try to set one after another.

Parameters:
[in] localeID the locale id parsed from scriptfiles (e.g. en or de [the short id])
See also:
CL_LocaleSet

Definition at line 281 of file cl_language.c.

References CL_NewLanguage(), Com_DPrintf(), Com_Printf(), Cvar_Set(), DEBUG_CLIENT, i, languageCount, language_s::localeID, localeMapping_s::localeMapping, language_s::localeMapping, cvar_s::modified, localeMapping_s::next, language_s::next, qfalse, qtrue, s_language, and Sys_SetLocale().

Referenced by CL_LanguageInit(), and CL_SlowFrame().

void CL_ParseLanguages ( const char *  name,
const char **  text 
)

Generated by  doxygen 1.6.2