#include "teamradar.qh"
-#include "hud.qh"
+#include "hud/all.qh"
-#include "../common/mutators/mutator/waypoints/all.qh"
+#include <common/mutators/mutator/waypoints/all.qh>
#include "../lib/csqcmodel/interpolate.qh"
return out;
}
-vector yinvert(vector v)
-{
- v.y = 1 - v.y;
- return v;
-}
-
void draw_teamradar_background(float fg)
{
float fga;
// radar links
-void Ent_RadarLink()
-{SELFPARAM();
+NET_HANDLE(ENT_CLIENT_RADARLINK, bool isnew)
+{
int sendflags = ReadByte();
- InterpolateOrigin_Undo();
+ InterpolateOrigin_Undo(self);
self.iflags = IFLAG_VELOCITY | IFLAG_ORIGIN;
self.classname = "radarlink";
self.team = ReadByte();
}
- InterpolateOrigin_Note();
+ return = true;
+
+ InterpolateOrigin_Note(this);
}