5 void() SUB_CalcMoveDone;
6 void() SUB_CalcAngleMoveDone;
14 Applies some friction to self
24 Makes client invisible or removes non-client
27 void SUB_VanishOrRemove (entity ent);
29 void SUB_SetFade_Think ();
35 Fade 'ent' out when time >= 'when'
38 void SUB_SetFade (entity ent, float when, float fadetime);
44 calculate self.velocity and self.nextthink to reach dest from
45 self.origin traveling at speed
48 void SUB_CalcMoveDone ();
50 .float platmovetype_turn;
51 void SUB_CalcMove_controller_think ();
53 void SUB_CalcMove_controller_setbezier (entity controller, vector org, vector control, vector dest);
55 void SUB_CalcMove_controller_setlinear (entity controller, vector org, vector dest);
57 void SUB_CalcMove_Bezier (vector tcontrol, vector tdest, float tspeedtype, float tspeed, void() func);
59 void SUB_CalcMove (vector tdest, float tspeedtype, float tspeed, void() func);
61 void SUB_CalcMoveEnt (entity ent, vector tdest, float tspeedtype, float tspeed, void() func);
67 calculate self.avelocity and self.nextthink to reach destangle from
70 The calling function should make sure self.think is valid
73 void SUB_CalcAngleMoveDone ();
75 // FIXME: I fixed this function only for rotation around the main axes
76 void SUB_CalcAngleMove (vector destangle, float tspeedtype, float tspeed, void() func);
78 void SUB_CalcAngleMoveEnt (entity ent, vector destangle, float tspeedtype, float tspeed, void() func);
84 unused but required by the engine
95 A version of traceline that must be used by SOLID_SLIDEBOX things that want to hit SOLID_CORPSE things with a trace attack
96 Additionally it moves players back into the past before the trace and restores them afterward.
99 void tracebox_antilag_force_wz (entity source, vector v1, vector mi, vector ma, vector v2, float nomonst, entity forent, float lag, float wz);
100 void traceline_antilag_force (entity source, vector v1, vector v2, float nomonst, entity forent, float lag);
101 void traceline_antilag (entity source, vector v1, vector v2, float nomonst, entity forent, float lag);
102 void tracebox_antilag (entity source, vector v1, vector mi, vector ma, vector v2, float nomonst, entity forent, float lag);
103 void WarpZone_traceline_antilag_force (entity source, vector v1, vector v2, float nomonst, entity forent, float lag);
104 void WarpZone_traceline_antilag (entity source, vector v1, vector v2, float nomonst, entity forent, float lag);
105 void WarpZone_tracebox_antilag (entity source, vector v1, vector mi, vector ma, vector v2, float nomonst, entity forent, float lag);
107 float tracebox_inverted (vector v1, vector mi, vector ma, vector v2, float nomonsters, entity forent, float stopatentity, entity ignorestopatentity); // returns the number of traces done, for benchmarking
109 void traceline_inverted (vector v1, vector v2, float nomonsters, entity forent, float stopatentity, entity ignorestopatentity);
115 Returns a point at least 12 units away from walls
116 (useful for explosion animations, although the blast is performed where it really happened)
120 vector findbetterlocation (vector org, float mindist);
124 Angc used for animations
129 float angc (float a1, float a2);
135 .float lodmodelindex0;
136 .float lodmodelindex1;
137 .float lodmodelindex2;
141 float LOD_customize();
143 void LOD_uncustomize();
145 void LODmodel_attach(entity this);
147 void ApplyMinMaxScaleAngles(entity e);
149 void SetBrushEntityModel();
151 void SetBrushEntityModelNoLOD();
159 void SetMovedir(entity this);
163 void InitSolidBSPTrigger();
165 float InitMovingBrushTrigger();