X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fteamradar.qh;h=0b1884ccf3a713d8c77488bd7d809dcf3d013cb3;hb=0b740fb801278d163504f0c0a9792c11bc0f024f;hp=b2329cfb06c715137474f0ce11eb5dbe23c187e1;hpb=bec3232acca8928ca5b4e1ccfdbf1bf874b5697b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/teamradar.qh b/qcsrc/client/teamradar.qh index b2329cfb0..0b1884ccf 100644 --- a/qcsrc/client/teamradar.qh +++ b/qcsrc/client/teamradar.qh @@ -1,5 +1,4 @@ -#ifndef TEAMRADAR_H -#define TEAMRADAR_H +#pragma once const int MAX_TEAMRADAR_TIMES = 32; @@ -27,12 +26,6 @@ float hud_panel_radar_maximized_zoommode; float hud_panel_radar_maximized_rotation; -float vlen2d(vector v); - -float vlen_maxnorm2d(vector v); - -float vlen_minnorm2d(vector v); - vector teamradar_2dcoord_to_texcoord(vector in); vector teamradar_3dcoord_to_texcoord(vector in); @@ -41,20 +34,12 @@ vector teamradar_texcoord_to_2dcoord(vector in); vector teamradar_texcoord_to_3dcoord(vector in,float z); -vector yinvert(vector v); - void draw_teamradar_background(float fg); void draw_teamradar_player(vector coord3d, vector pangles, vector rgb); -void draw_teamradar_icon(vector coord, float icon, entity pingdata, vector rgb, float a); +void draw_teamradar_icon(vector coord, entity icon, entity pingdata, vector rgb, float a); void draw_teamradar_link(vector start, vector end, int colors); void teamradar_loadcvars(); - -// radar links - -void Ent_RadarLink(); - -#endif