#include "laser.qh"
+#include "_all.qh"
#include "hook.qh"
-#include "main.qh"
-#include "../common/buffs.qh"
+#include "../common/buffs/all.qh"
#include "../csqcmodellib/cl_model.qh"
#include "../csqcmodellib/interpolate.qh"
-#include "../dpdefs/csprogsdefs.qh"
-
-
// a laser goes from origin in direction angles
// it has color 'colormod'
// and stops when something is in the way
-entityclass(Laser)
+entityclass(Laser);
class(Laser) .int cnt; // end effect
class(Laser) .vector colormod;
class(Laser) .int state; // on-off
class(Laser) .float scale; // scaling factor of the thickness
class(Laser) .float modelscale; // scaling factor of the dlight
-void Draw_Laser()
+void Draw_Laser(entity this)
{
if(!self.state)
return;