3 #include <common/weapons/_all.qh>
4 #include <common/stats.qh>
5 #include <server/client.qh>
6 #include <server/world.qh>
8 #include <server/intermission.qh>
9 #include <server/items/items.qh>
11 #include <server/mutators/_mod.qh>
13 #include <common/constants.qh>
14 #include <common/mapinfo.qh>
15 #include <common/turrets/all.qh>
17 float trace_hits_box_1d(float end, float thmi, float thma);
19 float trace_hits_box(vector start, vector end, vector thmi, vector thma);
21 float tracebox_hits_box(vector start, vector mi, vector ma, vector end, vector thmi, vector thma);
23 void crosshair_trace(entity pl);
25 void crosshair_trace_plusvisibletriggers(entity pl);
26 void WarpZone_crosshair_trace_plusvisibletriggers(entity pl);
27 void crosshair_trace_plusvisibletriggers__is_wz(entity pl, bool is_wz);
29 string uid2name(string myuid);
31 bool MoveToRandomLocationWithinBounds(entity e, vector boundmin, vector boundmax, float goodcontents, float badcontents, float badsurfaceflags, int attempts, float maxaboveground, float minviewdistance);
33 float MoveToRandomMapLocation(entity e, float goodcontents, float badcontents, float badsurfaceflags, float attempts, float maxaboveground, float minviewdistance);
35 float tracebox_hits_box(vector start, vector mi, vector ma, vector end, vector thmi, vector thma);
37 void traceline_antilag (entity source, vector v1, vector v2, float nomonst, entity forent, float lag);
39 void WarpZone_crosshair_trace(entity pl);
41 void WarpZone_traceline_antilag (entity source, vector v1, vector v2, float nomonst, entity forent, float lag);
43 #define PROJECTILE_TOUCH(e,t) MACRO_BEGIN if (WarpZone_Projectile_Touch(e,t)) return; MACRO_END
45 // copies a string to a tempstring (so one can strunzone it)
46 string strcat1(string s) = #115; // FRIK_FILE
48 IntrusiveList g_ctrace_changed;
49 STATIC_INIT(g_ctrace_changed) { g_ctrace_changed = IL_NEW(); }