#include "autocvars.qh"
#include "main.qh"
+
#include "../common/notifications.qh"
#include "../common/stats.qh"
#include "../common/util.qh"
+
#include "../dpdefs/csprogsdefs.qh"
bool announcer_1min;
#include "autocvars.qh"
#include "defs.qh"
#include "main.qh"
+
#include "../common/util.qh"
+
#include "../dpdefs/csprogsdefs.qh"
#define CONSTANT_SPEED_DECAY
#include "movetypes.qh"
#include "prandom.qh"
#include "rubble.qh"
+
#include "../common/util.qh"
.float cnt;
#include "../main.qh"
#include "../mapvoting.qh"
#include "../miscfunctions.qh"
-#include "../scoreboard.qh"
+
+#include "../../common/mapinfo.qh"
+
#include "../../common/command/generic.qh"
#include "../../common/command/shared_defs.qh"
-#include "../../common/mapinfo.qh"
void DrawDebugModel()
{
#include "csqcmodel_hooks.qh"
+#include "autocvars.qh"
#include "defs.qh"
#include "gibs.qh"
#include "main.qh"
#include "miscfunctions.qh"
#include "player_skeleton.qh"
#include "sortlist.qh"
-#include "../client/autocvars.qh"
-#include "../client/weapons/projectile.qh"
+
+#include "weapons/projectile.qh"
+
#include "../common/animdecide.qh"
#include "../common/csqcmodel_settings.qh"
#include "../common/teams.qh"
+
#include "../csqcmodellib/cl_model.qh"
#include "../csqcmodellib/cl_player.qh"
#include "../csqcmodellib/interpolate.qh"
+
#include "../warpzonelib/mathlib.qh"
.float death_time;
#include "gibs.qh"
#include "movetypes.qh"
#include "prandom.qh"
+
#include "vehicles/vehicles.qh"
+
#include "../common/constants.qh"
#include "../common/deathtypes.qh"
#include "../common/util.qh"
+
#include "../common/weapons/weapons.qh"
+
#include "../dpdefs/csprogsdefs.qh"
.entity tag_entity;
#include "effects.qh"
#include "autocvars.qh"
+
#include "../dpdefs/csprogsdefs.qh"
/*
#include "movetypes.qh"
#include "prandom.qh"
#include "rubble.qh"
+
#include "../common/constants.qh"
#include "../common/util.qh"
#include "main.qh"
#include "miscfunctions.qh"
#include "noise.qh"
+
#include "../common/teams.qh"
+
#include "../csqcmodellib/interpolate.qh"
+
#include "../warpzonelib/common.qh"
#include "../warpzonelib/mathlib.qh"
#include "scoreboard.qh"
#include "sortlist.qh"
#include "teamradar.qh"
+#include "t_items.qh"
+
#include "../common/buffs.qh"
#include "../common/constants.qh"
#include "../common/counting.qh"
#include "../common/mapinfo.qh"
#include "../common/nades.qh"
#include "../common/stats.qh"
+
#include "../csqcmodellib/cl_player.qh"
-#include "../server/t_items.qh"
+
#include "../warpzonelib/mathlib.qh"
/*
#include "defs.qh"
#include "hud.qh"
#include "miscfunctions.qh"
+
#include "../common/constants.qh"
+
#include "../dpdefs/csprogsdefs.qh"
#include "../dpdefs/keycodes.qh"
#include "hook.qh"
#include "main.qh"
+
#include "../common/buffs.qh"
+
#include "../csqcmodellib/cl_model.qh"
#include "../csqcmodellib/interpolate.qh"
+
#include "../dpdefs/csprogsdefs.qh"
#include "target_music.qh"
#include "tturrets.qh"
#include "tuba.qh"
-#include "vehicles/vehicles.qh"
+#include "t_items.qh"
#include "wall.qh"
#include "waypointsprites.qh"
+
+#include "vehicles/bumblebee.qh"
+#include "vehicles/vehicles.qh"
+
#include "weapons/projectile.qh"
+
#include "../common/buffs.qh"
#include "../common/deathtypes.qh"
#include "../common/mapinfo.qh"
#include "../common/notifications.qh"
#include "../common/stats.qh"
#include "../common/teams.qh"
+
#include "../common/weapons/weapons.qh"
+
#include "../csqcmodellib/cl_model.qh"
#include "../csqcmodellib/interpolate.qh"
-#include "../server/t_items.qh"
-#include "../server/vehicles/bumblebee.qh"
+
#include "../warpzonelib/client.qh"
// --------------------------------------------------------------------------
#include "main.qh"
#include "miscfunctions.qh"
#include "scoreboard.qh"
+
#include "../common/mapinfo.qh"
#include "../common/util.qh"
+
#include "../dpdefs/keycodes.qh"
string MapVote_FormatMapItem(int id, string map, float _count, float maxwidth, vector fontsize)
#include "hud.qh"
#include "main.qh"
#include "sortlist.qh"
+
#include "../common/command/generic.qh"
+
#include "../common/teams.qh"
#include "../common/urllib.qh"
#include "../common/util.qh"
+
#include "../csqcmodellib/cl_model.qh"
+
#include "../warpzonelib/mathlib.qh"
void AuditLists()
--- /dev/null
+#include "../server/movelib.qc"
--- /dev/null
+#include "../server/movelib.qh"
#include "movetypes.qh"
#include "defs.qh"
+#include "t_items.qh"
+
#include "../common/stats.qh"
#include "../common/util.qh"
+
#include "../csqcmodellib/common.qh"
+
#include "../dpdefs/csprogsdefs.qh"
-#include "../server/t_items.qh"
+
const int MOVEFLAG_GRAVITYUNAFFECTEDBYTICRATE = 4;
#include "autocvars.qh"
#include "bgmscript.qh"
#include "main.qh"
+
#include "../common/stats.qh"
#include "../common/util.qh"
+
#include "../warpzonelib/common.qh"
void Draw_PointParticles()
#include "player_skeleton.qh"
#include "../common/csqcmodel_settings.qh"
+
#include "../warpzonelib/anglestransform.qh"
class(Skeleton) .float skeleton_info_modelindex;
#include "prandom.qh"
#include "../dpdefs/csprogsdefs.qh"
+
#include "../warpzonelib/mathlib.qh"
// prandom - PREDICTABLE random number generator (not seeded yet)
mapvoting.qc
miscfunctions.qc
modeleffects.qc
+movelib.qc
movetypes.qc
noise.qc
particles.qc
teamradar.qc
tturrets.qc
tuba.qc
-vehicles/vehicles.qc
+t_items.qc
view.qc
wall.qc
waypointsprites.qc
command/cl_cmd.qc
+vehicles/bumblebee.qc
+vehicles/vehicles.qc
+
weapons/projectile.qc // TODO
../common/animdecide.qc
../csqcmodellib/cl_player.qc
../csqcmodellib/interpolate.qc
-../server/movelib.qc
-../server/t_items.qc
-../server/vehicles/bumblebee.qc
-
../warpzonelib/anglestransform.qc
../warpzonelib/client.qc
../warpzonelib/common.qc
#include "main.qh"
#include "miscfunctions.qh"
#include "sortlist.qh"
+
#include "../common/constants.qh"
#include "../common/counting.qh"
#include "../common/mapinfo.qh"
#include "hud.qh"
#include "main.qh"
#include "miscfunctions.qh"
+
#include "../common/constants.qh"
#include "../common/mapinfo.qh"
#include "../common/teams.qh"
#include "../common/util.qh"
+
#include "../csqcmodellib/cl_model.qh"
+
#include "../dpdefs/csprogsdefs.qh"
--- /dev/null
+#include "autocvars.qh"
+#include "main.qh"
+#include "movetypes.qh"
+#include "../common/buffs.qh"
+#include "../common/util.qh"
+#include "../common/weapons/weapons.qh"
+#include "../csqcmodellib/cl_model.qh"
+#include "../csqcmodellib/common.qh"
+#include "../dpdefs/csprogsdefs.qh"
+
+#include "../server/t_items.qc"
--- /dev/null
+#include "../server/t_items.qh"
#include "autocvars.qh"
#include "defs.qh"
#include "main.qh"
+
#include "../common/constants.qh"
#include "../common/util.qh"
+
#include "../warpzonelib/common.qh"
.string noise;
#include "hud.qh"
#include "main.qh"
#include "miscfunctions.qh"
+
#include "../common/util.qh"
+
#include "../csqcmodellib/interpolate.qh"
float vlen2d(vector v)
#include "hud.qh"
#include "main.qh"
#include "miscfunctions.qh"
+#include "movelib.qh"
#include "movetypes.qh"
#include "prandom.qh"
#include "teamradar.qh"
#include "waypointsprites.qh"
+
#include "../common/teams.qh"
-#include "../server/movelib.qh"
+
+#include "../server/tturrets/include/turrets_early.qh"
+
#include "../warpzonelib/anglestransform.qh"
#include "../warpzonelib/mathlib.qh"
#ifndef TTURRETS_H
#define TTURRETS_H
-#include "../server/tturrets/include/turrets_early.qh"
-
void ent_turret();
void turrets_precache();
entityclass(Turret)
#include "autocvars.qh"
#include "main.qh"
+
#include "../common/constants.qh"
#include "../common/util.qh"
+
#include "../warpzonelib/mathlib.qh"
#define TUBA_STARTNOTE(i, n) strcat("weapons/tuba", (i ? ftos(i) : ""), "_loopnote", ftos(n), ".wav")
--- /dev/null
+#include "../../server/vehicles/bumblebee.qc"
--- /dev/null
+#include "../../server/vehicles/bumblebee.qh"
#include "../movetypes.qh"
#include "../prandom.qh"
#include "../scoreboard.qh"
+#include "../t_items.qh"
+
#include "../../common/buffs.qh"
#include "../../common/constants.qh"
#include "../../common/stats.qh"
#include "../../common/util.qh"
+
#include "../../csqcmodellib/cl_model.qh"
+
#include "../../dpdefs/csprogsdefs.qh"
-#include "../../server/t_items.qh"
.float cnt;
#include "target_music.qh"
#include "vehicles/vehicles.qh"
#include "waypointsprites.qh"
+
#include "../common/constants.qh"
#include "../common/mapinfo.qh"
#include "../common/nades.qh"
#include "../common/stats.qh"
#include "../common/teams.qh"
#include "../common/util.qh"
+
#include "../common/weapons/weapons.qh"
+
#include "../csqcmodellib/cl_player.qh"
+
#include "../dpdefs/csprogsdefs.qh"
+
#include "../warpzonelib/client.qh"
#include "../warpzonelib/common.qh"
#include "../warpzonelib/mathlib.qh"
#include "autocvars.qh"
#include "bgmscript.qh"
#include "main.qh"
+
#include "../common/util.qh"
+
#include "../csqcmodellib/interpolate.qh"
.float alpha;
#include "main.qh"
#include "miscfunctions.qh"
#include "teamradar.qh"
+
#include "../common/buffs.qh"
#include "../common/constants.qh"
#include "../common/teams.qh"
+
#include "../common/weapons/weapons.qh"
+
#include "../csqcmodellib/interpolate.qh"
+
#include "../warpzonelib/mathlib.qh"
.float alpha;
#include "../defs.qh"
#include "../main.qh"
#include "../movetypes.qh"
+
#include "../../common/constants.qh"
#include "../../common/nades.qh"
#include "../../common/util.qh"
+
#include "../../csqcmodellib/interpolate.qh"
+
#include "../../warpzonelib/anglestransform.qh"
.float alpha;
#include "havocbot.qh"
+
#include "role_onslaught.qc"
#include "role_keyhunt.qc"
#include "roles.qc"
-#if defined(CSQC)
- #include "../dpdefs/csprogsdefs.qh"
- #include "../common/util.qh"
- #include "../common/buffs.qh"
- #include "../common/weapons/weapons.qh"
- #include "../client/autocvars.qh"
- #include "../client/movetypes.qh"
- #include "../client/main.qh"
- #include "../csqcmodellib/common.qh"
- #include "../csqcmodellib/cl_model.qh"
- #include "t_items.qh"
-#elif defined(MENUQC)
-#elif defined(SVQC)
- #include "../dpdefs/progsdefs.qh"
- #include "../dpdefs/dpextensions.qh"
- #include "../warpzonelib/util_server.qh"
- #include "../common/constants.qh"
- #include "../common/util.qh"
- #include "../common/monsters/monsters.qh"
- #include "../common/weapons/weapons.qh"
- #include "weapons/weaponsystem.qh"
- #include "t_items.qh"
+#include "t_items.qh"
+
+#if defined(SVQC)
#include "autocvars.qh"
#include "constants.qh"
#include "defs.qh"
- #include "../common/notifications.qh"
- #include "../common/deathtypes.qh"
+
#include "mutators/mutators_include.qh"
+
+ #include "weapons/weaponsystem.qh"
+
+ #include "../common/constants.qh"
+ #include "../common/deathtypes.qh"
+ #include "../common/notifications.qh"
+ #include "../common/util.qh"
+
+ #include "../common/monsters/monsters.qh"
+
+ #include "../common/weapons/weapons.qh"
+
+ #include "../dpdefs/dpextensions.qh"
+ #include "../dpdefs/progsdefs.qh"
+
+ #include "../warpzonelib/util_server.qh"
#endif
#ifdef CSQC
-const vector RACER_MIN = '-120 -120 -40';
-const vector RACER_MAX = '120 120 40';
+#include "racer.qh"
#ifdef SVQC
void racer_exit(float eject);
return;
}
}
-#endif // SVQC
\ No newline at end of file
+#endif // SVQC
--- /dev/null
+#ifndef RACER_H
+#define RACER_H
+const vector RACER_MIN = '-120 -120 -40';
+const vector RACER_MAX = '120 120 40';
+#endif
-const float RSM_FIRST = 0;
-const float RSM_BOMB = 0;
-const float RSM_FLARE = 1;
-const float RSM_LAST = 1;
-
-const vector RAPTOR_MIN = '-80 -80 0';
-const vector RAPTOR_MAX = '80 80 70';
+#include "raptor.qh"
#ifdef SVQC
float autocvar_g_vehicle_raptor;
--- /dev/null
+#ifndef RAPTOR_H
+#define RAPTOR_H
+const float RSM_FIRST = 0;
+const float RSM_BOMB = 0;
+const float RSM_FLARE = 1;
+const float RSM_LAST = 1;
+
+const vector RAPTOR_MIN = '-80 -80 0';
+const vector RAPTOR_MAX = '80 80 70';
+
+#endif
-const vector SPIDERBOT_MIN = '-75 -75 10';
-const vector SPIDERBOT_MAX = '75 75 125';
+#include "spiderbot.qh"
#ifdef SVQC
float autocvar_g_vehicle_spiderbot;
--- /dev/null
+#ifndef SPIDERBOT_H
+#define SPIDERBOT_H
+const vector SPIDERBOT_MIN = '-75 -75 10';
+const vector SPIDERBOT_MAX = '75 75 125';
+#endif
#define VEHICLES_H
#ifdef VEHICLES_ENABLED
-#include "vehicles.qc"
+# include "vehicles.qc"
-#include "racer.qc"
-#include "spiderbot.qc"
-#include "raptor.qc"
-#ifndef VEHICLES_NO_UNSTABLE
-#include "bumblebee.qc"
-#endif
+# include "racer.qc"
+# include "raptor.qc"
+# include "spiderbot.qc"
+
+# ifndef VEHICLES_NO_UNSTABLE
+# include "bumblebee.qc"
+# endif
#endif
+
#endif
}
clientdefs=("-DCSQC" "common/util-pre.qh" "dpdefs/csprogsdefs.qh")
-check client clientdefs[@]
+check "client" clientdefs[@]
+
+# serverdefs=("-DSVQC" "common/util-pre.qh" "server/sys-pre.qh" "dpdefs/progsdefs.qh" "dpdefs/dpextensions.qh" "server/sys-post.qh" "server/defs.qh" "server/autocvars.qh")
+# check "server" serverdefs[@]
+
+# menudefs=("-DMENUQC" "common/util-pre.qh" "dpdefs/menudefs.qh" "menu/oo/interface.qc" "menu/oo/implementation.qc")
+# check "menu" menudefs[@]
+#include "anglestransform.qh"
+
#if defined(CSQC)
#include "../dpdefs/csprogsdefs.qh"
- #include "anglestransform.qh"
#elif defined(MENUQC)
#elif defined(SVQC)
#include "../dpdefs/progsdefs.qh"
#include "../dpdefs/dpextensions.qh"
- #include "anglestransform.qh"
#endif
#ifdef POSITIVE_PITCH_IS_DOWN
+#include "client.qh"
+#include "common.qh"
+
#if defined(CSQC)
- #include "../dpdefs/csprogsdefs.qh"
- #include "common.qh"
- #include "client.qh"
#include "../client/autocvars.qh"
#include "../csqcmodellib/cl_model.qh"
+ #include "../dpdefs/csprogsdefs.qh"
#elif defined(MENUQC)
#elif defined(SVQC)
#endif
+#include "common.qh"
+
#if defined(CSQC)
#include "../dpdefs/csprogsdefs.qh"
- #include "common.qh"
#include "../server/t_items.qh"
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../dpdefs/progsdefs.qh"
- #include "../dpdefs/dpextensions.qh"
- #include "common.qh"
#include "../common/weapons/weapons.qh"
+ #include "../dpdefs/dpextensions.qh"
+ #include "../dpdefs/progsdefs.qh"
#endif
void WarpZone_Accumulator_Clear(entity acc)
+#include "mathlib.qh"
#if defined(CSQC)
#include "../dpdefs/csprogsdefs.qh"
- #include "mathlib.qh"
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../dpdefs/progsdefs.qh"
#include "../dpdefs/dpextensions.qh"
- #include "mathlib.qh"
+ #include "../dpdefs/progsdefs.qh"
#endif
int fpclassify(float x)
+#include "server.qh"
+
+#include "common.qh"
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../dpdefs/progsdefs.qh"
- #include "../dpdefs/dpextensions.qh"
- #include "common.qh"
- #include "server.qh"
#include "../common/constants.qh"
#include "../common/util.qh"
+ #include "../dpdefs/dpextensions.qh"
+ #include "../dpdefs/progsdefs.qh"
+ #include "../server/command/common.qh"
#include "../server/constants.qh"
#include "../server/defs.qh"
- #include "../server/command/common.qh"
#endif
#ifdef WARPZONELIB_KEEPDEBUG
+#include "util_server.qh"
+
+#include "common.qh"
+
#if defined(CSQC)
#elif defined(MENUQC)
#elif defined(SVQC)
- #include "../dpdefs/progsdefs.qh"
- #include "../dpdefs/dpextensions.qh"
- #include "common.qh"
- #include "util_server.qh"
#include "../csqcmodellib/sv_model.qh"
+ #include "../dpdefs/dpextensions.qh"
+ #include "../dpdefs/progsdefs.qh"
#endif
void WarpZoneLib_MoveOutOfSolid_Expand(entity e, vector by)