|
Xonotic
|
Include dependency graph for languagelist.qc:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| entity | makeXonoticLanguageList () |
| void | SetLanguage_Click (entity btn, entity me) |
| void | XonoticLanguageList_configureXonoticLanguageList (entity me) |
| void | XonoticLanguageList_destroy (entity me) |
| void | XonoticLanguageList_doubleClickListBoxItem (entity me, float i, vector where) |
| void | XonoticLanguageList_drawListBoxItem (entity me, int i, vector absSize, bool isSelected, bool isFocused) |
| void | XonoticLanguageList_getLanguages (entity me) |
| float | XonoticLanguageList_keyDown (entity me, float scan, float ascii, float shift) |
| string | XonoticLanguageList_languageParameter (entity me, float i, float key) |
| void | XonoticLanguageList_loadCvars (entity me) |
| void | XonoticLanguageList_resizeNotify (entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize) |
| void | XonoticLanguageList_saveCvars (entity me) |
| void | XonoticLanguageList_setLanguage (entity me) |
| void | XonoticLanguageList_setSelected (entity me, float i) |
Variables | |
| const float | LANGPARM_COUNT = 4 |
| const float | LANGPARM_ID = 0 |
| const float | LANGPARM_NAME = 1 |
| const float | LANGPARM_NAME_LOCALIZED = 2 |
| const float | LANGPARM_PERCENTAGE = 3 |
| entity makeXonoticLanguageList | ( | ) |
Definition at line 12 of file languagelist.qc.
Here is the call graph for this function:Definition at line 196 of file languagelist.qc.
Definition at line 20 of file languagelist.qc.
Definition at line 147 of file languagelist.qc.
Definition at line 129 of file languagelist.qc.
References m_play_click_sound(), and MENU_SOUND_EXECUTE.
Here is the call graph for this function:| void XonoticLanguageList_drawListBoxItem | ( | entity | me, |
| int | i, | ||
| vector | absSize, | ||
| bool | isSelected, | ||
| bool | isFocused | ||
| ) |
Definition at line 27 of file languagelist.qc.
References draw_CondensedFontFactor(), draw_Fill(), draw_fontscale, draw_Text(), draw_TextWidth(), eX, eY, getFadedAlpha(), LANGPARM_NAME_LOCALIZED, LANGPARM_PERCENTAGE, stof(), and vector().
Here is the call graph for this function:Definition at line 152 of file languagelist.qc.
References argv(), buf_create, fclose(), fgets(), FILE_READ, fopen(), LANGPARM_COUNT, LANGPARM_ID, LANGPARM_NAME, LANGPARM_NAME_LOCALIZED, LANGPARM_PERCENTAGE, and tokenize_console.
Here is the call graph for this function:Definition at line 135 of file languagelist.qc.
References K_ENTER, K_KP_ENTER, m_play_click_sound(), MENU_SOUND_EXECUTE, and SUPER.
Here is the call graph for this function:Definition at line 93 of file languagelist.qc.
References cvar_string(), LANGPARM_ID, and SUPER.
Here is the call graph for this function:| void XonoticLanguageList_resizeNotify | ( | entity | me, |
| vector | relOrigin, | ||
| vector | relSize, | ||
| vector | absOrigin, | ||
| vector | absSize | ||
| ) |
Definition at line 124 of file languagelist.qc.
References cvar_set(), and LANGPARM_ID.
Here is the call graph for this function:Definition at line 180 of file languagelist.qc.
References cvar_string(), DialogOpenButton_Click(), GAME_CONNECTED, gamestatus, localcmd, main, and prvm_language.
Here is the call graph for this function:| const float LANGPARM_COUNT = 4 |
Definition at line 10 of file languagelist.qc.
Referenced by XonoticLanguageList_getLanguages(), and XonoticLanguageList_languageParameter().
| const float LANGPARM_ID = 0 |
Definition at line 6 of file languagelist.qc.
Referenced by XonoticLanguageList_getLanguages(), XonoticLanguageList_loadCvars(), and XonoticLanguageList_saveCvars().
| const float LANGPARM_NAME = 1 |
Definition at line 7 of file languagelist.qc.
Referenced by XonoticLanguageList_getLanguages().
| const float LANGPARM_NAME_LOCALIZED = 2 |
Definition at line 8 of file languagelist.qc.
Referenced by XonoticLanguageList_drawListBoxItem(), and XonoticLanguageList_getLanguages().
| const float LANGPARM_PERCENTAGE = 3 |
Definition at line 9 of file languagelist.qc.
Referenced by XonoticLanguageList_drawListBoxItem(), and XonoticLanguageList_getLanguages().