From: FruitieX Date: Wed, 9 Jun 2010 13:51:32 +0000 (+0300) Subject: remove hud_radar_background_alpha to prevent confusion, same thing can be achieved... X-Git-Tag: xonotic-v0.1.0preview~541^2~87 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c530ca096fa68d48c7ddf851dddf1166eaec8877;p=xonotic%2Fxonotic-data.pk3dir.git remove hud_radar_background_alpha to prevent confusion, same thing can be achieved with the panel background --- diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index d7064d5fe..025efa3b6 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1431,6 +1431,11 @@ seta hud_radar_bg_color_team "" "override panel color with team color in team ba seta hud_radar_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" seta hud_radar_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_radar_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" +seta hud_radar_foreground_alpha 0.8 "alpha of the map" +seta hud_radar_scale 4096 "distance you can see on the team radar" +seta hud_radar_rotation 0 "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north" +seta hud_radar_zoommode 0 "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out" +alias hud_radar_rotate "toggle hud_radar_rotation 0 1 2 3 4" seta hud_score 1 "enable/disable this panel" seta hud_score_pos "-0.225469 -0.084404" "position of this base of the panel" @@ -1662,14 +1667,6 @@ seta cl_weaponimpulsemode 0 "0: only cycle between currently usable weapons in w seta sv_status_privacy 1 "hide IP addresses from \"status\" replies shown to clients" - -seta hud_radar_background_alpha 0 "set to -1 to disable" -seta hud_radar_foreground_alpha 0.8 "alpha of the map" -seta hud_radar_scale 4096 "distance you can see on the team radar" -seta hud_radar_rotation 0 "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north" -seta hud_radar_zoommode 0 "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out" -alias hud_radar_rotate "toggle hud_radar_rotation 0 1 2 3 4" - set g_maplist_allow_hidden 0 "allow hidden maps to be, e.g., voted for and in the maplist" set g_maplist_allow_frustrating 0 "allow impossible maps to be, e.g., voted for and in the maplist (if set to 2, ONLY impossible maps are allowed)" diff --git a/qcsrc/client/teamradar.qc b/qcsrc/client/teamradar.qc index 1a4ec0045..283f76b04 100644 --- a/qcsrc/client/teamradar.qc +++ b/qcsrc/client/teamradar.qc @@ -57,15 +57,6 @@ void draw_teamradar_background(float bg, float fg) { float fga; vector fgc; - if(bg > 0) - { - R_BeginPolygon("", 0); - R_PolygonVertex('1 0 0' * (teamradar_origin2d_x - teamradar_size2d_x * 0.5 + teamradar_extraclip_mins_x) + '0 1 0' * (teamradar_origin2d_y - teamradar_size2d_y * 0.5 + teamradar_extraclip_mins_y), '0 0 0', '0 0 0', bg); - R_PolygonVertex('1 0 0' * (teamradar_origin2d_x + teamradar_size2d_x * 0.5 + teamradar_extraclip_maxs_x) + '0 1 0' * (teamradar_origin2d_y - teamradar_size2d_y * 0.5 + teamradar_extraclip_mins_y), '0 0 0', '0 0 0', bg); - R_PolygonVertex('1 0 0' * (teamradar_origin2d_x + teamradar_size2d_x * 0.5 + teamradar_extraclip_maxs_x) + '0 1 0' * (teamradar_origin2d_y + teamradar_size2d_y * 0.5 + teamradar_extraclip_maxs_y), '0 0 0', '0 0 0', bg); - R_PolygonVertex('1 0 0' * (teamradar_origin2d_x - teamradar_size2d_x * 0.5 + teamradar_extraclip_mins_x) + '0 1 0' * (teamradar_origin2d_y + teamradar_size2d_y * 0.5 + teamradar_extraclip_maxs_y), '0 0 0', '0 0 0', bg); - R_EndPolygon(); - } if(fg > 0 && minimapname != "") {