1 #ifndef SERVER_WAYPOINTSPRITES_H
2 #define SERVER_WAYPOINTSPRITES_H
4 ..entity owned_by_field;
10 .float(entity) waypointsprite_visible_for_player;
12 void WaypointSprite_UpdateSprites(entity e, string m1, string m2, string m3);
14 void WaypointSprite_UpdateHealth(entity e, float f);
16 void WaypointSprite_UpdateMaxHealth(entity e, float f);
18 void WaypointSprite_UpdateBuildFinished(entity e, float f);
20 void WaypointSprite_UpdateOrigin(entity e, vector o);
22 void WaypointSprite_UpdateRule(entity e, float t, float r);
24 void WaypointSprite_UpdateTeamRadar(entity e, float icon, vector col);
26 .float waypointsprite_pingtime;
27 .float waypointsprite_helpmetime;
28 void WaypointSprite_Ping(entity e);
30 float waypointsprite_limitedrange, waypointsprite_deployed_lifetime, waypointsprite_deadlifetime;
32 void WaypointSprite_HelpMePing(entity e);
34 void WaypointSprite_FadeOutIn(entity e, float t);
36 void WaypointSprite_Init();
37 void WaypointSprite_InitClient(entity e);
39 void WaypointSprite_Kill(entity wp);
41 void WaypointSprite_Disown(entity wp, float fadetime);
43 void WaypointSprite_Think();
45 float WaypointSprite_visible_for_player(entity e);
47 entity WaypointSprite_getviewentity(entity e);
49 float WaypointSprite_isteammate(entity e, entity e2);
51 float WaypointSprite_Customize();
53 float WaypointSprite_SendEntity(entity to, float sendflags);
55 void WaypointSprite_Reset();
57 entity WaypointSprite_Spawn(
59 float lifetime, float maxdistance, // lifetime, max distance
60 entity ref, vector ofs, // position
61 entity showto, float t, // show to whom? Use a flag to indicate a team
62 entity own, .entity ownfield, // remove when own gets killed
63 float hideable, // true when it should be controlled by cl_hidewaypoints
64 float icon, vector rgb // initial icon and color
67 entity WaypointSprite_SpawnFixed(
72 float icon, vector rgb // initial icon and color
75 .entity waypointsprite_deployed_fixed;
76 entity WaypointSprite_DeployFixed(
80 float icon, vector rgb // initial icon and color
83 .entity waypointsprite_deployed_personal;
84 entity WaypointSprite_DeployPersonal(
87 float icon, vector rgb // initial icon and color
90 .entity waypointsprite_attached;
91 .entity waypointsprite_attachedforcarrier;
92 entity WaypointSprite_Attach(
95 float icon, vector rgb // initial icon and color
98 entity WaypointSprite_AttachCarrier(
101 float icon, vector rgb // initial icon and color
104 void WaypointSprite_DetachCarrier(entity carrier);
106 void WaypointSprite_ClearPersonal();
108 void WaypointSprite_ClearOwned();
110 void WaypointSprite_PlayerDead();
112 void WaypointSprite_PlayerGone();