1 vector WarpZone_TransformVAngles(vector t, vector ang)
6 ang = AnglesTransform_Normalize(AnglesTransform_ApplyToVAngles(t, ang), TRUE);
11 vector WarpZoneLib_BoxTouchesBrush_mins;
12 vector WarpZoneLib_BoxTouchesBrush_maxs;
13 entity WarpZoneLib_BoxTouchesBrush_ent;
14 entity WarpZoneLib_BoxTouchesBrush_ignore;
15 float WarpZoneLib_BoxTouchesBrush_Recurse()
21 tracebox('0 0 0', WarpZoneLib_BoxTouchesBrush_mins, WarpZoneLib_BoxTouchesBrush_maxs, '0 0 0', MOVE_NOMONSTERS, WarpZoneLib_BoxTouchesBrush_ignore);
23 if (trace_networkentity)
25 dprint("hit a network ent, cannot continue WarpZoneLib_BoxTouchesBrush\n");
26 // we cannot continue, as a player blocks us...
33 if (trace_ent == WarpZoneLib_BoxTouchesBrush_ent)
41 f = WarpZoneLib_BoxTouchesBrush_Recurse();
47 float WarpZoneLib_BoxTouchesBrush(vector mi, vector ma, entity e, entity ig)
56 WarpZoneLib_BoxTouchesBrush_mins = mi;
57 WarpZoneLib_BoxTouchesBrush_maxs = ma;
58 WarpZoneLib_BoxTouchesBrush_ent = e;
59 WarpZoneLib_BoxTouchesBrush_ignore = ig;
60 f = WarpZoneLib_BoxTouchesBrush_Recurse();