|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "teamradar.qh"#include <client/hud/_mod.qh>#include <client/view.qh>#include <common/mutators/mutator/waypoints/all.qh>#include <lib/csqcmodel/interpolate.qh>Go to the source code of this file.
Functions | |
| 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) |
| NET_HANDLE (ENT_CLIENT_RADARLINK, bool isnew) | |
| 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) |
Definition at line 60 of file teamradar.qc.
References DRAWFLAG_MIPMAP, DRAWFLAG_SCREEN, mi_pictexcoord0, mi_pictexcoord1, mi_pictexcoord2, mi_pictexcoord3, 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, entity(), ftos(), MAX_TEAMRADAR_TIMES, strcat(), teamradar_3dcoord_to_texcoord(), teamradar_size, teamradar_texcoord_to_2dcoord(), time, 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 MAKE_VECTORS, normalize(), panel_fg_alpha, teamradar_3dcoord_to_texcoord(), teamradar_angle, teamradar_texcoord_to_2dcoord(), v_flipped, and vector.
| NET_HANDLE | ( | ENT_CLIENT_RADARLINK | , |
| bool | isnew ) |
Definition at line 198 of file teamradar.qc.
References g_radarlinks, IFLAG_ORIGIN, IFLAG_VELOCITY, iflags, IL_PUSH(), InterpolateOrigin_Note(), InterpolateOrigin_Undo(), origin, ReadByte(), ReadVector, team, and velocity.
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 mi_picmax, mi_picmin, and 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().