]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/hud/panel/scoreboard.qh
Remove override of engine +showscores command
[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 sb_showscores; // set by +showscores engine command
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 int numplayers;
21
22 void Cmd_Scoreboard_SetFields(int argc);
23 void Scoreboard_Draw();
24 void Scoreboard_InitScores();
25 void Scoreboard_UpdatePlayerTeams();
26 void Scoreboard_UpdatePlayerPos(entity pl);
27 void Scoreboard_UpdateTeamPos(entity Team);
28 bool Scoreboard_WouldDraw();
29 void Scoreboard_UI_Enable(int mode);
30
31 int scoreboard_ui_enabled;
32 bool autocvar__scoreboard_team_selection;
33 float HUD_Scoreboard_InputEvent(float bInputType, float nPrimary, float nSecondary);
34
35 int scoreboard_selected_panel;
36 float scoreboard_selected_panel_time;
37 entity scoreboard_selected_player;
38 entity scoreboard_selected_team;
39 int scoreboard_selected_columns_layout;
40
41 // start from 1
42 int SB_PANEL_FIRST = 1;
43 int SB_PANEL_SCOREBOARD = 1;
44 int SB_PANEL_RANKINGS = 2;
45 int SB_PANEL_MAX = 2;