Cut off long names in the duel centerprint title (same scoreboard limit)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / panel / scoreboard.qh
1 #pragma once
2 #include "../panel.qh"
3
4 bool autocvar_cl_deathscoreboard;
5 string autocvar_scoreboard_columns;
6 float autocvar_hud_panel_scoreboard_namesize = 15;
7
8 bool scoreboard_showscores;
9
10 bool scoreboard_active;
11 float scoreboard_fade_alpha;
12 float scoreboard_acc_fade_alpha;
13 float scoreboard_itemstats_fade_alpha;
14
15 float scoreboard_top;
16 float scoreboard_bottom;
17 float scoreboard_left;
18 float scoreboard_right;
19
20 void Cmd_Scoreboard_SetFields(int argc);
21 void Scoreboard_Draw();
22 void Scoreboard_InitScores();
23 void Scoreboard_UpdatePlayerTeams();
24 void Scoreboard_UpdatePlayerPos(entity pl);
25 void Scoreboard_UpdateTeamPos(entity Team);
26 bool Scoreboard_WouldDraw();