Xonotic
|
Go to the source code of this file.
Macros | |
#define | _REGISTER_HUD_PANEL(id, draw_func, export_func, configflags, showflags) |
#define | HUD_PANEL(NAME) HUD_PANEL_##NAME |
#define | HUD_Panel_DrawBg() |
#define | HUD_Panel_GetBg() |
#define | HUD_Panel_GetBgAlpha() |
#define | HUD_Panel_GetBorder() |
#define | HUD_Panel_GetColor() |
#define | HUD_Panel_GetColorTeam() |
#define | HUD_Panel_GetFgAlpha() |
#define | HUD_Panel_GetPadding() |
#define | Hud_Panel_GetPanelEnabled() |
#define | HUD_Panel_ScalePosSize() |
#define | HUD_Panel_UpdatePosSize() |
#define | HUD_Panel_UpdatePosSize_ForMenu() |
#define | HUD_ScaleX(f) (f * hud_scale.x) |
#define | HUD_ScaleY(f) (f * hud_scale.y) |
#define | HUD_ShiftX(f) (f + hud_shift.x + hud_shift.z * (f - hud_scale_center.x)) |
#define | HUD_ShiftY(f) (f + hud_shift.y + hud_shift.z * (f - hud_scale_center.y)) |
#define | REGISTER_HUD_PANEL(id, draw_func, configflags, showflags) _REGISTER_HUD_PANEL(id, draw_func, draw_func##_Export, configflags, showflags) |
#define _REGISTER_HUD_PANEL | ( | id, | |
draw_func, | |||
export_func, | |||
configflags, | |||
showflags | |||
) |
#define HUD_PANEL | ( | NAME | ) | HUD_PANEL_##NAME |
Definition at line 51 of file hud.qh.
Referenced by HUD_CenterPrint(), HUD_Main(), HUD_Minigame_InputEvent(), HUD_Minigame_Mouse(), HUD_MinigameMenu_MouseInput(), HUD_Panel_SetPosSize(), HUD_Radar_Mouse(), and QuickMenu_Mouse().
#define HUD_Panel_DrawBg | ( | ) |
Definition at line 54 of file hud.qh.
Referenced by HUD_Ammo(), HUD_Chat(), HUD_EngineInfo(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_MinigameMenu(), HUD_ModIcons(), HUD_Notify(), HUD_Physics(), HUD_Powerups(), HUD_PressedKeys(), HUD_RaceTimer(), HUD_Radar(), HUD_Score(), HUD_StrafeHUD(), HUD_Weapons(), Item_ItemsTime_Allow(), Scoreboard_MakeTable(), Scoreboard_Rankings_Draw(), and ttt_next_match().
#define HUD_Panel_GetBg | ( | ) |
Definition at line 286 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define HUD_Panel_GetBgAlpha | ( | ) |
Definition at line 346 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define HUD_Panel_GetBorder | ( | ) |
Definition at line 370 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define HUD_Panel_GetColor | ( | ) |
Definition at line 312 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define HUD_Panel_GetColorTeam | ( | ) |
Definition at line 336 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define HUD_Panel_GetFgAlpha | ( | ) |
Definition at line 363 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define HUD_Panel_GetPadding | ( | ) |
Definition at line 380 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define Hud_Panel_GetPanelEnabled | ( | ) |
Definition at line 413 of file hud.qh.
Referenced by HUD_Panel_Draw().
#define HUD_Panel_ScalePosSize | ( | ) |
Definition at line 405 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define HUD_Panel_UpdatePosSize | ( | ) |
Definition at line 417 of file hud.qh.
Referenced by HUD_Configure_PostDraw(), HUD_Panel_Arrow_Action(), HUD_Panel_Check_Mouse_Pos(), HUD_Panel_CheckMove(), HUD_Panel_CheckResize(), HUD_Panel_Highlight(), HUD_Panel_InputEvent(), HUD_Panel_Mouse(), HUD_Panel_SetPos(), and HUD_Panel_SetPosSize().
#define HUD_Panel_UpdatePosSize_ForMenu | ( | ) |
Definition at line 391 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
#define HUD_ScaleX | ( | f | ) | (f * hud_scale.x) |
Definition at line 15 of file hud.qh.
Referenced by HUD_Scale().
#define HUD_ScaleY | ( | f | ) | (f * hud_scale.y) |
Definition at line 16 of file hud.qh.
Referenced by HUD_Scale().
#define HUD_ShiftX | ( | f | ) | (f + hud_shift.x + hud_shift.z * (f - hud_scale_center.x)) |
Definition at line 17 of file hud.qh.
Referenced by HUD_Shift().
#define HUD_ShiftY | ( | f | ) | (f + hud_shift.y + hud_shift.z * (f - hud_scale_center.y)) |
Definition at line 18 of file hud.qh.
Referenced by HUD_Shift().
#define REGISTER_HUD_PANEL | ( | id, | |
draw_func, | |||
configflags, | |||
showflags | |||
) | _REGISTER_HUD_PANEL(id, draw_func, draw_func##_Export, configflags, showflags) |
classfield | ( | HUDPanel | ) |
Definition at line 31 of file hud.qc.
References draw_currentSkin, DRAWFLAG_NORMAL, drawpic(), SIZE_CURSOR, strcat(), and vec2.
Referenced by draw_cursor_normal(), and HUD_Cursor_Show().
Definition at line 37 of file hud.qc.
References draw_cursor(), and OFFSET_CURSOR.
Referenced by HUD_Cursor_Show().
void DrawNumIcon | ( | vector | myPos, |
vector | mySize, | ||
float | theTime, | ||
string | icon, | ||
bool | vertical, | ||
bool | isInfinite, | ||
bool | icon_right_align, | ||
vector | color, | ||
float | theAlpha | ||
) |
void DrawNumIcon_expanding | ( | vector | myPos, |
vector | mySize, | ||
float | theTime, | ||
string | icon, | ||
bool | vertical, | ||
bool | isInfinite, | ||
int | icon_right_align, | ||
vector | color, | ||
float | theAlpha, | ||
float | fadelerp | ||
) |
Definition at line 398 of file hud.qc.
References DRAWFLAG_NORMAL, drawpic_aspect_skin, drawpic_aspect_skin_expanding(), drawstring_aspect(), drawstring_aspect_expanding(), eX, eY, ftos(), panel_fg_alpha, TC, and vector().
Referenced by DrawNumIcon(), and HUD_Powerups().
entityclass | ( | HUDPanel | ) |
void Hud_Dynamic_Frame | ( | ) |
Definition at line 595 of file hud.qc.
References autocvar_hud_dynamic_follow, autocvar_hud_dynamic_follow_scale, autocvar_hud_dynamic_follow_scale_xyz, autocvar_hud_dynamic_shake, autocvar_hud_dynamic_shake_damage_max, autocvar_hud_dynamic_shake_damage_min, bound(), calc_followmodel_ofs(), cl_followmodel_ofs, CSQCModel_server2csqc(), entity(), fabs(), health, hud_dynamic_shake_factor, hud_dynamic_shake_realofs, hud_dynamic_shake_time, hud_scale_center, hud_scale_current, HUD_Scale_Disable(), Hud_Shake_Update(), hud_shift_current, intermission, max(), player_localentnum, time, vector(), vid_conheight, and vid_conwidth.
Referenced by HUD_Draw().
Definition at line 123 of file hud.qc.
References CASE_COLOR_BETWEEN, color, M_PI, sin(), time, and vector().
Referenced by crosshair_getcolor(), HUD_EngineInfo(), and HUD_HealthArmor().
Definition at line 111 of file hud.qc.
References cvar_string(), stov(), v, and vector().
Referenced by Cmd_Scoreboard_SetFields(), MapVote_Draw(), and Scoreboard_Draw().
Definition at line 165 of file hud.qc.
References bound(), floor(), sqrt(), and TC.
Referenced by HUD_Ammo(), HUD_Mod_CA_Draw(), HUD_Mod_Dom(), HUD_Score(), and Item_ItemsTime_Allow().
void HUD_ItemsTime | ( | ) |
void HUD_Main | ( | ) |
Definition at line 689 of file hud.qc.
References argv(), autocvar__con_chat_maximized, autocvar__hud_configure, autocvar__hud_panelorder, autocvar__menu_alpha, autocvar_hud_configure_teamcolorforced, autocvar_hud_cursormode, autocvar_hud_dock, autocvar_hud_dock_alpha, autocvar_hud_dock_color, autocvar_hud_dock_color_team, autocvar_hud_skin, color, colormapPaletteColor, current_player, cursor_active, cvar_set(), DRAWFLAG_NORMAL, drawpic(), eX, eY, floor(), FOREACH, ftos(), HUD_Configure_Frame(), hud_configure_menu_open, HUD_Configure_PostDraw(), hud_configure_prev, hud_draw_maximized, hud_fade_alpha, HUD_PANEL, HUD_Panel_Draw(), hud_panel_radar_maximized, hud_panelorder_prev, HUD_Reset(), hud_skin_path, hud_skin_prev, HUD_Vehicle(), HUD_WouldShowCursor(), intermission, LOG_TRACE, myteamcolors, NUM_SPECTATOR, panel_order, precache_pic(), prev_myteam, QuickMenu_IsOpened(), REGISTRY_COUNT, REGISTRY_GET, scoreboard_fade_alpha, stof(), stoi, stov(), strcat(), strcpy, teamplay, time, tokenize_console, vector(), vid_conheight, and vid_conwidth.
Referenced by HUD_ModIcons(), and HUD_ModIcons_SetFunc().
void HUD_ModIcons_SetFunc | ( | ) |
Definition at line 19 of file modicons.qc.
References gametype, and HUD_ModIcons_GameType().
Referenced by NET_HANDLE().
Definition at line 19 of file notify.qc.
References notify_attackers, notify_count, notify_icons, notify_index, NOTIFY_MAX_ENTRIES, notify_times, notify_victims, string_null, strunzone(), strzone(), and time.
Referenced by Local_Notification_sprintf(), and minigame_prompt().
void HUD_Panel_DrawHighlight | ( | vector | pos, |
vector | mySize, | ||
vector | color, | ||
float | theAlpha, | ||
int | drawflag | ||
) |
Definition at line 377 of file hud.qc.
References drawsubpic(), eX, eY, HUD_Scale(), HUD_Shift(), hud_skin_path, min(), precache_pic(), strcat(), and TC.
Referenced by HUD_Score(), and HUD_Score_Rankings().
void HUD_Panel_DrawProgressBar | ( | vector | theOrigin, |
vector | theSize, | ||
string | pic, | ||
float | length_ratio, | ||
bool | vertical, | ||
float | baralign, | ||
vector | theColor, | ||
float | theAlpha, | ||
int | drawflag | ||
) |
Definition at line 270 of file hud.qc.
References drawsubpic(), eX, eY, height, HUD_Scale(), HUD_Shift(), hud_skin_path, if(), precache_pic(), strcat(), TC, and vector().
Referenced by Draw_ShowNames(), DrawAmmoItem(), DrawNadeProgressBar(), HUD_HealthArmor(), HUD_Mod_NexBall(), HUD_Panel_DrawStrafeHUD(), HUD_Physics(), HUD_Powerups(), HUD_StrafeHUD(), and Item_ItemsTime_Allow().
void HUD_Panel_LoadCvars | ( | ) |
Definition at line 216 of file hud.qc.
References autocvar__hud_configure, autocvar_hud_panel_update_interval, cvar_string(), highlightedPanel, hud_configure_menu_open, hud_fade_alpha, HUD_Panel_GetBg, HUD_Panel_GetBgAlpha, HUD_Panel_GetBorder, HUD_Panel_GetColor, HUD_Panel_GetColorTeam, HUD_Panel_GetFgAlpha, HUD_Panel_GetPadding, HUD_Panel_ScalePosSize, HUD_Panel_UpdatePosSize_ForMenu, panel, panel_bg_alpha, panel_bg_alpha_str, panel_bg_border, panel_bg_border_str, panel_bg_color, panel_bg_color_str, panel_bg_color_team, panel_bg_color_team_str, panel_bg_padding, panel_bg_padding_str, panel_bg_str, panel_fade_alpha, panel_fg_alpha, panel_pos, panel_size, stov(), strcat(), and time.
Referenced by HUD_Ammo(), HUD_Chat(), HUD_EngineInfo(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_MinigameBoard(), HUD_MinigameMenu(), HUD_MinigameMenu_MouseInput(), HUD_MinigameStatus(), HUD_ModIcons(), HUD_Notify(), HUD_Physics(), HUD_Powerups(), HUD_PressedKeys(), HUD_RaceTimer(), HUD_Radar(), HUD_Radar_Mouse(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), HUD_Weapons(), Item_ItemsTime_Allow(), MapVote_Draw(), QuickMenu_Mouse(), and Scoreboard_Draw().
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().
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().
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().
void HUD_Reset | ( | ) |
Definition at line 561 of file hud.qc.
References gametype.
Referenced by HUD_Main().
Definition at line 97 of file hud.qc.
References HUD_ScaleX, HUD_ScaleY, and v.
Referenced by DrawCircleClippedPic(), drawpic_tiled(), drawstring_expanding(), HUD_Panel_DrawHighlight(), HUD_Panel_DrawProgressBar(), and HUD_Radar().
void HUD_Scale_Disable | ( | ) |
Definition at line 83 of file hud.qc.
References drawfontscale, hud_scale, and hud_shift.
Referenced by CSQC_UpdateView(), HUD_Ammo(), HUD_Chat(), Hud_Dynamic_Frame(), HUD_EngineInfo(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_MinigameMenu(), HUD_MinigameStatus(), HUD_ModIcons(), HUD_Notify(), HUD_Physics(), HUD_Powerups(), HUD_PressedKeys(), HUD_RaceTimer(), HUD_Radar(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), HUD_Weapons(), MapVote_Draw(), and Scoreboard_Draw().
void HUD_Scale_Enable | ( | ) |
Definition at line 90 of file hud.qc.
References drawfontscale, hud_scale, hud_scale_current, hud_shift, and hud_shift_current.
Referenced by HUD_Ammo(), HUD_Draw(), HUD_EngineInfo(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_ModIcons(), HUD_Notify(), HUD_Physics(), HUD_Powerups(), HUD_PressedKeys(), HUD_RaceTimer(), HUD_Radar(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), HUD_Weapons(), Item_ItemsTime_Allow(), and Scoreboard_Draw().
Definition at line 104 of file hud.qc.
References HUD_ShiftX, HUD_ShiftY, and v.
Referenced by DrawCircleClippedPic(), drawpic_tiled(), HUD_Panel_DrawHighlight(), HUD_Panel_DrawProgressBar(), and HUD_Radar().
bool HUD_WouldShowCursor | ( | ) |
Definition at line 670 of file hud.qc.
References autocvar__hud_configure, HUD_MinigameMenu_IsOpened(), HUD_Radar_Clickable(), mv_active, and QuickMenu_IsOpened().
Referenced by HUD_Main().
void LoadMenuSkinValues | ( | ) |
Definition at line 42 of file hud.qc.
References argv(), argv_end_index, argv_start_index, cvar_defstring(), cvar_set(), cvar_string(), draw_currentSkin, fclose(), fgets(), FILE_READ, fopen(), OFFSET_CURSOR, SIZE_CURSOR, stov(), strcat(), strzone(), substring(), and tokenize_console.
Referenced by CSQC_Init().
string MakeRaceString | ( | int | cp, |
float | mytime, | ||
float | theirtime, | ||
float | othertime, | ||
float | lapdelta, | ||
string | theirname | ||
) |
Definition at line 13 of file racetimer.qc.
References autocvar_cl_race_cptimes_showself, ftos_decimals(), strcat(), TC, and TIME_DECIMALS.
bool QuickMenu_IsOpened | ( | ) |
Definition at line 244 of file quickmenu.qc.
Referenced by HUD_Main(), HUD_Mouse(), HUD_WouldShowCursor(), LocalCommand_hud(), Scoreboard_WouldDraw(), and View_Lock().
Definition at line 17 of file cl_race.qc.
References grecordholder, player_localnum, strfree, and strzone().
REGISTER_HUD_PANEL | ( | WEAPONS | , |
HUD_Weapons | , | ||
PANEL_CONFIG_MAIN| | PANEL_CONFIG_CANBEOFF, | ||
PANEL_SHOW_MAINGAME | |||
) |
PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME REGISTER_HUD_PANEL | ( | POWERUPS | , |
HUD_Powerups | , | ||
PANEL_CONFIG_MAIN| | PANEL_CONFIG_CANBEOFF, | ||
PANEL_SHOW_MAINGAME | |||
) |
PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME REGISTER_HUD_PANEL | ( | NOTIFY | , |
HUD_Notify | , | ||
PANEL_CONFIG_MAIN| | PANEL_CONFIG_CANBEOFF, | ||
PANEL_SHOW_MAINGAME|PANEL_SHOW_MINIGAME| | PANEL_SHOW_WITH_SB | ||
) |
PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_SHOW_WITH_SB REGISTER_HUD_PANEL | ( | RADAR | , |
HUD_Radar | , | ||
PANEL_CONFIG_MAIN| | PANEL_CONFIG_CANBEOFF, | ||
PANEL_SHOW_MAINGAME | |||
) |
PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_SHOW_WITH_SB PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME REGISTER_HUD_PANEL | ( | RACETIMER | , |
HUD_RaceTimer | , | ||
PANEL_CONFIG_MAIN| | PANEL_CONFIG_CANBEOFF, | ||
PANEL_SHOW_MAINGAME | |||
) |
PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_SHOW_WITH_SB PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_SHOW_MAPVOTE PANEL_SHOW_WITH_SB REGISTER_HUD_PANEL | ( | MODICONS | , |
HUD_ModIcons | , | ||
PANEL_CONFIG_MAIN| | PANEL_CONFIG_CANBEOFF, | ||
PANEL_SHOW_MAINGAME| | PANEL_SHOW_WITH_SB | ||
) |
int armor_beforedamage |
Definition at line 240 of file hud.qh.
Referenced by HUD_HealthArmor().
float armor_damagetime |
Definition at line 239 of file hud.qh.
Referenced by HUD_HealthArmor().
string autocvar__hud_panelorder |
Definition at line 186 of file hud.qh.
Referenced by HUD_Main(), and HUD_Panel_FirstInDrawQ().
float autocvar__menu_alpha |
Definition at line 184 of file hud.qh.
Referenced by HUD_Configure_Frame(), HUD_Configure_PostDraw(), HUD_Crosshair(), HUD_Cursor_Show(), HUD_Main(), HUD_Mouse(), HUD_Panel_InputEvent(), HUD_Panel_Mouse(), and HUD_Vote().
Definition at line 188 of file hud.qh.
Referenced by HUD_Main(), HUD_Mouse(), MapVote_Init(), and View_Lock().
string autocvar_hud_dock |
Definition at line 189 of file hud.qh.
Referenced by HUD_Main(), and HUD_Panel_InputEvent().
float autocvar_hud_dock_alpha |
Definition at line 190 of file hud.qh.
Referenced by HUD_Main().
string autocvar_hud_dock_color |
Definition at line 191 of file hud.qh.
Referenced by HUD_Main().
bool autocvar_hud_dock_color_team |
Definition at line 192 of file hud.qh.
Referenced by HUD_Main().
float autocvar_hud_dynamic_follow |
Definition at line 204 of file hud.qh.
Referenced by Hud_Dynamic_Frame().
float autocvar_hud_dynamic_follow_scale |
Definition at line 205 of file hud.qh.
Referenced by Hud_Dynamic_Frame().
vector autocvar_hud_dynamic_follow_scale_xyz |
Definition at line 206 of file hud.qh.
Referenced by Hud_Dynamic_Frame().
float autocvar_hud_panel_bg_alpha |
Definition at line 194 of file hud.qh.
Referenced by Vehicles_drawHUD().
vector autocvar_hud_panel_bg_color |
Definition at line 196 of file hud.qh.
Referenced by Vehicles_drawHUD().
float autocvar_hud_panel_bg_color_team |
Definition at line 197 of file hud.qh.
Referenced by Vehicles_drawHUD().
float autocvar_hud_panel_fg_alpha |
Definition at line 199 of file hud.qh.
Referenced by turret_draw2d(), and Vehicles_drawHUD().
float autocvar_hud_panel_update_interval |
Definition at line 202 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
float autocvar_hud_progressbar_alpha |
Definition at line 201 of file hud.qh.
Referenced by DrawAmmoItem(), DrawNadeProgressBar(), HUD_HealthArmor(), HUD_Mod_NexBall(), HUD_Physics(), HUD_Powerups(), Item_ItemsTime_Allow(), and Vehicles_drawHUD().
string autocvar_hud_skin |
Definition at line 200 of file hud.qh.
Referenced by CSQC_Init(), HUD_Main(), and HUD_Panel_ExportCfg().
const float BORDER_MULTIPLIER = 4 |
Definition at line 109 of file hud.qh.
Referenced by minigame_hud_simpleboard().
bool chat_panel_modified |
Definition at line 73 of file hud.qh.
Referenced by HUD_Chat().
float chat_posy |
Definition at line 179 of file hud.qh.
Referenced by HUD_Chat(), and MapVote_Draw().
float chat_sizey |
Definition at line 180 of file hud.qh.
Referenced by HUD_Chat(), and MapVote_Draw().
vector cl_followmodel_ofs |
Definition at line 213 of file hud.qh.
Referenced by calc_followmodel_ofs(), Hud_Dynamic_Frame(), and viewmodel_animate().
float cl_followmodel_time |
Definition at line 214 of file hud.qh.
Referenced by calc_followmodel_ofs().
entity complain_weapon |
Definition at line 112 of file hud.qh.
Referenced by HUD_Weapons(), and NET_HANDLE().
float complain_weapon_time |
Definition at line 114 of file hud.qh.
Referenced by HUD_Weapons(), and NET_HANDLE().
int complain_weapon_type |
Definition at line 113 of file hud.qh.
Referenced by HUD_Weapons(), and NET_HANDLE().
float current_player |
Definition at line 182 of file hud.qh.
Referenced by CSQC_UpdateView(), Draw_ShowNames(), HUD_Main(), HUD_Radar(), HUD_Score(), Scoreboard_MakeTable(), and viewmodel_draw().
int health_beforedamage |
Definition at line 240 of file hud.qh.
Referenced by HUD_HealthArmor().
float health_damagetime |
Definition at line 239 of file hud.qh.
Referenced by HUD_HealthArmor().
float highlightedAction |
Definition at line 107 of file hud.qh.
Referenced by HUD_Panel_Highlight(), HUD_Panel_InputEvent(), and HUD_Panel_Mouse().
entity highlightedPanel |
Definition at line 106 of file hud.qh.
Referenced by HUD_CenterPrint(), HUD_Configure_PostDraw(), HUD_Panel_Arrow_Action(), HUD_Panel_CheckMove(), HUD_Panel_CheckResize(), HUD_Panel_EnableMenu(), HUD_Panel_Highlight(), HUD_Panel_InputEvent(), HUD_Panel_LoadCvars(), HUD_Panel_Mouse(), HUD_Panel_SetPos(), and HUD_Panel_SetPosSize().
entity highlightedPanel_backup |
Definition at line 138 of file hud.qh.
Referenced by HUD_Panel_Arrow_Action(), HUD_Panel_InputEvent(), and HUD_Panel_Mouse().
bool hud_draw_maximized |
Definition at line 68 of file hud.qh.
Referenced by HUD_Chat(), HUD_Main(), HUD_QuickMenu(), HUD_Radar(), and Scoreboard_Draw().
float hud_dynamic_shake_factor |
Definition at line 209 of file hud.qh.
Referenced by HUD_Configure_Frame(), Hud_Dynamic_Frame(), Hud_Shake_Update(), and NET_HANDLE().
vector hud_dynamic_shake_realofs |
Definition at line 208 of file hud.qh.
Referenced by Hud_Dynamic_Frame(), and Hud_Shake_Update().
float hud_dynamic_shake_time |
Definition at line 210 of file hud.qh.
Referenced by Hud_Dynamic_Frame(), and Hud_Shake_Update().
float hud_fade_alpha |
Definition at line 131 of file hud.qh.
Referenced by HUD_Main(), HUD_Panel_LoadCvars(), and Vehicles_drawHUD().
PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME HUD_HealthArmor |
bool hud_panel_radar_maximized |
Definition at line 69 of file hud.qh.
Referenced by HUD_Main(), HUD_Radar(), HUD_Radar_InputEvent(), HUD_Radar_Show_Maximized(), LocalCommand_hud(), and teamradar_loadcvars().
bool hud_panel_radar_mouse |
Definition at line 70 of file hud.qh.
Referenced by HUD_Radar(), HUD_Radar_Clickable(), HUD_Radar_InputEvent(), HUD_Radar_Mouse(), HUD_Radar_Show_Maximized(), and LocalCommand_hud().
bool hud_panel_radar_temp_hidden |
Definition at line 72 of file hud.qh.
Referenced by HUD_Radar(), HUD_Radar_Clickable(), HUD_Radar_InputEvent(), and HUD_Radar_Show_Maximized().
string hud_panelorder_prev |
Definition at line 66 of file hud.qh.
Referenced by HUD_Main(), and HUD_Panel_FirstInDrawQ().
vector hud_scale |
Definition at line 216 of file hud.qh.
Referenced by drawcolorcodedstring_expanding(), drawstring_expanding(), HUD_Scale_Disable(), and HUD_Scale_Enable().
vector hud_scale_center |
Definition at line 220 of file hud.qh.
Referenced by Hud_Dynamic_Frame().
vector hud_scale_current = '1 1 0' |
Definition at line 217 of file hud.qh.
Referenced by Hud_Dynamic_Frame(), and HUD_Scale_Enable().
vector hud_shift |
Definition at line 218 of file hud.qh.
Referenced by HUD_Scale_Disable(), and HUD_Scale_Enable().
vector hud_shift_current = '0 0 0' |
Definition at line 219 of file hud.qh.
Referenced by Hud_Dynamic_Frame(), and HUD_Scale_Enable().
string hud_skin_path |
Definition at line 133 of file hud.qh.
Referenced by CSQC_Init(), HUD_Chat(), HUD_Main(), HUD_Panel_DrawHighlight(), HUD_Panel_DrawProgressBar(), HUD_Quickmenu_DrawEntry(), HUD_Radar(), and Vehicles_drawHUD().
string hud_skin_prev |
Definition at line 134 of file hud.qh.
Referenced by HUD_Main().
int hudShiftState |
Definition at line 126 of file hud.qh.
Referenced by HUD_Configure_Frame(), HUD_Minigame_InputEvent(), HUD_Panel_Arrow_Action(), HUD_Panel_InputEvent(), HUD_Panel_Mouse(), MapVote_InputEvent(), QuickMenu_InputEvent(), QuickMenu_Mouse(), QuickMenu_Open(), and QuickMenu_Page_ActiveEntry().
vector mousepos |
Definition at line 102 of file hud.qh.
Referenced by HUD_Cursor_Show(), HUD_Minigame_InputEvent(), HUD_Panel_Chat_InputEvent(), HUD_Panel_Check_Mouse_Pos(), HUD_Panel_Highlight(), HUD_Panel_InputEvent(), HUD_Panel_Mouse(), HUD_Radar_Mouse(), MapVote_Init(), MapVote_InputEvent(), MapVote_Selection(), QuickMenu_InputEvent(), QuickMenu_Mouse(), and update_mousepos().
vector myteamcolors |
Definition at line 136 of file hud.qh.
Referenced by HUD_Main(), and Vehicles_drawHUD().
string notify_attackers[NOTIFY_MAX_ENTRIES] |
Definition at line 435 of file hud.qh.
Referenced by HUD_Notify_Push().
int notify_count |
Definition at line 433 of file hud.qh.
Referenced by HUD_Notify(), and HUD_Notify_Push().
const float NOTIFY_ICON_MARGIN = 0.02 |
Definition at line 430 of file hud.qh.
Referenced by HUD_Notify().
string notify_icons[NOTIFY_MAX_ENTRIES] |
Definition at line 437 of file hud.qh.
Referenced by HUD_Notify_Push().
int notify_index |
Definition at line 432 of file hud.qh.
Referenced by HUD_Notify(), and HUD_Notify_Push().
const int NOTIFY_MAX_ENTRIES = 10 |
Definition at line 429 of file hud.qh.
Referenced by HUD_Notify(), and HUD_Notify_Push().
float notify_times[NOTIFY_MAX_ENTRIES] |
Definition at line 434 of file hud.qh.
Referenced by HUD_Notify_Push().
string notify_victims[NOTIFY_MAX_ENTRIES] |
Definition at line 436 of file hud.qh.
Referenced by HUD_Notify_Push().
vector OFFSET_CURSOR = '0 0 0' |
Definition at line 6 of file hud.qh.
Referenced by draw_cursor_normal(), and LoadMenuSkinValues().
int old_p_armor |
Definition at line 242 of file hud.qh.
Referenced by HUD_HealthArmor().
float old_p_armortime |
Definition at line 243 of file hud.qh.
Referenced by HUD_HealthArmor().
int old_p_health |
Definition at line 242 of file hud.qh.
Referenced by HUD_HealthArmor().
float old_p_healthtime |
Definition at line 243 of file hud.qh.
Referenced by HUD_HealthArmor().
entity panel |
Definition at line 144 of file hud.qh.
Referenced by HUD_Chat(), HUD_Configure_PostDraw(), HUD_MinigameMenu_MouseInput(), HUD_Panel_Arrow_Action(), HUD_Panel_Check_Mouse_Pos(), HUD_Panel_CheckMove(), HUD_Panel_CheckResize(), HUD_Panel_Draw(), HUD_Panel_ExportCfg(), HUD_Panel_Highlight(), HUD_Panel_InputEvent(), HUD_Panel_LoadCvars(), HUD_Panel_Mouse(), HUD_Panel_SetPos(), HUD_Panel_SetPosSize(), HUD_Radar(), HUD_Radar_Mouse(), minigame_hud_simpleboard(), QuickMenu_Mouse(), Scoreboard_MakeTable(), and Scoreboard_Rankings_Draw().
float panel_bg_alpha |
Definition at line 167 of file hud.qh.
Referenced by HUD_Chat(), HUD_Notify(), HUD_Panel_LoadCvars(), HUD_Weapons(), and minigame_hud_simpleboard().
string panel_bg_alpha_str |
Definition at line 168 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
float panel_bg_border |
Definition at line 169 of file hud.qh.
Referenced by HUD_Chat(), HUD_Configure_PostDraw(), HUD_Panel_Check_Mouse_Pos(), HUD_Panel_CheckMove(), HUD_Panel_CheckResize(), HUD_Panel_Highlight(), HUD_Panel_LoadCvars(), HUD_Panel_Mouse(), minigame_hud_simpleboard(), Scoreboard_MakeTable(), and Scoreboard_Rankings_Draw().
string panel_bg_border_str |
Definition at line 170 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
vector panel_bg_color |
Definition at line 162 of file hud.qh.
Referenced by HUD_Panel_LoadCvars(), and minigame_hud_simpleboard().
string panel_bg_color_str |
Definition at line 163 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
float panel_bg_color_team |
Definition at line 164 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
string panel_bg_color_team_str |
Definition at line 165 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
float panel_bg_padding |
Definition at line 171 of file hud.qh.
Referenced by HUD_Ammo(), HUD_Chat(), HUD_EngineInfo(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_MinigameMenu(), HUD_MinigameMenu_MouseInput(), HUD_MinigameStatus(), HUD_ModIcons(), HUD_Notify(), HUD_Panel_LoadCvars(), HUD_Panel_SetPosSize(), HUD_Physics(), HUD_Powerups(), HUD_PressedKeys(), HUD_RaceTimer(), HUD_Radar(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), HUD_Weapons(), Item_ItemsTime_Allow(), QuickMenu_Mouse(), Scoreboard_AccuracyStats_Draw(), Scoreboard_ItemStats_Draw(), Scoreboard_MakeTable(), Scoreboard_MapStats_Draw(), and Scoreboard_Rankings_Draw().
string panel_bg_padding_str |
Definition at line 172 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
string panel_bg_str |
Definition at line 161 of file hud.qh.
Referenced by HUD_Panel_LoadCvars().
vector panel_click_distance |
Definition at line 103 of file hud.qh.
Referenced by HUD_Panel_Highlight(), and HUD_Panel_Mouse().
vector panel_click_resizeorigin |
Definition at line 104 of file hud.qh.
Referenced by HUD_Panel_Arrow_Action(), HUD_Panel_Highlight(), HUD_Panel_Mouse(), and HUD_Panel_SetPosSize().
Definition at line 233 of file hud.qh.
Referenced by HUD_Panel_InputEvent().
PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_SHOW_WITH_SB PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_SHOW_MAPVOTE PANEL_SHOW_WITH_SB PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_SHOW_MAPVOTE PANEL_SHOW_WITH_SB PANEL_CONFIG_MAIN PANEL_SHOW_MAINGAME PANEL_SHOW_MINIGAME PANEL_SHOW_WITH_SB PANEL_SHOW_MINIGAME PANEL_SHOW_WITH_SB PANEL_SHOW_MAPVOTE PANEL_CONFIG_MAIN = 0x01 |
Definition at line 232 of file hud.qh.
Referenced by HUD_Panel_Check_Mouse_Pos(), HUD_Panel_CheckMove(), HUD_Panel_CheckResize(), HUD_Panel_Draw(), HUD_Panel_Highlight(), and HUD_Panel_InputEvent().
float panel_enabled |
Definition at line 158 of file hud.qh.
Referenced by HUD_Panel_CheckMove(), and HUD_Panel_CheckResize().
float panel_fade_alpha |
Definition at line 410 of file hud.qh.
Referenced by HUD_ModIcons(), HUD_Panel_Draw(), HUD_Panel_LoadCvars(), and Scoreboard_Draw().
float panel_fg_alpha |
Definition at line 166 of file hud.qh.
Referenced by bd_close_editor(), c4_move(), draw_teamradar_link(), draw_teamradar_player(), DrawAmmoItem(), DrawCAItem(), DrawDomItem(), DrawNadeProgressBar(), DrawNumIcon_expanding(), GameTypeVote_DrawGameTypeItem(), HUD_HealthArmor(), HUD_MinigameMenu_DrawColoredEntry(), HUD_MinigameMenu_DrawEntry(), HUD_Mod_Keepaway(), HUD_Mod_NexBall(), HUD_Notify(), HUD_Panel_LoadCvars(), HUD_Physics(), HUD_Powerups(), HUD_PressedKeys(), HUD_Quickmenu_DrawEntry(), HUD_RaceTimer(), HUD_Radar(), HUD_Score(), HUD_Score_Rankings(), HUD_StrafeHUD(), HUD_Weapons(), Item_ItemsTime_Allow(), MapVote_DrawMapItem(), nmm_in_mill(), pp_next_match(), ps_move(), race_showTime(), Scoreboard_Draw(), Scoreboard_DrawItem(), Scoreboard_Rankings_Draw(), teamradar_loadcvars(), and ttt_next_match().
int panel_order[REGISTRY_MAX(hud_panels)] |
Definition at line 65 of file hud.qh.
Referenced by HUD_Configure_Frame(), HUD_Main(), HUD_Panel_Check_Mouse_Pos(), HUD_Panel_FirstInDrawQ(), and HUD_Panel_Highlight().
vector panel_pos |
Definition at line 159 of file hud.qh.
Referenced by HUD_Ammo(), HUD_Chat(), HUD_Configure_PostDraw(), HUD_EngineInfo(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_MinigameBoard(), HUD_MinigameMenu(), HUD_MinigameMenu_MouseInput(), HUD_MinigameStatus(), HUD_ModIcons(), HUD_Notify(), HUD_Panel_Arrow_Action(), HUD_Panel_Check_Mouse_Pos(), HUD_Panel_CheckMove(), HUD_Panel_CheckResize(), HUD_Panel_DrawStrafeHUD(), HUD_Panel_Highlight(), HUD_Panel_HlBorder(), HUD_Panel_InputEvent(), HUD_Panel_LoadCvars(), HUD_Panel_Mouse(), HUD_Physics(), HUD_Powerups(), HUD_PressedKeys(), HUD_RaceTimer(), HUD_Radar(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), HUD_Weapons(), Item_ItemsTime_Allow(), MapStats_DrawKeyValue(), QuickMenu_Mouse(), Scoreboard_Draw(), Scoreboard_DrawHeader(), Scoreboard_MakeTable(), Scoreboard_Rankings_Draw(), and StrafeHUD_drawGradient().
vector panel_pos_backup |
Definition at line 139 of file hud.qh.
Referenced by HUD_Panel_Arrow_Action(), HUD_Panel_InputEvent(), and HUD_Panel_Mouse().
Definition at line 225 of file hud.qh.
Referenced by HUD_Panel_Draw().
Definition at line 227 of file hud.qh.
Referenced by HUD_Panel_Draw().
Definition at line 226 of file hud.qh.
Referenced by HUD_Panel_Draw().
Definition at line 228 of file hud.qh.
Referenced by HUD_Panel_Draw().
vector panel_size |
Definition at line 160 of file hud.qh.
Referenced by HUD_Ammo(), HUD_Chat(), HUD_Configure_PostDraw(), HUD_EngineInfo(), HUD_HealthArmor(), HUD_InfoMessages(), HUD_MinigameBoard(), HUD_MinigameMenu(), HUD_MinigameMenu_MouseInput(), HUD_MinigameStatus(), HUD_ModIcons(), HUD_Notify(), HUD_Panel_Arrow_Action(), HUD_Panel_Check_Mouse_Pos(), HUD_Panel_CheckMove(), HUD_Panel_CheckResize(), HUD_Panel_DrawStrafeHUD(), HUD_Panel_Highlight(), HUD_Panel_HlBorder(), HUD_Panel_InputEvent(), HUD_Panel_LoadCvars(), HUD_Panel_Mouse(), HUD_Panel_SetPos(), HUD_Physics(), HUD_Powerups(), HUD_PressedKeys(), HUD_Quickmenu_DrawEntry(), HUD_RaceTimer(), HUD_Radar(), HUD_Radar_Mouse(), HUD_Score(), HUD_StrafeHUD(), HUD_Timer(), HUD_Weapons(), Item_ItemsTime_Allow(), MapStats_DrawKeyValue(), QuickMenu_Mouse(), Scoreboard_Draw(), Scoreboard_DrawHeader(), Scoreboard_DrawItem(), Scoreboard_DrawOthers(), Scoreboard_FixColumnWidth(), Scoreboard_MakeTable(), and Scoreboard_Rankings_Draw().
vector panel_size_backup |
Definition at line 140 of file hud.qh.
Referenced by HUD_Panel_Arrow_Action(), HUD_Panel_InputEvent(), and HUD_Panel_Mouse().
vector panel_size_copied |
Definition at line 142 of file hud.qh.
Referenced by HUD_Panel_InputEvent().
int prev_armor |
Definition at line 238 of file hud.qh.
Referenced by HUD_HealthArmor().
int prev_health |
Definition at line 238 of file hud.qh.
Referenced by HUD_HealthArmor(), and NET_HANDLE().
int prev_p_armor |
Definition at line 246 of file hud.qh.
Referenced by HUD_HealthArmor().
int prev_p_health |
Definition at line 246 of file hud.qh.
Referenced by HUD_HealthArmor(), and NET_HANDLE().
PlayerScoreField ps_primary |
Definition at line 116 of file hud.qh.
Referenced by Cmd_Scoreboard_SetFields(), HUD_Mod_Race(), HUD_Score(), MUTATOR_HOOKFUNCTION(), Scoreboard_ComparePlayerScores(), and Scoreboard_InitScores().
PlayerScoreField ps_secondary |
Definition at line 116 of file hud.qh.
Referenced by Cmd_Scoreboard_SetFields(), Scoreboard_ComparePlayerScores(), and Scoreboard_InitScores().
bool radar_panel_modified |
Definition at line 74 of file hud.qh.
Referenced by HUD_Radar().
float resizeCorner |
Definition at line 105 of file hud.qh.
Referenced by HUD_Panel_Arrow_Action(), HUD_Panel_CheckResize(), HUD_Panel_Highlight(), HUD_Panel_Mouse(), and HUD_Panel_SetPosSize().
const int S_ALT = 4 |
Definition at line 129 of file hud.qh.
Referenced by HUD_Minigame_InputEvent(), HUD_Panel_Arrow_Action(), HUD_Panel_InputEvent(), m_keydown(), m_keyup(), MapVote_InputEvent(), and QuickMenu_InputEvent().
const int S_CTRL = 2 |
Definition at line 128 of file hud.qh.
Referenced by HUD_Minigame_InputEvent(), HUD_Panel_Arrow_Action(), HUD_Panel_InputEvent(), HUD_Panel_Mouse(), InputBox_keyDown(), m_keydown(), m_keyup(), MapVote_InputEvent(), QuickMenu_InputEvent(), QuickMenu_Mouse(), QuickMenu_Page_ActiveEntry(), XonoticCvarList_keyDown(), XonoticMapList_keyDown(), and XonoticScreenshotViewerDialog_keyDown().
const int S_SHIFT = 1 |
Definition at line 127 of file hud.qh.
Referenced by HUD_Minigame_InputEvent(), HUD_Panel_Arrow_Action(), HUD_Panel_InputEvent(), InputContainer_keyDown(), m_keydown(), m_keyup(), MapVote_InputEvent(), Nexposee_keyDown(), and QuickMenu_InputEvent().
vector SIZE_CURSOR = '32 32 0' |
Definition at line 7 of file hud.qh.
Referenced by draw_cursor(), and LoadMenuSkinValues().
float teamnagger |
Definition at line 124 of file hud.qh.
Referenced by NET_HANDLE().
int ts_primary |
Definition at line 117 of file hud.qh.
Referenced by HUD_Score(), Scoreboard_CompareTeamScores(), and Scoreboard_InitScores().
int ts_secondary |
Definition at line 117 of file hud.qh.
Referenced by Scoreboard_CompareTeamScores(), and Scoreboard_InitScores().
int vote_active |
Definition at line 97 of file hud.qh.
Referenced by HUD_Vote(), LocalCommand_handlevote(), and NET_HANDLE().
float vote_change |
Definition at line 100 of file hud.qh.
Referenced by LocalCommand_handlevote().
int vote_highlighted |
Definition at line 95 of file hud.qh.
Referenced by NET_HANDLE().
int vote_needed |
Definition at line 94 of file hud.qh.
Referenced by NET_HANDLE().
int vote_nocount |
Definition at line 93 of file hud.qh.
Referenced by HUD_Vote(), and NET_HANDLE().
int vote_prev |
Definition at line 98 of file hud.qh.
Referenced by LocalCommand_handlevote().
int vote_yescount |
Definition at line 92 of file hud.qh.
Referenced by HUD_Vote(), and NET_HANDLE().
int weapon_accuracy[REGISTRY_MAX(Weapons)] |
Definition at line 110 of file hud.qh.
Referenced by CSQC_Init(), HUD_Weapons(), NET_HANDLE(), Scoreboard_AccuracyStats_Draw(), and Scoreboard_AccuracyStats_WouldDraw().
float weaponprevtime |
Definition at line 122 of file hud.qh.
Referenced by HUD_Weapons().
float weapontime |
Definition at line 121 of file hud.qh.
Referenced by HUD_Weapons(), NET_HANDLE(), and View_CheckButtonStatus().