]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/teamradar.qc
Clean up CSQC #includes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / teamradar.qc
index 02b083692153d10305188f4c532b9db17a2effa8..8f6b17e1bd069f7d95161a1b8fa6365e78a61c7e 100644 (file)
@@ -1,25 +1,9 @@
 #if defined(CSQC)
-       #include "../dpdefs/csprogsdefs.qh"
-       #include "defs.qh"
-       #include "../common/util.qh"
-       #include "autocvars.qh"
-       #include "../csqcmodellib/interpolate.qh"
        #include "teamradar.qh"
-       #include "hud.qh"
-       #include "main.qh"
-       #include "../csqcmodellib/cl_model.qh"
 #elif defined(MENUQC)
 #elif defined(SVQC)
 #endif
 
-float teamradar_angle; // player yaw angle
-vector teamradar_origin3d_in_texcoord; // player origin
-vector teamradar_origin2d; // 2D origin
-vector teamradar_size2d; // 2D size
-vector teamradar_extraclip_mins, teamradar_extraclip_maxs; // for non-centered radar display
-float teamradar_size; // 2D scale factor
-float v_flipped;
-
 float vlen2d(vector v)
 {
        return sqrt(v.x * v.x + v.y * v.y);
@@ -180,14 +164,6 @@ void draw_teamradar_link(vector start, vector end, int colors)
        R_EndPolygon();
 }
 
-float hud_panel_radar_scale; // window size = ...qu
-float hud_panel_radar_foreground_alpha;
-float hud_panel_radar_rotation;
-vector hud_panel_radar_size;
-float hud_panel_radar_zoommode;
-float hud_panel_radar_maximized_zoommode;
-float hud_panel_radar_maximized_rotation;
-
 void teamradar_loadcvars()
 {
        v_flipped = autocvar_v_flipped;