X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fscoreboard.qc;h=ec27b404e0d2d2842659abcfb8dfd02b2fe81974;hb=fc2be4c1e7547ae97301f7966333e4dc858baf92;hp=e31656ac20588074dfe12eb04cf788f10eeb1eb0;hpb=7efb90d3f4f1f73636764ee8ab21f667d1b49a05;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/scoreboard.qc b/qcsrc/client/scoreboard.qc index e31656ac2..ec27b404e 100644 --- a/qcsrc/client/scoreboard.qc +++ b/qcsrc/client/scoreboard.qc @@ -1,11 +1,9 @@ #include "scoreboard.qh" +#include "_all.qh" -#include "autocvars.qh" -#include "defs.qh" #include "hud.qh" -#include "main.qh" -#include "miscfunctions.qh" #include "sortlist.qh" + #include "../common/constants.qh" #include "../common/counting.qh" #include "../common/mapinfo.qh" @@ -304,7 +302,7 @@ void Cmd_HUD_Help() #define HUD_DefaultColumnLayout() \ "ping pl name | " \ "-teams,race,lms/kills +ft,tdm/kills -teams,lms/deaths +ft,tdm/deaths -teams,lms,race,ka/suicides +ft,tdm/suicides -race,dm,tdm,ka,ft/frags " /* tdm already has this in "score" */ \ -"+ctf/caps +ctf/pickups +ctf/fckills +ctf/returns " \ +"+ctf/caps +ctf/pickups +ctf/fckills +ctf/returns +ons/caps +ons/takes " \ "+lms/lives +lms/rank " \ "+kh/caps +kh/pushes +kh/destroyed " \ "?+race/laps ?+race/time ?+race/fastest " \ @@ -362,7 +360,6 @@ void Cmd_HUD_SetFields(float argc) hud_fontsize = HUD_GetFontsize("hud_fontsize"); - draw_beginBoldFont(); for(i = 1; i < argc - 1; ++i) { float nocomplain; @@ -501,7 +498,6 @@ void Cmd_HUD_SetFields(float argc) } hud_field[hud_num_fields] = SP_END; - draw_endBoldFont(); } // MOVEUP:: @@ -881,7 +877,6 @@ vector HUD_Scoreboard_MakeTable(vector pos, entity tm, vector rgb, vector bg_siz } // print the strings of the columns headers and draw the columns - draw_beginBoldFont(); int i; for(i = 0; i < hud_num_fields; ++i) { @@ -925,7 +920,6 @@ vector HUD_Scoreboard_MakeTable(vector pos, entity tm, vector rgb, vector bg_siz pos.x -= hud_fontsize.x; } } - draw_endBoldFont(); pos.x = xmin; pos.y += 1.25 * hud_fontsize.y; // skip the header @@ -966,6 +960,8 @@ vector HUD_Scoreboard_MakeTable(vector pos, entity tm, vector rgb, vector bg_siz float HUD_WouldDrawScoreboard() { if (autocvar__hud_configure) return 0; + else if (HUD_Radar_Clickable()) + return 0; else if (scoreboard_showscores) return 1; else if (intermission == 1)