]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/hud/panel/scoreboard.qh
Fix ESC key not closing team selection if automatically opened by the server, scorebo...
[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
7 bool scoreboard_showscores;
8
9 bool scoreboard_active;
10 float scoreboard_fade_alpha;
11 float scoreboard_acc_fade_alpha;
12 float scoreboard_itemstats_fade_alpha;
13
14 float scoreboard_top;
15 float scoreboard_bottom;
16 float scoreboard_left;
17 float scoreboard_right;
18
19 void Cmd_Scoreboard_SetFields(int argc);
20 void Scoreboard_Draw();
21 void Scoreboard_InitScores();
22 void Scoreboard_UpdatePlayerTeams();
23 void Scoreboard_UpdatePlayerPos(entity pl);
24 void Scoreboard_UpdateTeamPos(entity Team);
25 bool Scoreboard_WouldDraw();
26 void Scoreboard_UI_Enable(int mode);
27
28 int scoreboard_ui_enabled;
29 bool autocvar__scoreboard_team_selection;
30 float HUD_Scoreboard_InputEvent(float bInputType, float nPrimary, float nSecondary);
31
32 int scoreboard_selected_panel;
33 float scoreboard_selected_panel_time;
34 entity scoreboard_selected_player;
35 entity scoreboard_selected_team;
36 int scoreboard_selected_columns_layout;
37
38 // start from 1
39 int SB_PANEL_FIRST = 1;
40 int SB_PANEL_SCOREBOARD = 1;
41 int SB_PANEL_RANKINGS = 2;
42 int SB_PANEL_MAX = 2;