]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/hud/panel/scoreboard.qh
dbf54e4b2eed0bf05076695dae330f22c7156602
[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();
27 void Scoreboard_UI_Enable(int mode);
28
29 int scoreboard_ui_enabled;
30 bool autocvar__scoreboard_team_selection;
31 float HUD_Scoreboard_InputEvent(float bInputType, float nPrimary, float nSecondary);
32
33 int scoreboard_selected_panel;
34 float scoreboard_selected_panel_time;
35 entity scoreboard_selected_player;
36 entity scoreboard_selected_team;
37 int scoreboard_selected_columns_layout;
38
39 // start from 1
40 int SB_PANEL_FIRST = 1;
41 int SB_PANEL_SCOREBOARD = 1;
42 int SB_PANEL_RANKINGS = 2;
43 int SB_PANEL_MAX = 2;