Xonotic
|
Go to the source code of this file.
Functions | |
classfield (TeamRadar) .float teamradar_icon | |
void | draw_teamradar_background (float fg) |
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 | draw_teamradar_player (vector coord3d, vector pangles, vector rgb) |
entityclass (TeamRadar) | |
vector | teamradar_2dcoord_to_texcoord (vector in) |
vector | teamradar_3dcoord_to_texcoord (vector in) |
void | teamradar_loadcvars () |
vector | teamradar_texcoord_to_2dcoord (vector in) |
vector | teamradar_texcoord_to_3dcoord (vector in, float oz) |
classfield | ( | TeamRadar | ) |
Definition at line 60 of file teamradar.qc.
References DRAWFLAG_MIPMAP, DRAWFLAG_SCREEN, minimapname, teamradar_texcoord_to_2dcoord(), v_flipped, vector(), and yinvert.
Referenced by HUD_Radar().
Definition at line 128 of file teamradar.qc.
References DRAWFLAG_ADDITIVE, ftos(), MAX_TEAMRADAR_TIMES, strcat(), teamradar_3dcoord_to_texcoord(), teamradar_size, teamradar_texcoord_to_2dcoord(), time, v, and vector().
Referenced by HUD_Radar().
Definition at line 149 of file teamradar.qc.
References colormapPaletteColor, normalize(), panel_fg_alpha, TC, teamradar_3dcoord_to_texcoord(), teamradar_texcoord_to_2dcoord(), and vector().
Referenced by HUD_Radar().
Definition at line 88 of file teamradar.qc.
References normalize(), panel_fg_alpha, teamradar_3dcoord_to_texcoord(), teamradar_angle, teamradar_texcoord_to_2dcoord(), v_flipped, and vector().
Referenced by HUD_Radar().
entityclass | ( | TeamRadar | ) |
Definition at line 33 of file teamradar.qc.
References DEG2RAD, Rotate(), teamradar_angle, teamradar_origin2d, teamradar_origin3d_in_texcoord, teamradar_size, v_flipped, and vector().
Referenced by HUD_Radar_Mouse().
Definition at line 8 of file teamradar.qc.
References vector().
Referenced by draw_teamradar_icon(), draw_teamradar_link(), draw_teamradar_player(), and HUD_Radar().
void teamradar_loadcvars | ( | ) |
Definition at line 173 of file teamradar.qc.
References autocvar__hud_configure, autocvar_hud_panel_radar_foreground_alpha, autocvar_hud_panel_radar_maximized_rotation, autocvar_hud_panel_radar_maximized_scale, autocvar_hud_panel_radar_maximized_zoommode, autocvar_hud_panel_radar_rotation, autocvar_hud_panel_radar_scale, autocvar_hud_panel_radar_zoommode, autocvar_v_flipped, hud_panel_radar_foreground_alpha, hud_panel_radar_maximized, hud_panel_radar_maximized_rotation, hud_panel_radar_maximized_zoommode, hud_panel_radar_rotation, hud_panel_radar_scale, hud_panel_radar_size, hud_panel_radar_zoommode, panel_fg_alpha, and v_flipped.
Referenced by HUD_Radar().
Definition at line 17 of file teamradar.qc.
References DEG2RAD, Rotate(), teamradar_angle, teamradar_origin2d, teamradar_origin3d_in_texcoord, teamradar_size, v_flipped, and vector().
Referenced by draw_teamradar_background(), draw_teamradar_icon(), draw_teamradar_link(), and draw_teamradar_player().
Definition at line 51 of file teamradar.qc.
References vector().
Referenced by HUD_Radar_Mouse().
float hud_panel_radar_foreground_alpha |
Definition at line 21 of file teamradar.qh.
Referenced by HUD_Radar(), and teamradar_loadcvars().
int hud_panel_radar_maximized_rotation |
Definition at line 26 of file teamradar.qh.
Referenced by HUD_Radar(), and teamradar_loadcvars().
int hud_panel_radar_maximized_zoommode |
Definition at line 25 of file teamradar.qh.
Referenced by HUD_Radar(), and teamradar_loadcvars().
int hud_panel_radar_rotation |
Definition at line 22 of file teamradar.qh.
Referenced by HUD_Radar(), and teamradar_loadcvars().
float hud_panel_radar_scale |
Definition at line 20 of file teamradar.qh.
Referenced by HUD_Radar(), and teamradar_loadcvars().
vector hud_panel_radar_size |
Definition at line 23 of file teamradar.qh.
Referenced by teamradar_loadcvars().
int hud_panel_radar_zoommode |
Definition at line 24 of file teamradar.qh.
Referenced by HUD_Radar(), and teamradar_loadcvars().
const int MAX_TEAMRADAR_TIMES = 32 |
Definition at line 3 of file teamradar.qh.
Referenced by draw_teamradar_icon().
float teamradar_angle |
Definition at line 12 of file teamradar.qh.
Referenced by draw_teamradar_player(), HUD_Radar(), teamradar_2dcoord_to_texcoord(), and teamradar_texcoord_to_2dcoord().
vector teamradar_extraclip_maxs |
Definition at line 16 of file teamradar.qh.
Referenced by HUD_Radar().
vector teamradar_extraclip_mins |
Definition at line 16 of file teamradar.qh.
Referenced by HUD_Radar().
vector teamradar_origin2d |
Definition at line 14 of file teamradar.qh.
Referenced by HUD_Radar(), teamradar_2dcoord_to_texcoord(), and teamradar_texcoord_to_2dcoord().
vector teamradar_origin3d_in_texcoord |
Definition at line 13 of file teamradar.qh.
Referenced by HUD_Radar(), teamradar_2dcoord_to_texcoord(), and teamradar_texcoord_to_2dcoord().
float teamradar_size |
Definition at line 17 of file teamradar.qh.
Referenced by draw_teamradar_icon(), HUD_Radar(), teamradar_2dcoord_to_texcoord(), and teamradar_texcoord_to_2dcoord().
vector teamradar_size2d |
Definition at line 15 of file teamradar.qh.
Referenced by HUD_Radar().
float v_flipped |
Definition at line 18 of file teamradar.qh.
Referenced by draw_teamradar_background(), draw_teamradar_player(), teamradar_2dcoord_to_texcoord(), teamradar_loadcvars(), and teamradar_texcoord_to_2dcoord().