Xonotic
|
#include "../panel.qh"
Go to the source code of this file.
Functions | |
void | Cmd_Scoreboard_SetFields (int argc) |
void | Scoreboard_Draw () |
void | Scoreboard_InitScores () |
void | Scoreboard_UpdatePlayerPos (entity pl) |
void | Scoreboard_UpdatePlayerTeams () |
void | Scoreboard_UpdateTeamPos (entity Team) |
bool | Scoreboard_WouldDraw () |
Definition at line 412 of file scoreboard.qc.
References argv(), autocvar_scoreboard_columns, cvar_set(), FOREACH, gametype, hud_fontsize, HUD_GetFontsize(), isGametypeInFilter(), LABEL, LOG_INFO, LOG_INFOF, MAX_SBT_FIELDS, ps_primary, ps_secondary, sbt_field, sbt_field_size, sbt_field_title, sbt_num_fields, SCOREBOARD_DEFAULT_COLUMNS, scores_flags, scores_label, SFL_ALLOW_HIDE, strcat(), strcpy, strfree, stringwidth, strlen(), strstrofs, strzone(), substring(), TC, teamplay, tokenizebyseparator, and TranslateScoresLabel().
Referenced by Scoreboard_InitScores().
void Scoreboard_Draw | ( | ) |
Definition at line 1774 of file scoreboard.qc.
References autocvar__hud_configure, autocvar_con_notify, autocvar_con_notifysize, autocvar_hud_fontsize, autocvar_hud_panel_scoreboard_dynamichud, autocvar_hud_panel_scoreboard_fadeinspeed, autocvar_hud_panel_scoreboard_fadeoutspeed, autocvar_hud_panel_scoreboard_minwidth, autocvar_hud_panel_scoreboard_namesize, autocvar_hud_panel_scoreboard_table_bg_alpha, autocvar_hud_panel_scoreboard_table_fg_alpha, autocvar_hud_panel_scoreboard_table_fg_alpha_self, autocvar_hud_panel_scoreboard_table_highlight, autocvar_hud_panel_scoreboard_table_highlight_alpha, autocvar_hud_panel_scoreboard_table_highlight_alpha_eliminated, autocvar_hud_panel_scoreboard_table_highlight_alpha_self, bound(), draw_beginBoldFont, draw_endBoldFont, drawcolorcodedstring(), DRAWFLAG_NORMAL, entity(), frametime, gametype, hud_configure_menu_open, hud_draw_maximized, hud_fontsize, hud_fontsize_str, HUD_GetFontsize(), HUD_Panel_LoadCvars(), HUD_Scale_Disable(), HUD_Scale_Enable(), MapInfo_Type_ToText(), max(), max_namesize, min(), panel_fade_alpha, panel_fg_alpha, panel_pos, panel_size, sbt_bg_alpha, sbt_fg_alpha, sbt_fg_alpha_self, sbt_highlight, sbt_highlight_alpha, sbt_highlight_alpha_eliminated, sbt_highlight_alpha_self, scoreboard_acc_fade_alpha, scoreboard_active, scoreboard_fade_alpha, Scoreboard_initFieldSizes(), scoreboard_itemstats_fade_alpha, scoreboard_left, scoreboard_right, scoreboard_time, scoreboard_top, Scoreboard_UpdatePlayerTeams(), strcat(), strcpy, stringwidth, time, vector(), and vid_conwidth.
void Scoreboard_InitScores | ( | ) |
Definition at line 172 of file scoreboard.qc.
References Cmd_Scoreboard_SetFields(), FOREACH, MAX_TEAMSCORE, NULL, ps_primary, ps_secondary, sb_extra_sorting_field, scores_flags, scores_label, SFL_SORT_PRIO_MASK, SFL_SORT_PRIO_PRIMARY, SFL_SORT_PRIO_SECONDARY, teamscores_flags, ts_primary, and ts_secondary.
Referenced by NET_HANDLE().
Definition at line 298 of file scoreboard.qc.
References entity(), players, Scoreboard_ComparePlayerScores(), and SORT_SWAP.
Referenced by NET_HANDLE(), Playerchecker_Think(), and Scoreboard_UpdatePlayerTeams().
void Scoreboard_UpdatePlayerTeams | ( | ) |
Definition at line 210 of file scoreboard.qc.
References entity(), players, Scoreboard_UpdatePlayerPos(), and SetTeam().
Referenced by Scoreboard_Draw().
Definition at line 344 of file scoreboard.qc.
References entity(), Scoreboard_CompareTeamScores(), SORT_SWAP, and teams.
Referenced by NET_HANDLE().
bool Scoreboard_WouldDraw | ( | ) |
Definition at line 1187 of file scoreboard.qc.
References active_minigame, autocvar_cl_deathscoreboard, HUD_MinigameMenu_IsOpened(), HUD_Radar_Clickable(), intermission, MUTATOR_CALLHOOK, QuickMenu_IsOpened(), scoreboard_showscores, scoreboard_showscores_force, and spectatee_status.
Referenced by CSQC_UpdateView().
bool autocvar_cl_deathscoreboard |
Definition at line 4 of file scoreboard.qh.
Referenced by Scoreboard_WouldDraw().
string autocvar_scoreboard_columns |
Definition at line 5 of file scoreboard.qh.
Referenced by Cmd_Scoreboard_SetFields().
float scoreboard_acc_fade_alpha |
Definition at line 11 of file scoreboard.qh.
Referenced by Scoreboard_AccuracyStats_Draw(), and Scoreboard_Draw().
bool scoreboard_active |
Definition at line 9 of file scoreboard.qh.
Referenced by AuxiliaryXhair_Draw2D(), CSQC_UpdateView(), HUD_Configure_Frame(), HUD_Crosshair(), and Scoreboard_Draw().
float scoreboard_bottom |
Definition at line 15 of file scoreboard.qh.
Referenced by HUD_Notify().
float scoreboard_fade_alpha |
Definition at line 10 of file scoreboard.qh.
Referenced by HUD_Main(), HUD_Notify(), HUD_Panel_Draw(), Scoreboard_AccuracyStats_Draw(), Scoreboard_Draw(), and Scoreboard_ItemStats_Draw().
float scoreboard_itemstats_fade_alpha |
Definition at line 12 of file scoreboard.qh.
Referenced by Scoreboard_Draw(), and Scoreboard_ItemStats_Draw().
float scoreboard_left |
Definition at line 16 of file scoreboard.qh.
Referenced by HUD_Notify(), and Scoreboard_Draw().
float scoreboard_right |
Definition at line 17 of file scoreboard.qh.
Referenced by HUD_Notify(), and Scoreboard_Draw().
bool scoreboard_showscores |
Definition at line 7 of file scoreboard.qh.
Referenced by Scoreboard_WouldDraw().
float scoreboard_top |
Definition at line 14 of file scoreboard.qh.
Referenced by HUD_Notify(), and Scoreboard_Draw().