-#if defined(CSQC)
-#elif defined(MENUQC)
-#elif defined(SVQC)
- #include "../dpdefs/progsdefs.qc"
- #include "../dpdefs/dpextensions.qc"
- #include "../common/constants.qh"
- #include "constants.qh"
- #include "defs.qh"
- #include "mutators/mutators_include.qh"
-#endif
+#include "_all.qh"
+
+#include "defs.qh"
+#include "mutators/mutators_include.qh"
/**
* The point of these entities is to avoid the problems
void entcs_init()
{
- print("Initializing ClientSide information entities\n");
+ LOG_INFO("Initializing ClientSide information entities\n");
}
float entcs_customize()
-{
+{SELFPARAM();
entity o;
o = self.owner;
if(o.deadflag != DEAD_NO)
return true;
}
-float entcs_send(entity to, float sf)
-{
+float entcs_send(entity to, int sf)
+{SELFPARAM();
WriteByte(MSG_ENTITY, ENT_CLIENT_ENTCS);
WriteByte(MSG_ENTITY, sf);
if(sf & 1)
}
void entcs_think()
-{
+{SELFPARAM();
self.nextthink = time + 0.033333333333; // increase this to like 0.15 once the client can do smoothing
entity o;
}
entity attach_entcs()
-{
+{SELFPARAM();
entity ent;
ent = spawn();
}
void detach_entcs()
-{
+{SELFPARAM();
remove(self.entcs);
self.entcs = world;
}