26 classfield(WaypointSprite) .float build_started;
27 classfield(WaypointSprite) .float build_starthealth;
28 classfield(WaypointSprite) .float build_finished;
30 bool autocvar_cl_hidewaypoints;
32 float autocvar_g_waypointsprite_alpha;
33 float autocvar_g_waypointsprite_crosshairfadealpha;
34 float autocvar_g_waypointsprite_crosshairfadedistance;
35 float autocvar_g_waypointsprite_crosshairfadescale;
36 float autocvar_g_waypointsprite_distancealphaexponent;
37 float autocvar_g_waypointsprite_distancefadealpha;
38 float autocvar_g_waypointsprite_distancefadedistancemultiplier;
39 float autocvar_g_waypointsprite_distancefadescale;
40 float autocvar_g_waypointsprite_edgefadealpha;
41 float autocvar_g_waypointsprite_edgefadedistance;
42 float autocvar_g_waypointsprite_edgefadescale;
43 float autocvar_g_waypointsprite_edgeoffset_bottom;
44 float autocvar_g_waypointsprite_edgeoffset_left;
45 float autocvar_g_waypointsprite_edgeoffset_right;
46 float autocvar_g_waypointsprite_edgeoffset_top;
47 float autocvar_g_waypointsprite_fontsize;
48 int autocvar_g_waypointsprite_itemstime;
49 float autocvar_g_waypointsprite_minalpha;
50 float autocvar_g_waypointsprite_minscale;
51 float autocvar_g_waypointsprite_normdistance;
52 float autocvar_g_waypointsprite_scale;
53 int autocvar_g_waypointsprite_spam;
54 float autocvar_g_waypointsprite_timealphaexponent;
55 bool autocvar_g_waypointsprite_turrets =
true;
56 float autocvar_g_waypointsprite_turrets_maxdist = 5000;
57 bool autocvar_g_waypointsprite_turrets_text =
false;
58 bool autocvar_g_waypointsprite_turrets_onlyhurt =
false;
59 bool autocvar_g_waypointsprite_uppercase;
60 bool autocvar_g_waypointsprite_text;
61 float autocvar_g_waypointsprite_iconsize = 32;
62 bool autocvar_g_waypointsprite_iconcolor;
64 float waypointsprite_fadedistance;
65 float waypointsprite_normdistance;
66 float waypointsprite_minscale;
67 float waypointsprite_minalpha;
68 float waypointsprite_distancealphaexponent;
69 float waypointsprite_timealphaexponent;
70 float waypointsprite_scale;
71 float waypointsprite_fontsize;
72 float waypointsprite_edgefadealpha;
73 float waypointsprite_edgefadescale;
74 float waypointsprite_edgefadedistance;
75 float waypointsprite_edgeoffset_bottom;
76 float waypointsprite_edgeoffset_left;
77 float waypointsprite_edgeoffset_right;
78 float waypointsprite_edgeoffset_top;
79 float waypointsprite_crosshairfadealpha;
80 float waypointsprite_crosshairfadescale;
81 float waypointsprite_crosshairfadedistance;
82 float waypointsprite_distancefadealpha;
83 float waypointsprite_distancefadescale;
84 float waypointsprite_distancefadedistance;
85 float waypointsprite_alpha;
87 const float SPRITE_HEALTHBAR_WIDTH = 104;
88 const float SPRITE_HEALTHBAR_HEIGHT = 7;
89 const float SPRITE_HEALTHBAR_MARGIN = 6;
90 const float SPRITE_HEALTHBAR_BORDER = 2;
91 const float SPRITE_HEALTHBAR_BORDERALPHA = 1;
92 const float SPRITE_HEALTHBAR_HEALTHALPHA = 0.5;
93 const float SPRITE_ARROW_SCALE = 1.0;
94 const float SPRITE_HELPME_BLINK = 2;
96 float waypointsprite_count, waypointsprite_newcount;
102 void drawhealthbar(
vector org,
float rot,
float h,
vector sz,
vector hotspot,
float width,
float height,
float margin,
float border,
float align,
vector rgb,
float a,
vector hrgb,
float ha,
float f);
108 vector drawsprite_TextOrIcon(
bool is_text,
vector o,
float ang,
float minwidth,
vector rgb,
float a,
vector sz,
string str);
110 float spritelookupblinkvalue(
entity this,
string s);
112 string spritelookuptext(
entity this,
string s);
119 void Ent_RemoveWaypointSprite(
entity this);
121 void Ent_WaypointSprite(
entity this,
bool isnew);
123 void WaypointSprite_Load_Frames(
string ext);
125 void WaypointSprite_Load();
127 void Draw_WaypointSprite(
entity this);
133 float autocvar_sv_waypointsprite_deadlifetime;
134 float autocvar_sv_waypointsprite_deployed_lifetime;
135 float autocvar_sv_waypointsprite_limitedrange;
147 void WaypointSprite_UpdateHealth(
entity e,
float f);
149 void WaypointSprite_UpdateMaxHealth(
entity e,
float f);
151 void WaypointSprite_UpdateBuildFinished(
entity e,
float f);
155 void WaypointSprite_UpdateRule(
entity e,
float t,
float r);
159 .float waypointsprite_pingtime;
160 .float waypointsprite_helpmetime;
161 void WaypointSprite_Ping(
entity e);
163 float waypointsprite_limitedrange, waypointsprite_deployed_lifetime, waypointsprite_deadlifetime;
165 void WaypointSprite_HelpMePing(
entity e);
167 void WaypointSprite_FadeOutIn(
entity e,
float t);
169 void WaypointSprite_Init();
171 void WaypointSprite_Kill(
entity wp);
173 void WaypointSprite_Disown(
entity wp,
float fadetime);
175 void WaypointSprite_Think(
entity this);
183 bool WaypointSprite_Customize(
entity this,
entity client);
187 void WaypointSprite_Reset(
entity this);
189 entity WaypointSprite_Spawn(
199 entity WaypointSprite_SpawnFixed(
207 .entity waypointsprite_deployed_fixed;
208 entity WaypointSprite_DeployFixed(
216 .entity waypointsprite_deployed_personal;
217 entity WaypointSprite_DeployPersonal(
224 .entity waypointsprite_attached;
225 .entity waypointsprite_attachedforcarrier;
226 entity WaypointSprite_Attach(
233 entity WaypointSprite_AttachCarrier(
239 void WaypointSprite_DetachCarrier(
entity carrier);
241 void WaypointSprite_ClearPersonal(
entity this);
243 void WaypointSprite_ClearOwned(
entity this);
245 void WaypointSprite_PlayerDead(
entity this);
247 void WaypointSprite_PlayerGone(
entity this);
const int SPRITERULE_SPECTATOR
const int SPRITERULE_DEFAULT
const int SPRITERULE_TEAMPLAY
int wp_extra
Additional networked waypoint state, used for items, weapons, buffs.
vector(float skel, float bonenum) _skel_get_boneabs_hidden