]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Scoreboard: provide basic panel cvars to old clients
authorterencehill <piuntn@gmail.com>
Sun, 14 Aug 2016 09:30:33 +0000 (11:30 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 14 Aug 2016 09:30:33 +0000 (11:30 +0200)
defaultXonotic.cfg
qcsrc/client/hud/panel/scoreboard.qc

index 054810c39d30ccfc8bdb6cf4400918c63a9924d5..e4d970c241f7fea94ae5c53343774f709b4d51fe 100644 (file)
@@ -835,7 +835,7 @@ seta scoreboard_columns default
 
 // keep old scoreboard cvars for compatibility's sake
 // they've been replaced by hud_panel_scoreboard_* cvars
-// TODO removed them after a future release (0.8.2+)
+// TODO remove them after a future release (0.8.2+)
 seta scoreboard_border_thickness 1 "scoreboard border thickness"
 seta scoreboard_accuracy_border_thickness 1 "accuracy stats border thickness"
 seta scoreboard_accuracy_doublerows 0 "use two rows instead of one"
index ca0bd063368cbcbd4ddfd86b0393a296d1eccda6..e725878a378ecae78b8db514987d66292b50a4ee 100644 (file)
@@ -15,6 +15,17 @@ bool sbt_highlight;
 float sbt_highlight_alpha;
 float sbt_highlight_alpha_self;
 
+// provide basic panel cvars to old clients
+// TODO remove them after a future release (0.8.2+)
+string autocvar_hud_panel_scoreboard_pos = "0.150000 0.150000";
+string autocvar_hud_panel_scoreboard_size = "0.700000 0.700000";
+string autocvar_hud_panel_scoreboard_bg = "border_default";
+string autocvar_hud_panel_scoreboard_bg_color = "0 0.3 0.5";
+string autocvar_hud_panel_scoreboard_bg_color_team = "";
+string autocvar_hud_panel_scoreboard_bg_alpha = "0.7";
+string autocvar_hud_panel_scoreboard_bg_border = "";
+string autocvar_hud_panel_scoreboard_bg_padding = "";
+
 float autocvar_hud_panel_scoreboard_fadeinspeed = 10;
 float autocvar_hud_panel_scoreboard_fadeoutspeed = 5;
 float autocvar_hud_panel_scoreboard_respawntime_decimals = 1;