|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "radar.qh"#include <client/draw.qh>#include <client/hud/panel/scoreboard.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 178 of file radar.qc.
References autocvar__hud_configure, autocvar_hud_panel_radar, autocvar_hud_panel_radar_dynamichud, autocvar_hud_panel_radar_maximized_size, bound(), DEG2RAD, draw_teamradar_background(), draw_teamradar_icon(), draw_teamradar_link(), 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_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, IL_EACH, max(), mi_center, mi_max, mi_min, mi_picmax, mi_picmin, mi_scale, min(), minimapname, MUTATOR_CALLHOOK, panel, panel_bg_padding, panel_fg_alpha, panel_pos, panel_size, precache_pic(), radar_panel_modified, REGISTRY_GET, Rotate(), spritelookupcolor(), strcat(), strcpy, 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_origin, vlen(), vlen_maxnorm2d(), and vlen_minnorm2d().
| bool HUD_Radar_Clickable | ( | ) |
Definition at line 26 of file radar.qc.
References hud_panel_radar_mouse, and hud_panel_radar_temp_hidden.
Referenced by HUD_CenterPrint(), HUD_Mouse(), HUD_WouldShowCursor(), Scoreboard_WouldDraw(), and View_Lock().
Definition at line 13 of file radar.qc.
References HUD_Write_Cvar.
Definition at line 160 of file radar.qc.
References current_zoomfraction.
Referenced by HUD_Radar().
| void HUD_Radar_Hide_Maximized | ( | ) |
Definition at line 51 of file radar.qc.
References HUD_Radar_Show_Maximized().
Referenced by HUD_Radar_InputEvent(), HUD_Radar_Mouse(), and NET_HANDLE().
Definition at line 57 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, mousepos, mv_active, S_MOUSE1, S_MOUSE2, STAT, stof(), strcat(), TC, and tokenize().
| void HUD_Radar_Mouse | ( | ) |
Definition at line 123 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_pos, panel_size, S_MOUSE1, S_MOUSE2, scoreboard_ui_enabled, teamradar_2dcoord_to_texcoord(), teamradar_texcoord_to_3dcoord(), vector, vid_conheight, vid_conwidth, and view_origin.
Referenced by HUD_Mouse().
Definition at line 31 of file radar.qc.
References hud_panel_radar_maximized, hud_panel_radar_mouse, hud_panel_radar_temp_hidden, mouseClicked, Release_Common_Keys(), and TC.
Referenced by HUD_Radar_Hide_Maximized(), and LocalCommand_hud().