|
Xonotic
|
#include "serverlist.qh"#include "checkbox.qh"#include "inputbox.qh"#include "mainwindow.qh"#include "dialog_multiplayer_join_serverinfo.qh"#include <common/mapinfo.qh>
Include dependency graph for serverlist.qc:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | IsFavorite(srv) IsServerInList(cvar_string("net_slist_favorites"), srv) |
| #define | IsPromoted(srv) IsServerInList(_Nex_ExtResponseSystem_PromotedServers, srv) |
| #define | IsRecommended(srv) IsServerInList(_Nex_ExtResponseSystem_RecommendedServers, srv) |
| #define | SET_YRANGE(start, end) |
| #define | SLIST_CATEGORY(name, enoverride, dioverride, str) |
| #define | SLIST_FIELD(suffix, name) SLIST_FIELD_##suffix = gethostcacheindexforkey(name); |
| #define IsFavorite | ( | srv | ) | IsServerInList(cvar_string("net_slist_favorites"), srv) |
Definition at line 9 of file serverlist.qc.
Referenced by ServerList_Update_favoriteButton().
| #define IsPromoted | ( | srv | ) | IsServerInList(_Nex_ExtResponseSystem_PromotedServers, srv) |
Definition at line 10 of file serverlist.qc.
Referenced by CategoryForEntry().
| #define IsRecommended | ( | srv | ) | IsServerInList(_Nex_ExtResponseSystem_RecommendedServers, srv) |
Definition at line 11 of file serverlist.qc.
Referenced by CategoryForEntry().
| #define SET_YRANGE | ( | start, | |
| end | |||
| ) |
Referenced by XonoticServerList_drawListBoxItem().
| #define SLIST_CATEGORY | ( | name, | |
| enoverride, | |||
| dioverride, | |||
| str | |||
| ) |
| #define SLIST_FIELD | ( | suffix, | |
| name | |||
| ) | SLIST_FIELD_##suffix = gethostcacheindexforkey(name); |
Definition at line 117 of file serverlist.qc.
References argv(), argv_end_index, argv_start_index, autocvar_menu_slist_modimpurity, autocvar_menu_slist_purethreshold, autocvar_menu_slist_recommendations, autocvar_menu_slist_recommendations_maxping, autocvar_menu_slist_recommendations_minfreeslots, autocvar_menu_slist_recommendations_minhumans, autocvar_menu_slist_recommendations_purethreshold, cvar_set(), cvar_string(), gethostcachenumber(), gethostcachestring(), IsPromoted, IsRecommended, LOG_TRACEF, METHOD, REFRESHSERVERLIST_RESORT, stof(), strcat(), strlen(), strstrofs, substring(), tokenize_console, tokenizebyseparator, and v.
Referenced by m_gethostcachecategory().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 101 of file serverlist.qc.
References autocvar_menu_slist_categories, entity(), error(), and RetrieveCategoryEnt().
Referenced by m_gethostcachecategory().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 76 of file serverlist.qc.
References argv(), strlen(), strstrofs, substring(), and tokenize_console.
Here is the call graph for this function:Definition at line 13 of file serverlist.qc.
References CategoryForEntry(), and CategoryOverride().
Here is the call graph for this function:| entity makeXonoticServerList | ( | ) |
Definition at line 272 of file serverlist.qc.
Referenced by XonoticServerListTab_fill().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 m_init().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 63 of file serverlist.qc.
References categories, category_ent_count, error(), and NULL.
Referenced by CategoryOverride(), and XonoticServerList_drawListBoxItem().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 667 of file serverlist.qc.
References autocvar_menu_slist_categories, and REFRESHSERVERLIST_RESORT.
Definition at line 767 of file serverlist.qc.
References localcmd.
Referenced by XonoticServerList_doubleClickListBoxItem(), and XonoticServerList_keyDown().
Here is the caller graph for this function:Definition at line 772 of file serverlist.qc.
References m_play_click_sound(), and MENU_SOUND_SELECT.
Here is the call graph for this function:Definition at line 656 of file serverlist.qc.
References REFRESHSERVERLIST_REFILTER, strfree, and strzone().
Here is the call graph for this function:Definition at line 781 of file serverlist.qc.
References boxToGlobal(), boxToGlobalSize(), DialogOpenButton_Click_withCoords(), eX, eY, main, and vector().
Here is the call graph for this function:Definition at line 611 of file serverlist.qc.
Definition at line 607 of file serverlist.qc.
Definition at line 603 of file serverlist.qc.
Definition at line 615 of file serverlist.qc.
Definition at line 619 of file serverlist.qc.
References FOREACH, K_END, MapInfo_Type_ToString(), NULL, REGISTRY_GET, strcat(), strlen(), strstrofs, and substring().
Here is the call graph for this function:Definition at line 257 of file serverlist.qc.
References entity(), IsFavorite, and ZCTX.
Referenced by XonoticServerList_draw().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 15 of file serverlist.qc.
References cat_name, categories, category_ent_count, LOG_INFOF, and strfree.
Referenced by RegisterSLCategories().
Here is the caller graph for this function:Definition at line 792 of file serverlist.qc.
References NULL, and ServerList_Connect_Click().
Here is the call graph for this function:Definition at line 405 of file serverlist.qc.
References _Nex_ExtResponseSystem_BannedServersNeedsRefresh, _Nex_ExtResponseSystem_PromotedServersNeedsRefresh, _Nex_ExtResponseSystem_RecommendedServersNeedsRefresh, autocvar_menu_slist_categories, autocvar_menu_slist_categories_onlyifmultiple, category_draw_count, category_ent_count, category_item, category_name, error(), floor(), gethostcachenumber(), gethostcachestring(), gethostcachevalue(), NULL, REFRESHSERVERLIST_REFILTER, REFRESHSERVERLIST_RESET, REFRESHSERVERLIST_RESORT, ServerList_Update_favoriteButton(), SLIST_HOSTCACHEVIEWCOUNT, strcpy, strlen(), and SUPER.
Here is the call graph for this function:| void XonoticServerList_drawListBoxItem | ( | entity | me, |
| int | i, | ||
| vector | absSize, | ||
| bool | isSelected, | ||
| bool | isFocused | ||
| ) |
Definition at line 796 of file serverlist.qc.
References argv(), category_draw_count, category_item, category_name, cvar(), draw_Fill(), draw_Picture(), draw_PictureSize(), draw_scale, draw_shift, draw_Text(), draw_TextWidth(), entity(), eX, eY, ftos(), getFadedAlpha(), gethostcachenumber(), gethostcachestring(), IS_DIGIT, modname, ping, RetrieveCategoryEnt(), SERVERFLAG_PLAYERSTATS, SERVERFLAG_PLAYERSTATS_CUSTOM, SET_YRANGE, stof(), stoi, strcat(), substring(), tokenizebyseparator, and vector().
Here is the call graph for this function:Definition at line 1090 of file serverlist.qc.
References clearTooltip().
Here is the call graph for this function:Definition at line 393 of file serverlist.qc.
References REFRESHSERVERLIST_ASK, SUPER, and time.
Definition at line 1156 of file serverlist.qc.
References category_draw_count, category_item, and floor().
Here is the call graph for this function:Definition at line 1183 of file serverlist.qc.
References category_draw_count, and category_item.
Definition at line 1170 of file serverlist.qc.
References category_draw_count, and category_item.
Definition at line 1150 of file serverlist.qc.
References category_draw_count.
Definition at line 1110 of file serverlist.qc.
References boxToGlobal(), boxToGlobalSize(), DialogOpenButton_Click_withCoords(), eX, eY, K_ENTER, K_INS, K_KP_ENTER, K_KP_INS, K_MOUSE2, K_MOUSE3, K_SPACE, m_play_click_sound(), main, MENU_SOUND_OPEN, NULL, ServerList_Connect_Click(), SUPER, and vector().
Here is the call graph for this function:Definition at line 1095 of file serverlist.qc.
References clearTooltip(), and SUPER.
Here is the call graph for this function:| void XonoticServerList_positionSortButton | ( | entity | me, |
| entity | btn, | ||
| float | theOrigin, | ||
| float | theSize, | ||
| string | theTitle, | ||
| void(entity, entity) | theFunc | ||
| ) |
Definition at line 718 of file serverlist.qc.
References boxToGlobal(), boxToGlobalSize(), eX, eY, and vector().
Here is the call graph for this function:Definition at line 311 of file serverlist.qc.
References _Nex_ExtResponseSystem_BannedServers, argv(), autocvar_menu_slist_maxping, cvar_string(), refreshhostcache(), REFRESHSERVERLIST_ASK, REFRESHSERVERLIST_REFILTER, REFRESHSERVERLIST_RESET, resethostcachemasks(), resolvemod(), resorthostcache(), sethostcachemasknumber(), sethostcachemaskstring(), sethostcachesort(), SLIST_MASK_AND, SLIST_MASK_OR, SLIST_TEST_CONTAINS, SLIST_TEST_EQUAL, SLIST_TEST_GREATEREQUAL, SLIST_TEST_LESSEQUAL, SLIST_TEST_NOTCONTAIN, SLIST_TEST_NOTEQUAL, SLIST_TEST_NOTSTARTSWITH, SLIST_TEST_STARTSWITH, SLSF_CATEGORIES, SLSF_DESCENDING, strcat(), strlen(), strstrofs, substring(), and tokenizebyseparator.
Here is the call graph for this function:| void XonoticServerList_resizeNotify | ( | entity | me, |
| vector | relOrigin, | ||
| vector | relSize, | ||
| vector | absOrigin, | ||
| vector | absSize | ||
| ) |
Definition at line 733 of file serverlist.qc.
References SUPER.
Definition at line 291 of file serverlist.qc.
References gethostcachestring(), gethostcachevalue(), SLIST_HOSTCACHEVIEWCOUNT, strcpy, strlen(), and SUPER.
Here is the call graph for this function:Definition at line 703 of file serverlist.qc.
References direction, REFRESHSERVERLIST_REFILTER, and strfree.