|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "listbox.qh"Go to the source code of this file.
Classes | |
| class | XonoticServerList |
Macros | |
| #define | SLIST_CATEGORIES |
| #define | SLIST_CATEGORY(name, enoverride, dioverride, str) |
| #define | SLIST_CATEGORY_AUTOCVAR(name) |
| #define | SLIST_FIELD(suffix, name) |
| #define | SLIST_FIELDS |
Functions | |
| float | CategoryForEntry (float entry) |
| float | CategoryOverride (float cat) |
| float | IsServerInList (string list, string srv) |
| float | m_gethostcachecategory (float entry) |
| entity | makeXonoticServerList () |
| void | RegisterSLCategories () |
| entity | RetrieveCategoryEnt (float catnum) |
| void | ServerList_Categories_Click (entity box, entity me) |
| void | ServerList_Connect_Click (entity btn, entity me) |
| void | ServerList_Favorite_Click (entity btn, entity me) |
| void | ServerList_Filter_Change (entity box, entity me) |
| void | ServerList_Info_Click (entity btn, entity me) |
| void | ServerList_ShowEmpty_Click (entity box, entity me) |
| void | ServerList_ShowFull_Click (entity box, entity me) |
| void | ServerList_ShowLaggy_Click (entity box, entity me) |
| void | ServerList_Update_favoriteButton (entity btn, entity me) |
| #define SLIST_CATEGORIES |
Definition at line 150 of file serverlist.qh.
Referenced by RegisterSLCategories().
| #define SLIST_CATEGORY | ( | name, | |
| enoverride, | |||
| dioverride, | |||
| str ) |
Definition at line 162 of file serverlist.qh.
| #define SLIST_CATEGORY_AUTOCVAR | ( | name | ) |
Definition at line 161 of file serverlist.qh.
| #define SLIST_FIELD | ( | suffix, | |
| name ) |
Definition at line 105 of file serverlist.qh.
| #define SLIST_FIELDS |
Definition at line 87 of file serverlist.qh.
Referenced by XonoticServerList_configureXonoticServerList().
References CategoryForEntry(), entity(), ServerList_Categories_Click(), ServerList_Connect_Click(), ServerList_Favorite_Click(), ServerList_Filter_Change(), ServerList_Info_Click(), ServerList_ShowEmpty_Click(), ServerList_ShowFull_Click(), ServerList_ShowLaggy_Click(), and ServerList_Update_favoriteButton().
Definition at line 76 of file serverlist.qc.
References argv(), strlen, strstrofs, substring(), and tokenize_console.
| entity makeXonoticServerList | ( | ) |
Definition at line 273 of file serverlist.qc.
Referenced by XonoticServerList::getItemHeight(), and XonoticServerListTab_fill().
| void RegisterSLCategories | ( | ) |
Definition at line 44 of file serverlist.qc.
References cat_dioverride, cat_dioverride_string, cat_enoverride, cat_enoverride_string, entity(), SL_ProcessCategoryOverrides(), and SLIST_CATEGORIES.
Referenced by XonoticServerList::getItemHeight(), and m_init().
Definition at line 666 of file serverlist.qc.
References autocvar_menu_slist_categories, entity(), and REFRESHSERVERLIST_RESORT.
Referenced by CategoryForEntry(), and XonoticServerListTab_fill().
Definition at line 767 of file serverlist.qc.
References entity(), and localcmd().
Referenced by CategoryForEntry(), XonoticServerList_doubleClickListBoxItem(), XonoticServerList_keyDown(), and XonoticServerListTab_fill().
Definition at line 772 of file serverlist.qc.
References entity(), m_play_click_sound(), and MENU_SOUND_SELECT.
Referenced by CategoryForEntry(), and XonoticServerListTab_fill().
Definition at line 655 of file serverlist.qc.
References entity(), REFRESHSERVERLIST_REFILTER, strfree, and strzone().
Referenced by CategoryForEntry(), and XonoticServerListTab_fill().
Definition at line 781 of file serverlist.qc.
References boxToGlobal(), boxToGlobalSize(), DialogOpenButton_Click_withCoords(), entity(), eX, eY, main, org, and vector.
Referenced by CategoryForEntry(), and XonoticServerListTab_fill().
Definition at line 675 of file serverlist.qc.
References entity(), and REFRESHSERVERLIST_REFILTER.
Referenced by CategoryForEntry(), and XonoticServerListTab_fill().
Definition at line 684 of file serverlist.qc.
References entity(), and REFRESHSERVERLIST_REFILTER.
Referenced by CategoryForEntry(), and XonoticServerListTab_fill().
Definition at line 693 of file serverlist.qc.
References entity(), and REFRESHSERVERLIST_REFILTER.
Referenced by CategoryForEntry(), and XonoticServerListTab_fill().
Definition at line 258 of file serverlist.qc.
References entity(), IsFavorite, setZonedTooltip(), string_null, and ZCTX.
Referenced by CategoryForEntry(), XonoticServerList_draw(), and XonoticServerListTab_fill().
| SLIST_FIELDS float autocvar_menu_slist_categories |
Definition at line 109 of file serverlist.qh.
Referenced by CategoryOverride(), ServerList_Categories_Click(), and XonoticServerList_draw().
| float autocvar_menu_slist_categories_onlyifmultiple |
Definition at line 110 of file serverlist.qh.
Referenced by XonoticServerList_draw().
| float autocvar_menu_slist_maxping = 300 |
Definition at line 112 of file serverlist.qh.
Referenced by XonoticServerList_refreshServerList().
| float autocvar_menu_slist_modimpurity |
Definition at line 111 of file serverlist.qh.
Referenced by CategoryForEntry().
| float autocvar_menu_slist_recommendations |
Definition at line 113 of file serverlist.qh.
Referenced by CategoryForEntry().
| float autocvar_menu_slist_recommendations_maxping |
Definition at line 114 of file serverlist.qh.
Referenced by CategoryForEntry().
| float autocvar_menu_slist_recommendations_minfreeslots |
Definition at line 115 of file serverlist.qh.
Referenced by CategoryForEntry().
| float autocvar_menu_slist_recommendations_minhumans |
Definition at line 116 of file serverlist.qh.
Referenced by CategoryForEntry().
| float autocvar_menu_slist_recommendations_purethreshold |
Definition at line 117 of file serverlist.qh.
Referenced by CategoryForEntry().
| float cat_dioverride |
Definition at line 143 of file serverlist.qh.
Referenced by RegisterSLCategories().
| string cat_dioverride_string |
Definition at line 141 of file serverlist.qh.
Referenced by RegisterSLCategories().
| float cat_enoverride |
Definition at line 142 of file serverlist.qh.
Referenced by RegisterSLCategories().
| string cat_enoverride_string |
Definition at line 140 of file serverlist.qh.
Referenced by RegisterSLCategories().
| string cat_name |
Definition at line 138 of file serverlist.qh.
Referenced by SL_ProcessCategoryOverrides().
| string cat_string |
Definition at line 139 of file serverlist.qh.
| entity categories[MAX_CATEGORIES] |
Definition at line 136 of file serverlist.qh.
Referenced by RetrieveCategoryEnt(), and SL_ProcessCategoryOverrides().
| int category_draw_count |
Definition at line 148 of file serverlist.qh.
Referenced by XonoticServerList_draw(), XonoticServerList_drawListBoxItem(), XonoticServerList_getItemAtPos(), XonoticServerList_getItemHeight(), XonoticServerList_getItemStart(), and XonoticServerList_getTotalHeight().
| int category_ent_count |
Definition at line 137 of file serverlist.qh.
Referenced by RetrieveCategoryEnt(), SL_ProcessCategoryOverrides(), and XonoticServerList_draw().
| const int CATEGORY_FIRST = 1 |
Definition at line 135 of file serverlist.qh.
| int category_item[MAX_CATEGORIES] |
Definition at line 147 of file serverlist.qh.
Referenced by XonoticServerList_draw(), XonoticServerList_drawListBoxItem(), XonoticServerList_getItemAtPos(), XonoticServerList_getItemHeight(), and XonoticServerList_getItemStart().
| int category_name[MAX_CATEGORIES] |
Definition at line 146 of file serverlist.qh.
Referenced by XonoticServerList_draw(), and XonoticServerList_drawListBoxItem().
| const int MAX_CATEGORIES = 9 |
Definition at line 134 of file serverlist.qh.
| const float REFRESHSERVERLIST_ASK = 2 |
Definition at line 121 of file serverlist.qh.
Referenced by XonoticServerList_focusEnter(), XonoticServerList_refreshServerList(), and XonoticServerListTab_refresh().
| const float REFRESHSERVERLIST_REFILTER = 1 |
Definition at line 120 of file serverlist.qh.
Referenced by ServerList_Filter_Change(), ServerList_ShowEmpty_Click(), ServerList_ShowFull_Click(), ServerList_ShowLaggy_Click(), XonoticServerList_draw(), XonoticServerList_refreshServerList(), and XonoticServerList_setSortOrder().
| const float REFRESHSERVERLIST_RESET = 3 |
Definition at line 122 of file serverlist.qh.
Referenced by XonoticServerList_draw(), and XonoticServerList_refreshServerList().
| const float REFRESHSERVERLIST_RESORT = 0 |
Definition at line 119 of file serverlist.qh.
Referenced by ServerList_Categories_Click(), XonoticServerList::toggleFavorite(), and XonoticServerList_draw().