]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove hud_radar_background_alpha to prevent confusion, same thing can be achieved...
authorFruitieX <rasse@rasse-lappy.localdomain>
Wed, 9 Jun 2010 13:51:32 +0000 (16:51 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Wed, 9 Jun 2010 13:51:32 +0000 (16:51 +0300)
defaultXonotic.cfg
qcsrc/client/teamradar.qc

index d7064d5feea7426bb1e6d3b4f01acfe484d74820..025efa3b6c470d830b49e224647c907fb533140b 100644 (file)
@@ -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)"
 
index 1a4ec004516636b50d211c4e35746fe2f5e58e3a..283f76b04bbf17032365204132ae09a78bcfcb02 100644 (file)
@@ -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 != "")
        {