#ifdef SVQC
-#include "../../../server/weapons/common.qh"
+
#include "../../../server/_all.qh"
+#include "../../../server/g_subs.qh"
+#include "../../../server/waypointsprites.qh"
+#include "../../../server/g_damage.qh"
+#include "../../../server/bot/bot.qh"
+#include "../../common/csqcmodel_settings.qh"
+#include "../../../csqcmodellib/sv_model.qh"
+#include "../../../server/weapons/common.qh"
+
.entity sprite;
.float dmg;
#if defined(CSQC)
- #include "../../../dpdefs/csprogsdefs.qh"
+ #include "../../../client/_all.qh"
#include "../../buffs.qh"
#include "../../../csqcmodellib/interpolate.qh"
#include "../../../client/main.qh"
// a laser goes from origin in direction angles
// it has color 'colormod'
// and stops when something is in the way
-.int cnt; // end effect
-.vector colormod;
-.int state; // on-off
-.int count; // flags for the laser
-.vector velocity;
-.float alpha;
-.float scale; // scaling factor of the thickness
-.float modelscale; // scaling factor of the dlight
+entityclass(Laser);
+class(Laser) .int cnt; // end effect
+class(Laser) .vector colormod;
+class(Laser) .int state; // on-off
+class(Laser) .int count; // flags for the laser
+class(Laser) .vector velocity;
+class(Laser) .float alpha;
+class(Laser) .float scale; // scaling factor of the thickness
+class(Laser) .float modelscale; // scaling factor of the dlight
void Draw_Laser()
{
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../../dpdefs/progsdefs.qh"
- #include "../../../dpdefs/dpextensions.qh"
#include "../../../server/_all.qh"
+ #include "../../constants.qh"
#include "../../../server/constants.qh"
#include "../../../server/defs.qh"
#endif
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../../dpdefs/progsdefs.qh"
- #include "../../../dpdefs/dpextensions.qh"
+ #include "../../../server/_all.qh"
#include "../../util.qh"
- #include "../../../server/_all.qh"
+ #include "../../../server/defs.qh"
#endif
#ifdef SVQC
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
+ #include "../../server/_all.qh"
#include "../../warpzonelib/common.qh"
#include "../../warpzonelib/util_server.qh"
#include "../../warpzonelib/server.qh"
#include "../constants.qh"
#include "../triggers/subs.qh"
#include "../util.qh"
- #include "../../server/_all.qh"
#include "../../server/weapons/csqcprojectile.qh"
#include "../../server/autocvars.qh"
#include "../../server/constants.qh"
// TODO: split target_push and put it in the target folder
#ifdef SVQC
+#include "../../../server/_all.qh"
#include "jumppads.qh"
#include "../../movetypes/movetypes.qh"
-#include "../../../server/_all.qh"
void trigger_push_use()
{
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../../../dpdefs/progsdefs.qh"
+ #include "../../../server/_all.qh"
#include "../../util.qh"
- #include "../../../server/_all.qh"
+ #include "../../../server/defs.qh"
#include "secret.qh"
#endif
#elif defined(MENUQC)
#elif defined(SVQC)
#include "../../../server/_all.qh"
- #include "../../../dpdefs/progsdefs.qh"
#include "../../../warpzonelib/util_server.qh"
#include "../../weapons/all.qh"
#include "../../../server/defs.qh"