|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "serverlist.qh"#include "checkbox.qh"#include "inputbox.qh"#include "mainwindow.qh"#include "dialog_multiplayer_join_serverinfo.qh"#include <common/mapinfo.qh>Go to the source code of this file.
Macros | |
| #define | IsFavorite(srv) |
| #define | IsPromoted(srv) |
| #define | IsRecommended(srv) |
| #define | SET_YRANGE(start, end) |
| #define | SLIST_CATEGORY(name, enoverride, dioverride, str) |
| #define | SLIST_FIELD(suffix, name) |
Variables | |
| int | autocvar_hud_panel_scoreboard_ping_high |
| int | autocvar_hud_panel_scoreboard_ping_low |
| int | autocvar_hud_panel_scoreboard_ping_medium |
| #define IsFavorite | ( | srv | ) |
Definition at line 9 of file serverlist.qc.
Referenced by ServerList_Update_favoriteButton().
| #define IsPromoted | ( | srv | ) |
Definition at line 10 of file serverlist.qc.
Referenced by CategoryForEntry().
| #define IsRecommended | ( | 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 ) |
Definition at line 117 of file serverlist.qc.
References argv(), autocvar_menu_slist_modimpurity, autocvar_menu_slist_recommendations, autocvar_menu_slist_recommendations_maxping, autocvar_menu_slist_recommendations_minfreeslots, autocvar_menu_slist_recommendations_minhumans, autocvar_menu_slist_recommendations_purethreshold, gethostcachenumber(), gethostcachestring(), IsPromoted, IsRecommended, LOG_TRACEF, stof(), strtolower(), substring(), and tokenizebyseparator.
Referenced by CategoryForEntry(), and m_gethostcachecategory().
Definition at line 101 of file serverlist.qc.
References autocvar_menu_slist_categories, entity(), error, and RetrieveCategoryEnt().
Referenced by m_gethostcachecategory().
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 63 of file serverlist.qc.
References categories, category_ent_count, entity(), error, and NULL.
Referenced by CategoryOverride(), and XonoticServerList_drawListBoxItem().
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 610 of file serverlist.qc.
References entity().
Referenced by XonoticServerList_resizeNotify().
Definition at line 606 of file serverlist.qc.
References entity().
Referenced by XonoticServerList_resizeNotify().
Definition at line 602 of file serverlist.qc.
References entity().
Referenced by XonoticServerList_resizeNotify().
Definition at line 614 of file serverlist.qc.
References entity().
Referenced by XonoticServerList_resizeNotify().
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 618 of file serverlist.qc.
References entity(), FOREACH, K_END, MapInfo_Type_ToString(), NULL, REGISTRY_GET, strcat(), strlen, strstrofs, and substring().
Referenced by XonoticServerList_resizeNotify().
Definition at line 258 of file serverlist.qc.
References entity(), IsFavorite, setZonedTooltip(), string_null, and ZCTX.
Referenced by CategoryForEntry(), XonoticServerList_draw(), and XonoticServerListTab_fill().
Definition at line 15 of file serverlist.qc.
References cat_name, categories, category_ent_count, LOG_INFOF, and strfree.
Referenced by RegisterSLCategories().
Definition at line 280 of file serverlist.qc.
References entity(), and SLIST_FIELDS.
Definition at line 792 of file serverlist.qc.
References entity(), NULL, ServerList_Connect_Click(), and vector.
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, entity(), error, floor(), gethostcachenumber(), gethostcachestring(), gethostcachevalue(), NULL, REFRESHSERVERLIST_REFILTER, REFRESHSERVERLIST_RESET, REFRESHSERVERLIST_RESORT, ServerList_Update_favoriteButton(), SLIST_HOSTCACHEVIEWCOUNT, strcpy, strlen, and SUPER.
| void XonoticServerList_drawListBoxItem | ( | entity | me, |
| int | i, | ||
| vector | absSize, | ||
| bool | isSelected, | ||
| bool | isFocused ) |
Definition at line 799 of file serverlist.qc.
References argv(), autocvar_hud_panel_scoreboard_ping_high, autocvar_hud_panel_scoreboard_ping_low, autocvar_hud_panel_scoreboard_ping_medium, category_draw_count, category_item, category_name, cvar(), draw_Fill(), draw_Picture(), draw_PreloadPicture(), draw_scale, draw_shift, draw_Text(), draw_TextShortenToWidth(), draw_TextWidth(), entity(), eX, eY, ftos(), getFadedAlpha(), gethostcachenumber(), gethostcachestring(), IS_DIGIT, modname, ping, PING_HIGH, PING_LOW, PING_MED, RetrieveCategoryEnt(), SERVERFLAG_PLAYERSTATS, SERVERFLAG_PLAYERSTATS_CUSTOM, SET_YRANGE, setZonedTooltip(), stof(), stoi, strcat(), string_null, strtolower(), substring(), tokenizebyseparator, vector, and ZCTX.
Definition at line 1095 of file serverlist.qc.
References clearTooltip(), and entity().
Definition at line 393 of file serverlist.qc.
References entity(), REFRESHSERVERLIST_ASK, SUPER, and time.
Definition at line 1167 of file serverlist.qc.
References category_draw_count, category_item, entity(), and floor().
Definition at line 1194 of file serverlist.qc.
References category_draw_count, category_item, and entity().
Definition at line 1181 of file serverlist.qc.
References category_draw_count, category_item, and entity().
Definition at line 1161 of file serverlist.qc.
References category_draw_count, and entity().
Definition at line 1121 of file serverlist.qc.
References boxToGlobal(), boxToGlobalSize(), DialogOpenButton_Click_withCoords(), entity(), eX, eY, K_ENTER, K_INS, K_KP_ENTER, K_KP_INS, K_MOUSE1, K_MOUSE2, K_MOUSE3, K_SPACE, m_play_click_sound(), main, MENU_SOUND_OPEN, NULL, org, S_CTRL, ServerList_Connect_Click(), SUPER, and vector.
Definition at line 1100 of file serverlist.qc.
References clearTooltip(), entity(), SUPER, and vector.
| void XonoticServerList_positionSortButton | ( | entity | me, |
| entity | btn, | ||
| float | theOrigin, | ||
| float | theSize, | ||
| string | theTitle, | ||
| void(entity, entity) | theFunc ) |
Definition at line 717 of file serverlist.qc.
References boxToGlobal(), boxToGlobalSize(), entity(), eX, eY, and vector.
Definition at line 312 of file serverlist.qc.
References _Nex_ExtResponseSystem_BannedServers, argv(), autocvar_menu_slist_maxping, cvar_string(), entity(), 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_NOTEQUAL, SLIST_TEST_NOTSTARTSWITH, SLIST_TEST_STARTSWITH, SLSF_CATEGORIES, SLSF_DESCENDING, strcat(), strlen, strstrofs, substring(), and tokenizebyseparator.
| void XonoticServerList_resizeNotify | ( | entity | me, |
| vector | relOrigin, | ||
| vector | relSize, | ||
| vector | absOrigin, | ||
| vector | absSize ) |
Definition at line 732 of file serverlist.qc.
References entity(), ServerList_MapSort_Click(), ServerList_NameSort_Click(), ServerList_PingSort_Click(), ServerList_PlayerSort_Click(), ServerList_TypeSort_Click(), SUPER, and vector.
Definition at line 292 of file serverlist.qc.
References entity(), gethostcachestring(), gethostcachevalue(), SLIST_HOSTCACHEVIEWCOUNT, strcpy, strlen, and SUPER.
Definition at line 702 of file serverlist.qc.
References entity(), REFRESHSERVERLIST_REFILTER, and strfree.
| int autocvar_hud_panel_scoreboard_ping_high |
Definition at line 798 of file serverlist.qc.
| int autocvar_hud_panel_scoreboard_ping_low |
Definition at line 796 of file serverlist.qc.
| int autocvar_hud_panel_scoreboard_ping_medium |
Definition at line 797 of file serverlist.qc.