|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "shownames.qh"#include <client/draw.qh>#include <client/hud/_mod.qh>#include <client/view.qh>#include <common/constants.qh>#include <common/ent_cs.qh>#include <common/net_linked.qh>#include <common/resources/cl_resources.qh>#include <common/teams.qh>#include <lib/csqcmodel/cl_model.qh>Go to the source code of this file.
Macros | |
| #define | OFF_SCREEN(o) |
Functions | |
| void | Draw_ShowNames (entity this) |
| void | Draw_ShowNames_All () |
| STATIC_INIT (shownames_ent) | |
Variables | |
| vector | box_ofs |
| vector | box_org |
| LinkedList | shownames_ent |
| const float | SHOWNAMES_FADEDELAY = 0 |
| const float | SHOWNAMES_FADESPEED = 4 |
| #define OFF_SCREEN | ( | o | ) |
Referenced by Draw_ShowNames().
Definition at line 40 of file shownames.qc.
References alpha, ALPHA_MIN_VISIBLE, autocvar_chase_active, autocvar_hud_panel_healtharmor_maxarmor, autocvar_hud_panel_healtharmor_maxhealth, autocvar_hud_shownames_alpha, autocvar_hud_shownames_antioverlap, autocvar_hud_shownames_antioverlap_minalpha, autocvar_hud_shownames_aspect, autocvar_hud_shownames_crosshairdistance, autocvar_hud_shownames_crosshairdistance_antioverlap, autocvar_hud_shownames_crosshairdistance_time, autocvar_hud_shownames_decolorize, autocvar_hud_shownames_enemies, autocvar_hud_shownames_fontsize, autocvar_hud_shownames_maxdistance, autocvar_hud_shownames_mindistance, autocvar_hud_shownames_offset, autocvar_hud_shownames_resize, autocvar_hud_shownames_self, autocvar_hud_shownames_status, autocvar_hud_shownames_statusbar_height, autocvar_hud_shownames_statusbar_highlight, box_ofs, box_org, boxesoverlap(), csqcmodel_isdead, current_player, drawcolorcodedstring, drawfill, DRAWFLAG_NORMAL, drawfontscale, entcs, entcs_GetAlpha(), entcs_GetName(), entcs_GetTeam(), entcs_receiver, entity(), eX, eY, eZ, frametime, GetResource(), HUD_Panel_DrawProgressBar(), LL_EACH, M_ARGV, max(), max_shot_distance, min(), MOVE_NOMONSTERS, MUTATOR_CALLHOOK, NULL, OFF_SCREEN, origin, player_localentnum, playername(), pointtime, project_3d_to_2d(), RES_ARMOR, shownames_ent, SHOWNAMES_FADEDELAY, SHOWNAMES_FADESPEED, spectatee_status, spectatee_status_changed_time, stringwidth, stringwidth_colors(), sv_entnum, teamplay, textShortenToWidth(), time, trace_ent, trace_fraction, trace_networkentity, vdist, vec2, vector, vid_conheight, vid_conwidth, view_origin, vlen(), and vlen2.
Referenced by Draw_ShowNames_All().
| void Draw_ShowNames_All | ( | ) |
Definition at line 223 of file shownames.qc.
References assert, autocvar_hud_shownames, Draw_ShowNames(), entcs, entcs_IsDead(), entcs_IsSpectating, entcs_receiver, entity(), eprint(), GetResource(), getthink, LL_EACH, make_impure, make_pure, RES_ARMOR, SetResourceExplicit(), and shownames_ent.
Referenced by CSQC_UpdateView().
| STATIC_INIT | ( | shownames_ent | ) |
Definition at line 23 of file shownames.qc.
References entity(), LL_NEW, LL_PUSH(), maxclients, new_pure, and shownames_ent.
| vector box_ofs |
Definition at line 35 of file shownames.qc.
Referenced by Draw_ShowNames().
| vector box_org |
Definition at line 36 of file shownames.qc.
Referenced by Draw_ShowNames().
| LinkedList shownames_ent |
Definition at line 22 of file shownames.qc.
Referenced by Draw_ShowNames(), Draw_ShowNames_All(), and STATIC_INIT().
| const float SHOWNAMES_FADEDELAY = 0 |
Definition at line 39 of file shownames.qc.
Referenced by Draw_ShowNames().
| const float SHOWNAMES_FADESPEED = 4 |
Definition at line 38 of file shownames.qc.
Referenced by Draw_ShowNames().