Xonotic
|
#include "radar.qh"
#include <client/draw.qh>
#include <client/mapvoting.qh>
#include <client/teamradar.qh>
#include <common/ent_cs.qh>
#include <common/mutators/mutator/waypoints/all.qh>
#include <common/resources/cl_resources.qh>
Go to the source code of this file.
Functions | |
void | HUD_Radar () |
bool | HUD_Radar_Clickable () |
void | HUD_Radar_Export (int fh) |
float | HUD_Radar_GetAngle (int rotation) |
float | HUD_Radar_GetZoomFactor (int zoommode) |
void | HUD_Radar_Hide_Maximized () |
float | HUD_Radar_InputEvent (int bInputType, float nPrimary, float nSecondary) |
void | HUD_Radar_Mouse () |
void | HUD_Radar_Show_Maximized (bool doshow, bool clickable) |
void HUD_Radar | ( | ) |
Definition at line 196 of file radar.qc.
References AL_EACH, autocvar__hud_configure, autocvar_hud_panel_radar, autocvar_hud_panel_radar_dynamichud, autocvar_hud_panel_radar_maximized_size, bound(), current_player, DEG2RAD, draw_teamradar_background(), draw_teamradar_icon(), draw_teamradar_link(), draw_teamradar_player(), drawresetcliparea(), drawsetcliparea(), entity(), g_radaricons, g_radarlinks, hud_draw_maximized, HUD_Panel_DrawBg, HUD_Panel_LoadCvars(), hud_panel_radar_foreground_alpha, hud_panel_radar_maximized, hud_panel_radar_maximized_rotation, hud_panel_radar_maximized_zoommode, hud_panel_radar_mouse, hud_panel_radar_rotation, hud_panel_radar_scale, hud_panel_radar_temp_hidden, hud_panel_radar_zoommode, HUD_Radar_GetAngle(), HUD_Radar_GetZoomFactor(), HUD_Scale(), HUD_Scale_Disable(), HUD_Scale_Enable(), HUD_Shift(), hud_skin_path, if(), IL_EACH, max(), message, mi_center, mi_scale, min(), minimapname, MUTATOR_CALLHOOK, NULL, origin, panel, panel_bg_padding, panel_fg_alpha, panel_pos, panel_size, precache_pic(), radar_panel_modified, REGISTRY_GET, Rotate(), strcat(), strcpy, Team_ColorRGB(), teamplay, teamradar_3dcoord_to_texcoord(), teamradar_angle, teamradar_extraclip_maxs, teamradar_extraclip_mins, teamradar_loadcvars(), teamradar_origin2d, teamradar_origin3d_in_texcoord, teamradar_size, teamradar_size2d, time, vec2, vector(), vid_conheight, vid_conwidth, view_angles, view_origin, vlen(), vlen_maxnorm2d(), and vlen_minnorm2d().
bool HUD_Radar_Clickable | ( | ) |
Definition at line 25 of file radar.qc.
References hud_panel_radar_mouse, and hud_panel_radar_temp_hidden.
Referenced by HUD_Mouse(), HUD_WouldShowCursor(), Scoreboard_WouldDraw(), and View_Lock().
Definition at line 189 of file radar.qc.
References view_angles.
Referenced by HUD_Radar().
Definition at line 178 of file radar.qc.
References current_zoomfraction.
Referenced by HUD_Radar().
void HUD_Radar_Hide_Maximized | ( | ) |
Definition at line 56 of file radar.qc.
References HUD_Radar_Show_Maximized().
Referenced by HUD_Radar_InputEvent(), HUD_Radar_Mouse(), and NET_HANDLE().
Definition at line 62 of file radar.qc.
References argv(), autocvar__hud_configure, hud_panel_radar_maximized, hud_panel_radar_mouse, hud_panel_radar_temp_hidden, HUD_Radar_Hide_Maximized(), K_ESCAPE, K_MOUSE1, K_MOUSE2, mouseClicked, mv_active, S_MOUSE1, S_MOUSE2, stof(), strcat(), TC, and tokenize().
void HUD_Radar_Mouse | ( | ) |
Definition at line 134 of file radar.qc.
References autocvar_hud_panel_radar_maximized_size, bound(), HUD_PANEL, HUD_Panel_LoadCvars(), hud_panel_radar_mouse, HUD_Radar_Hide_Maximized(), intermission, localcmd, mouseClicked, mousepos, mv_active, panel, panel_size, S_MOUSE1, S_MOUSE2, teamradar_2dcoord_to_texcoord(), teamradar_texcoord_to_3dcoord(), vector(), vid_conheight, and vid_conwidth.
Referenced by HUD_Mouse().
Definition at line 30 of file radar.qc.
References hud_panel_radar_maximized, hud_panel_radar_mouse, hud_panel_radar_temp_hidden, localcmd, mouseClicked, and TC.
Referenced by HUD_Radar_Hide_Maximized(), and LocalCommand_hud().