]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Apply a standard alphabetical sort order to the server side includes and use constant...
authorMario <mario.mario@y7mail.com>
Fri, 16 Oct 2020 11:45:50 +0000 (21:45 +1000)
committerMario <mario.mario@y7mail.com>
Fri, 16 Oct 2020 11:45:50 +0000 (21:45 +1000)
61 files changed:
qcsrc/server/anticheat.qc
qcsrc/server/antilag.qc
qcsrc/server/bot/default/aim.qc
qcsrc/server/bot/default/bot.qc
qcsrc/server/bot/default/havocbot/havocbot.qc
qcsrc/server/bot/default/havocbot/roles.qc
qcsrc/server/bot/default/navigation.qc
qcsrc/server/bot/default/scripting.qc
qcsrc/server/bot/default/waypoints.qc
qcsrc/server/campaign.qc
qcsrc/server/cheats.qc
qcsrc/server/client.qc
qcsrc/server/clientkill.qc
qcsrc/server/command/banning.qc
qcsrc/server/command/cmd.qc
qcsrc/server/command/common.qc
qcsrc/server/command/getreplies.qc
qcsrc/server/command/radarmap.qc
qcsrc/server/command/sv_cmd.qc
qcsrc/server/command/vote.qc
qcsrc/server/compat/halflife.qc
qcsrc/server/compat/quake.qc
qcsrc/server/compat/quake3.qc
qcsrc/server/compat/wop.qc
qcsrc/server/damage.qc
qcsrc/server/handicap.qc
qcsrc/server/hook.qc
qcsrc/server/impulse.qc
qcsrc/server/ipban.qc
qcsrc/server/items/items.qc
qcsrc/server/items/spawning.qc
qcsrc/server/main.qc
qcsrc/server/mapvoting.qc
qcsrc/server/mutators/loader.qc
qcsrc/server/pathlib/expandnode.qc
qcsrc/server/pathlib/main.qc
qcsrc/server/pathlib/movenode.qc
qcsrc/server/pathlib/path_waypoint.qc
qcsrc/server/pathlib/utility.qc
qcsrc/server/player.qc
qcsrc/server/portals.qc
qcsrc/server/race.qc
qcsrc/server/resources.qc
qcsrc/server/round_handler.qc
qcsrc/server/scores.qc
qcsrc/server/scores_rules.qc
qcsrc/server/spawnpoints.qc
qcsrc/server/steerlib.qc
qcsrc/server/teamplay.qc
qcsrc/server/tests.qh
qcsrc/server/weapons/accuracy.qc
qcsrc/server/weapons/common.qc
qcsrc/server/weapons/csqcprojectile.qc
qcsrc/server/weapons/hitplot.qc
qcsrc/server/weapons/selection.qc
qcsrc/server/weapons/spawning.qc
qcsrc/server/weapons/throwing.qc
qcsrc/server/weapons/tracing.qc
qcsrc/server/weapons/weaponstats.qc
qcsrc/server/weapons/weaponsystem.qc
qcsrc/server/world.qc

index 536a3b6235ee1328d584468e1c2c8fc5f009f811..7567563e915f50562ea4d0c50d86773209d21323 100644 (file)
@@ -1,17 +1,16 @@
 #include "anticheat.qh"
 
-#include "antilag.qh"
-#include "autocvars.qh"
-#include <common/weapons/_all.qh>
+#include <common/playerstats.qh>
+#include <common/state.qh>
 #include <common/stats.qh>
+#include <common/weapons/_all.qh>
+#include <server/antilag.qh>
+#include <server/autocvars.qh>
 #include <server/client.qh>
+#include <server/command/common.qh>
 #include <server/gamelog.qh>
 #include <server/main.qh>
 
-#include "command/common.qh"
-#include <common/playerstats.qh>
-#include <common/state.qh>
-
 .float anticheat_jointime;
 
 .float anticheat_fixangle_endtime;
index d116bc10918b97fa480d665a1745bc23a765d2f8..c3229adfdb5d4bb4c5b7e307f4d294bca69a24bd 100644 (file)
@@ -1,16 +1,13 @@
 #include "antilag.qh"
-#if defined(CSQC)
-#elif defined(MENUQC)
-#elif defined(SVQC)
-    #include <common/weapons/_all.qh>
-    #include <common/stats.qh>
-    #include <server/weapons/common.qh>
-    #include <common/state.qh>
-    #include <common/monsters/sv_monsters.qh>
-    #include <common/vehicles/all.qh>
-       #include <lib/warpzone/common.qh>
-    #include "antilag.qh"
-#endif
+
+#include <common/monsters/sv_monsters.qh>
+#include <common/state.qh>
+#include <common/stats.qh>
+#include <common/vehicles/all.qh>
+#include <common/weapons/_all.qh>
+#include <lib/warpzone/common.qh>
+#include <server/antilag.qh>
+#include <server/weapons/common.qh>
 
 const int ANTILAG_MAX_ORIGINS = 64;
 .vector antilag_origins[ANTILAG_MAX_ORIGINS];
index fc6755fb040e2d31edeed6de13d19989677a8f8b..6b1488bac494ec2e2b68987aa13f47122a6dc105 100644 (file)
@@ -1,18 +1,13 @@
 #include "aim.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-
-#include "cvars.qh"
-
-#include "bot.qh"
-
 #include <common/physics/player.qh>
 #include <common/state.qh>
-
-#include "../../weapons/weaponsystem.qh"
-
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
+#include <server/bot/default/bot.qh>
+#include <server/bot/default/cvars.qh>
 #include <server/mutators/_mod.qh>
+#include <server/weapons/weaponsystem.qh>
 
 // traces multiple trajectories to find one that will impact the target
 // 'end' vector is the place it aims for,
index c42a053f45c8a421a8a0fff54fa1ade1023e172d..f6e991770fa00f8ba82bae1b78ae88cfc79c6f7c 100644 (file)
@@ -1,46 +1,35 @@
 #include "bot.qh"
 
-#include "cvars.qh"
-
-#include "aim.qh"
-#include "navigation.qh"
-#include "scripting.qh"
-#include "waypoints.qh"
-
-#include "havocbot/havocbot.qh"
-#include "havocbot/scripting.qh"
-
-#include "../../teamplay.qh"
-
-#include "../../antilag.qh"
-#include "../../autocvars.qh"
-#include "../../campaign.qh"
-#include "../../client.qh"
-#include <common/stats.qh>
-#include <server/world.qh>
-#include <server/damage.qh>
-#include "../../race.qh"
-#include <server/items/items.qh>
-
-#include <server/mutators/_mod.qh>
-
-#include "../../weapons/accuracy.qh"
-
-#include <common/physics/player.qh>
 #include <common/constants.qh>
-#include <common/net_linked.qh>
 #include <common/mapinfo.qh>
+#include <common/net_linked.qh>
+#include <common/physics/player.qh>
+#include <common/stats.qh>
 #include <common/teams.qh>
 #include <common/util.qh>
-
-#include <server/scores_rules.qh>
-
 #include <common/weapons/_all.qh>
-
 #include <lib/csqcmodel/sv_model.qh>
-
 #include <lib/warpzone/common.qh>
 #include <lib/warpzone/util_server.qh>
+#include <server/antilag.qh>
+#include <server/autocvars.qh>
+#include <server/bot/default/aim.qh>
+#include <server/bot/default/cvars.qh>
+#include <server/bot/default/havocbot/havocbot.qh>
+#include <server/bot/default/havocbot/scripting.qh>
+#include <server/bot/default/navigation.qh>
+#include <server/bot/default/scripting.qh>
+#include <server/bot/default/waypoints.qh>
+#include <server/campaign.qh>
+#include <server/client.qh>
+#include <server/damage.qh>
+#include <server/items/items.qh>
+#include <server/mutators/_mod.qh>
+#include <server/race.qh>
+#include <server/scores_rules.qh>
+#include <server/teamplay.qh>
+#include <server/weapons/accuracy.qh>
+#include <server/world.qh>
 
 STATIC_INIT(bot) { bot_calculate_stepheightvec(); }
 
index c5a955749476b71fc0a330f1bf3870d9f6c202f5..64d3c91539822b71350bbf395aebd5822c4099e6 100644 (file)
@@ -1,39 +1,34 @@
 #include "havocbot.qh"
 
-#include "roles.qh"
-
-#include <server/bot/api.qh>
-#include <server/client.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/damage.qh>
-#include <server/items/items.qh>
-#include <server/mutators/_mod.qh>
-#include <server/weapons/selection.qh>
-#include <server/weapons/weaponsystem.qh>
-#include <server/world.qh>
-#include "../cvars.qh"
-
-#include "../aim.qh"
-#include "../bot.qh"
-#include "../navigation.qh"
-#include "../scripting.qh"
-#include "../waypoints.qh"
-
 #include <common/constants.qh>
 #include <common/impulses/all.qh>
-#include <common/net_linked.qh>
-#include <common/physics/player.qh>
-#include <common/state.qh>
 #include <common/items/_mod.qh>
-#include <common/wepent.qh>
-
 #include <common/mapobjects/func/ladder.qh>
 #include <common/mapobjects/teleporters.qh>
 #include <common/mapobjects/trigger/hurt.qh>
 #include <common/mapobjects/trigger/jumppads.qh>
-
+#include <common/net_linked.qh>
+#include <common/physics/player.qh>
+#include <common/state.qh>
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
+#include <common/wepent.qh>
 #include <lib/warpzone/common.qh>
+#include <server/bot/api.qh>
+#include <server/bot/default/aim.qh>
+#include <server/bot/default/bot.qh>
+#include <server/bot/default/cvars.qh>
+#include <server/bot/default/havocbot/roles.qh>
+#include <server/bot/default/navigation.qh>
+#include <server/bot/default/scripting.qh>
+#include <server/bot/default/waypoints.qh>
+#include <server/client.qh>
+#include <server/damage.qh>
+#include <server/items/items.qh>
+#include <server/mutators/_mod.qh>
+#include <server/weapons/selection.qh>
+#include <server/weapons/weaponsystem.qh>
+#include <server/world.qh>
 
 void havocbot_ai(entity this)
 {
index dbc55a90c3583f98c85008a92275d9651abea331..94c1cf44204785d4b031a8b11813efeb64c9c846 100644 (file)
@@ -1,17 +1,15 @@
 #include "roles.qh"
 
-#include <common/weapons/_all.qh>
 #include <common/stats.qh>
+#include <common/weapons/_all.qh>
+#include <server/bot/default/bot.qh>
+#include <server/bot/default/cvars.qh>
+#include <server/bot/default/havocbot/havocbot.qh>
+#include <server/bot/default/navigation.qh>
 #include <server/items/items.qh>
 #include <server/items/spawning.qh>
 #include <server/mutators/_mod.qh>
 #include <server/resources.qh>
-#include "havocbot.qh"
-
-#include "../cvars.qh"
-
-#include "../bot.qh"
-#include "../navigation.qh"
 
 void havocbot_goalrating_waypoints(entity this, float ratingscale, vector org, float sradius)
 {
index 8a48efb0e0375e1b7b522a84cb9f7b9bdc317165..3068aa77c62605f53c5c631a08b4a822ef88999b 100644 (file)
@@ -1,22 +1,18 @@
 #include "navigation.qh"
 
-#include <server/bot/api.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include "cvars.qh"
-
-#include "bot.qh"
-#include "waypoints.qh"
-
-#include <server/items/items.qh>
-
-#include <common/items/_mod.qh>
-
 #include <common/constants.qh>
-#include <common/net_linked.qh>
+#include <common/items/_mod.qh>
 #include <common/mapobjects/func/ladder.qh>
 #include <common/mapobjects/trigger/hurt.qh>
 #include <common/mapobjects/trigger/jumppads.qh>
+#include <common/net_linked.qh>
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
+#include <server/bot/api.qh>
+#include <server/bot/default/bot.qh>
+#include <server/bot/default/cvars.qh>
+#include <server/bot/default/waypoints.qh>
+#include <server/items/items.qh>
 
 .float speed;
 
index bad63baa8afe82209567330ae34c31a451fcdde1..a20f98fda8993b7466f25dbbf7bf9d83c2739a04 100644 (file)
@@ -1,17 +1,15 @@
 #include "scripting.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/weapons/selection.qh>
-#include <server/weapons/weaponsystem.qh>
-#include "cvars.qh"
-
-#include <common/state.qh>
 #include <common/gamemodes/gamemode/ctf/sv_ctf.qh>
 #include <common/physics/player.qh>
+#include <common/state.qh>
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
 #include <common/wepent.qh>
-
-#include "bot.qh"
+#include <server/bot/default/bot.qh>
+#include <server/bot/default/cvars.qh>
+#include <server/weapons/selection.qh>
+#include <server/weapons/weaponsystem.qh>
 
 .int state;
 
index 65da3b94c5eac95d7a1c6fcf275cf3cf314798c8..12bf39fa0c7d7fc348c549872b008279b7b7a2ed 100644 (file)
@@ -1,28 +1,23 @@
 #include "waypoints.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/items/items.qh>
-#include <server/spawnpoints.qh>
-#include <server/weapons/tracing.qh>
-#include "cvars.qh"
-
-#include "bot.qh"
-#include "navigation.qh"
-
-#include <common/state.qh>
-
-#include "../../antilag.qh"
-
 #include <common/constants.qh>
 #include <common/debug.qh>
 #include <common/gamemodes/_mod.qh>
 #include <common/mapobjects/trigger/jumppads.qh>
 #include <common/net_linked.qh>
 #include <common/physics/player.qh>
-
+#include <common/state.qh>
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
 #include <lib/warpzone/common.qh>
 #include <lib/warpzone/util_server.qh>
+#include <server/antilag.qh>
+#include <server/bot/default/bot.qh>
+#include <server/bot/default/cvars.qh>
+#include <server/bot/default/navigation.qh>
+#include <server/items/items.qh>
+#include <server/spawnpoints.qh>
+#include <server/weapons/tracing.qh>
 
 .entity spawnpointmodel;
 void waypoint_unreachable(entity pl)
index 2ac3c58d1f5089fa3744300b14dc342b19c77c23..a368938c2ddd37595fa7db9cb9ad96517ab25a4d 100644 (file)
@@ -1,14 +1,12 @@
 #include "campaign.qh"
 
+#include <common/campaign_common.qh>
 #include <common/mapinfo.qh>
-#include <common/weapons/_all.qh>
 #include <common/stats.qh>
-
-#include "cheats.qh"
+#include <common/weapons/_all.qh>
+#include <server/cheats.qh>
 #include <server/intermission.qh>
-#include "world.qh"
-
-#include <common/campaign_common.qh>
+#include <server/world.qh>
 
 // campaign cvars:
 //   _campaign_index: index of CURRENT map
index 75d0e2caf810ddbbfc90c9d0b5a01e60931d8977..f87d35d047943f443f73fba7940603b05e4bb9f1 100644 (file)
@@ -1,43 +1,31 @@
 #include "cheats.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <common/effects/all.qh>
-#include <server/resources.qh>
-#include <server/main.qh>
-#include <server/world.qh>
-
-#include "damage.qh"
-#include "clientkill.qh"
-#include "player.qh"
-#include "race.qh"
-#include <common/mapobjects/teleporters.qh>
-
-#include <server/mutators/_mod.qh>
-
 #include "weapons/tracing.qh"
-
 #include <common/constants.qh>
 #include <common/deathtypes/all.qh>
-#include <common/util.qh>
-
-#include <common/physics/player.qh>
-
-#include <common/monsters/_mod.qh>
-
+#include <common/effects/all.qh>
 #include <common/items/_mod.qh>
-
-#include <common/weapons/_all.qh>
-
+#include <common/mapobjects/func/breakable.qh>
 #include <common/mapobjects/subs.qh>
+#include <common/mapobjects/teleporters.qh>
 #include <common/mapobjects/triggers.qh>
-
-#include <common/mapobjects/func/breakable.qh>
-
+#include <common/monsters/_mod.qh>
+#include <common/physics/player.qh>
+#include <common/stats.qh>
+#include <common/util.qh>
+#include <common/weapons/_all.qh>
+#include <common/weapons/_all.qh>
 #include <lib/csqcmodel/sv_model.qh>
-
 #include <lib/warpzone/anglestransform.qh>
 #include <lib/warpzone/util_server.qh>
+#include <server/clientkill.qh>
+#include <server/damage.qh>
+#include <server/main.qh>
+#include <server/mutators/_mod.qh>
+#include <server/player.qh>
+#include <server/race.qh>
+#include <server/resources.qh>
+#include <server/world.qh>
 
 #ifdef NOCHEATS
 
index f06f640840e2753be1553f51c1ba1a193c93739e..9bcd45dd9c77a6b29064268c4ae66c50d7316111 100644 (file)
@@ -1,88 +1,69 @@
 #include "client.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/chat.qh>
 #include <common/effects/all.qh>
-#include "anticheat.qh"
-#include "impulse.qh"
-#include "player.qh"
-#include "ipban.qh"
-#include "portals.qh"
-#include "teamplay.qh"
-#include "spawnpoints.qh"
-#include "resources.qh"
-#include "damage.qh"
-#include "handicap.qh"
-#include "hook.qh"
-#include <server/intermission.qh>
-#include "command/common.qh"
-#include "command/vote.qh"
-#include "clientkill.qh"
-#include "cheats.qh"
-#include "world.qh"
-#include <server/gamelog.qh>
-#include "race.qh"
-#include <server/main.qh>
-#include <server/mutators/_mod.qh>
-#include "antilag.qh"
-#include "campaign.qh"
-#include "command/common.qh"
-#include "scores_rules.qh"
-#include "weapons/common.qh"
-
-#include "bot/api.qh"
-
-#include <common/ent_cs.qh>
-#include <common/wepent.qh>
-#include <common/state.qh>
-
-#include "compat/quake3.qh"
-
 #include <common/effects/qc/globalsound.qh>
-
+#include <common/ent_cs.qh>
+#include <common/gamemodes/_mod.qh>
+#include <common/gamemodes/gamemode/nexball/sv_nexball.qh>
+#include <common/items/_mod.qh>
+#include <common/items/inventory.qh>
 #include <common/mapobjects/func/conveyor.qh>
 #include <common/mapobjects/func/ladder.qh>
-#include <common/mapobjects/teleporters.qh>
+#include <common/mapobjects/subs.qh>
 #include <common/mapobjects/target/spawnpoint.qh>
+#include <common/mapobjects/teleporters.qh>
 #include <common/mapobjects/trigger/counter.qh>
+#include <common/mapobjects/trigger/secret.qh>
 #include <common/mapobjects/trigger/swamp.qh>
-
-#include <common/vehicles/all.qh>
-
-#include "weapons/hitplot.qh"
-#include "weapons/selection.qh"
-#include "weapons/weaponsystem.qh"
-
-#include <common/net_notice.qh>
-#include <common/net_linked.qh>
-#include <common/physics/player.qh>
-
-#include <common/vehicles/sv_vehicles.qh>
-
-#include <common/items/_mod.qh>
-
-#include <common/gamemodes/gamemode/nexball/sv_nexball.qh>
-
-#include <common/mutators/mutator/waypoints/all.qh>
-#include <common/mutators/mutator/instagib/sv_instagib.qh>
-#include <common/gamemodes/_mod.qh>
-
-#include <common/mapobjects/subs.qh>
 #include <common/mapobjects/triggers.qh>
-#include <common/mapobjects/trigger/secret.qh>
-
 #include <common/minigames/sv_minigames.qh>
-
-#include <common/items/inventory.qh>
-
 #include <common/monsters/sv_monsters.qh>
-
-#include <lib/warpzone/server.qh>
-
+#include <common/mutators/mutator/instagib/sv_instagib.qh>
 #include <common/mutators/mutator/overkill/oknex.qh>
-
+#include <common/mutators/mutator/waypoints/all.qh>
+#include <common/net_linked.qh>
+#include <common/net_notice.qh>
+#include <common/physics/player.qh>
+#include <common/state.qh>
+#include <common/stats.qh>
+#include <common/vehicles/all.qh>
+#include <common/vehicles/sv_vehicles.qh>
+#include <common/weapons/_all.qh>
 #include <common/weapons/weapon/vortex.qh>
+#include <common/wepent.qh>
+#include <lib/warpzone/server.qh>
+#include <server/anticheat.qh>
+#include <server/antilag.qh>
+#include <server/bot/api.qh>
+#include <server/campaign.qh>
+#include <server/chat.qh>
+#include <server/cheats.qh>
+#include <server/clientkill.qh>
+#include <server/command/common.qh>
+#include <server/command/common.qh>
+#include <server/command/vote.qh>
+#include <server/compat/quake3.qh>
+#include <server/damage.qh>
+#include <server/gamelog.qh>
+#include <server/handicap.qh>
+#include <server/hook.qh>
+#include <server/impulse.qh>
+#include <server/intermission.qh>
+#include <server/ipban.qh>
+#include <server/main.qh>
+#include <server/mutators/_mod.qh>
+#include <server/player.qh>
+#include <server/portals.qh>
+#include <server/race.qh>
+#include <server/resources.qh>
+#include <server/scores_rules.qh>
+#include <server/spawnpoints.qh>
+#include <server/teamplay.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/hitplot.qh>
+#include <server/weapons/selection.qh>
+#include <server/weapons/weaponsystem.qh>
+#include <server/world.qh>
 
 STATIC_METHOD(Client, Add, void(Client this, int _team))
 {
index 96adde60f3d70baa5cca7ebd79b3831f78662743..d972d6b089a2dce7568f5bdc647b3e19946632ed 100644 (file)
@@ -1,18 +1,16 @@
 #include "clientkill.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/client.qh>
-#include <server/player.qh>
-#include <server/mutators/_mod.qh>
-
-#include "damage.qh"
-#include "teamplay.qh"
-
-#include <common/vehicles/sv_vehicles.qh>
 #include <common/mapobjects/triggers.qh>
 #include <common/notifications/all.qh>
 #include <common/stats.qh>
+#include <common/stats.qh>
+#include <common/vehicles/sv_vehicles.qh>
+#include <common/weapons/_all.qh>
+#include <server/client.qh>
+#include <server/damage.qh>
+#include <server/mutators/_mod.qh>
+#include <server/player.qh>
+#include <server/teamplay.qh>
 
 void ClientKill_Now_TeamChange(entity this)
 {
index 1822f1a818d9437ef3c57a584fd4a626edebf6b0..99a7756e162138b36ece7a1b16ffe98ea6334296 100644 (file)
@@ -1,17 +1,14 @@
 #include "banning.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <common/state.qh>
 #include <common/command/_mod.qh>
-#include "banning.qh"
-
-#include "common.qh"
-
-#include "../player.qh"
-#include "../ipban.qh"
-
+#include <common/state.qh>
+#include <common/stats.qh>
 #include <common/util.qh>
+#include <common/weapons/_all.qh>
+#include <server/command/banning.qh>
+#include <server/command/common.qh>
+#include <server/ipban.qh>
+#include <server/player.qh>
 
 // =====================================================
 //  Banning and kicking command code, written by Samual
index ce55570640d426d0002bf79e7906c665565d8faf..106da7720b345d3f58aa3ae07ae1689095319b88 100644 (file)
@@ -1,50 +1,38 @@
 #include "cmd.qh"
 
-#include <server/chat.qh>
-#include <server/world.qh>
-
 #include <common/command/_mod.qh>
-
-#include "common.qh"
-#include "getreplies.qh"
-#include "vote.qh"
-
-#include "../bot/api.qh"
-
-#include "../campaign.qh"
-#include "../cheats.qh"
-#include "../client.qh"
-#include "../clientkill.qh"
-#include "../player.qh"
-#include "../ipban.qh"
-#include "../mapvoting.qh"
-#include "../scores.qh"
-#include "../teamplay.qh"
-
-#include <server/mutators/_mod.qh>
-#include <common/gamemodes/_mod.qh>
-
-#ifdef SVQC
-       #include <common/vehicles/all.qh>
-#endif
-
 #include <common/constants.qh>
 #include <common/deathtypes/all.qh>
 #include <common/effects/all.qh>
+#include <common/gamemodes/_mod.qh>
 #include <common/mapinfo.qh>
-#include <common/notifications/all.qh>
-#include <common/physics/player.qh>
-#include <common/teams.qh>
-#include <common/util.qh>
 #include <common/mapobjects/triggers.qh>
-
 #include <common/minigames/sv_minigames.qh>
-
 #include <common/monsters/_mod.qh>
-#include <common/monsters/sv_spawn.qh>
 #include <common/monsters/sv_monsters.qh>
-
+#include <common/monsters/sv_spawn.qh>
+#include <common/notifications/all.qh>
+#include <common/physics/player.qh>
+#include <common/teams.qh>
+#include <common/util.qh>
+#include <common/vehicles/all.qh>
 #include <lib/warpzone/common.qh>
+#include <server/bot/api.qh>
+#include <server/campaign.qh>
+#include <server/chat.qh>
+#include <server/cheats.qh>
+#include <server/client.qh>
+#include <server/clientkill.qh>
+#include <server/command/common.qh>
+#include <server/command/getreplies.qh>
+#include <server/command/vote.qh>
+#include <server/ipban.qh>
+#include <server/mapvoting.qh>
+#include <server/mutators/_mod.qh>
+#include <server/player.qh>
+#include <server/scores.qh>
+#include <server/teamplay.qh>
+#include <server/world.qh>
 
 // =========================================================
 //  Server side networked commands code, reworked by Samual
index 710c3889f345f744ed461c334d3cf3e44a9e54ad..4e001af734975c785c40bbf3282074dac678b9ca 100644 (file)
@@ -1,20 +1,17 @@
 #include "common.qh"
 
-#include <server/chat.qh>
-#include <server/client.qh>
-#include <server/mutators/_mod.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/world.qh>
-
 #include <common/command/_mod.qh>
-#include "common.qh"
-
-#include "../scores.qh"
-
 #include <common/monsters/_mod.qh>
 #include <common/notifications/all.qh>
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
 #include <lib/warpzone/common.qh>
+#include <server/chat.qh>
+#include <server/client.qh>
+#include <server/command/common.qh>
+#include <server/mutators/_mod.qh>
+#include <server/scores.qh>
+#include <server/world.qh>
 
 
 // ====================================================
index 17fcc2d3502c6186eaed644fd711763dfa4efa69..8f572a8ec3c83b061dcf3c5bcc9e1c5a1a32c10c 100644 (file)
@@ -1,24 +1,20 @@
 #include "getreplies.qh"
 
+#include <common/command/_mod.qh>
+#include <common/constants.qh>
+#include <common/gamemodes/_mod.qh>
+#include <common/monsters/_mod.qh>
+#include <common/net_linked.qh>
+#include <common/stats.qh>
+#include <common/util.qh>
 #include <common/weapons/_all.qh>
 #include <common/wepent.qh>
-#include <common/stats.qh>
+#include <server/command/getreplies.qh>
 #include <server/intermission.qh>
 #include <server/main.qh>
 #include <server/mutators/_mod.qh>
-#include <server/world.qh>
-
-#include <common/command/_mod.qh>
-#include "getreplies.qh"
-
 #include <server/race.qh>
-
-#include <common/constants.qh>
-#include <common/gamemodes/_mod.qh>
-#include <common/net_linked.qh>
-#include <common/util.qh>
-
-#include <common/monsters/_mod.qh>
+#include <server/world.qh>
 
 // =========================================================
 //  Reply messages for common commands, re-worked by Samual
index 4d3992239061fbc6e18937cca9a23e4c2aed1f59..583916b3d40835ac1ef21c3cedfbc96ebd3863ac 100644 (file)
@@ -3,14 +3,10 @@
 
 #include <common/command/_mod.qh>
 #include <common/mapobjects/triggers.qh>
-
-#include "../world.qh"
-
-#include <server/intermission.qh>
-
 #include <common/util.qh>
-
 #include <lib/csqcmodel/sv_model.qh>
+#include <server/intermission.qh>
+#include <server/world.qh>
 
 // ===============================================
 //     Generates radar map images for use in the HUD
index 86755c7e3a8404068ea6df254009ca8684e2edd9..9dcec7804d8987a586a12ed81943f9e0735fc67b 100644 (file)
@@ -1,36 +1,30 @@
 #include "sv_cmd.qh"
-#include "_mod.qh"
 
+#include <common/constants.qh>
 #include <common/effects/all.qh>
-
-#include "banning.qh"
-#include "cmd.qh"
-#include "common.qh"
-#include "getreplies.qh"
-#include "radarmap.qh"
-
-#include "../anticheat.qh"
-#include "../campaign.qh"
-#include "../client.qh"
-#include "../player.qh"
-#include "../world.qh"
-#include "../ipban.qh"
-#include "../teamplay.qh"
-#include <server/intermission.qh>
-
-#include "../bot/api.qh"
-
-#include <server/mutators/_mod.qh>
 #include <common/gamemodes/_mod.qh>
-
-#include <common/constants.qh>
-#include <common/net_linked.qh>
 #include <common/mapinfo.qh>
+#include <common/monsters/sv_monsters.qh>
+#include <common/net_linked.qh>
 #include <common/notifications/all.qh>
 #include <common/teams.qh>
 #include <common/util.qh>
-
-#include <common/monsters/sv_monsters.qh>
+#include <server/anticheat.qh>
+#include <server/bot/api.qh>
+#include <server/campaign.qh>
+#include <server/client.qh>
+#include <server/command/_mod.qh>
+#include <server/command/banning.qh>
+#include <server/command/cmd.qh>
+#include <server/command/common.qh>
+#include <server/command/getreplies.qh>
+#include <server/command/radarmap.qh>
+#include <server/intermission.qh>
+#include <server/ipban.qh>
+#include <server/mutators/_mod.qh>
+#include <server/player.qh>
+#include <server/teamplay.qh>
+#include <server/world.qh>
 
 //  used by GameCommand_make_mapinfo()
 void make_mapinfo_Think(entity this)
index 16b636c85158ebac30f50159f4d9b1141f7c0119..67f683cdfd22de7d21c9df6e7596c5f840b6faea 100644 (file)
@@ -1,32 +1,27 @@
 #include "vote.qh"
 
-#include <server/client.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/gamelog.qh>
-
 #include <common/command/_mod.qh>
-#include "vote.qh"
-
-#include "common.qh"
-
-#include "../damage.qh"
-#include <server/intermission.qh>
-#include <server/world.qh>
-#include "../teamplay.qh"
-#include "../race.qh"
-#include "../round_handler.qh"
-#include "../scores.qh"
-
-#include <server/mutators/_mod.qh>
-#include <common/gamemodes/_mod.qh>
-
 #include <common/constants.qh>
-#include <common/net_linked.qh>
+#include <common/gamemodes/_mod.qh>
 #include <common/mapinfo.qh>
+#include <common/net_linked.qh>
 #include <common/notifications/all.qh>
 #include <common/playerstats.qh>
+#include <common/stats.qh>
 #include <common/util.qh>
+#include <common/weapons/_all.qh>
+#include <server/client.qh>
+#include <server/command/common.qh>
+#include <server/command/vote.qh>
+#include <server/damage.qh>
+#include <server/gamelog.qh>
+#include <server/intermission.qh>
+#include <server/mutators/_mod.qh>
+#include <server/race.qh>
+#include <server/round_handler.qh>
+#include <server/scores.qh>
+#include <server/teamplay.qh>
+#include <server/world.qh>
 
 // =============================================
 //  Server side voting code, reworked by Samual
index 74e50137fd175dc9c14768a840997ad85bf1efec..32c46156c8e135969605ecfd0c7340a7ce78f876 100644 (file)
@@ -1,4 +1,5 @@
 #include "halflife.qh"
+
 .float  roomtype;
 .float  radius;
 .float  pitch;
index 23ae923b0a61c1213f2d4289ebfdbe8dc47e58e1..a49b85f18f60b0150898a491d78ac86a0879fec0 100644 (file)
@@ -1,8 +1,8 @@
 #include "quake.qh"
 
-#include <common/weapons/_all.qh>
 #include <common/stats.qh>
 #include <common/weapons/_all.qh>
+#include <common/weapons/_all.qh>
 
 //***********************
 //QUAKE 1 ENTITIES - So people can play quake1 maps with the xonotic weapons
index bda38dcf2ce1bc2d395c103ace263919aee92ed8..ea951ddceb3e573b9b0137b4f9bc1fb45b8a1435 100644 (file)
@@ -1,19 +1,19 @@
 #include "quake3.qh"
 
-#include <server/client.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/items/items.qh>
-#include <server/items/spawning.qh>
-#include <server/resources.qh>
-#include <server/world.qh>
 #include <common/gamemodes/_mod.qh>
 #include <common/gamemodes/gamemode/ctf/sv_ctf.qh>
-#include <common/mapobjects/triggers.qh>
 #include <common/mapobjects/trigger/counter.qh>
+#include <common/mapobjects/triggers.qh>
 #include <common/mutators/mutator/buffs/buffs.qh>
 #include <common/notifications/all.qh>
+#include <common/stats.qh>
 #include <common/weapons/_all.qh>
+#include <common/weapons/_all.qh>
+#include <server/client.qh>
+#include <server/items/items.qh>
+#include <server/items/spawning.qh>
+#include <server/resources.qh>
+#include <server/world.qh>
 
 //***********************
 //QUAKE 3 ENTITIES - So people can play quake3 maps with the xonotic weapons
index 784303010162df1cbdb5874ad404aead5c9fa008..8a559332da191c00f71ae203f80885f8a089e9f9 100644 (file)
@@ -1,9 +1,9 @@
 #include "wop.qh"
 
-#include <common/weapons/_all.qh>
 #include <common/stats.qh>
-#include <server/items/spawning.qh>
 #include <common/weapons/_all.qh>
+#include <common/weapons/_all.qh>
+#include <server/items/spawning.qh>
 
 spawnfunc(item_haste);
 spawnfunc(item_invis);
index c253c091515433e571623f21dcc5e4956951342e..fd2e9f2a600de9fb44f971eebe963da4f62ff1b9 100644 (file)
@@ -1,42 +1,42 @@
 #include "damage.qh"
 
-#include <common/effects/all.qh>
-#include "bot/api.qh"
-#include "hook.qh"
-#include <server/client.qh>
-#include <server/gamelog.qh>
-#include <server/items/items.qh>
-#include <server/mutators/_mod.qh>
-#include <server/main.qh>
-#include <server/world.qh>
-#include "teamplay.qh"
-#include "scores.qh"
-#include "spawnpoints.qh"
-#include <common/state.qh>
-#include <common/physics/player.qh>
-#include "resources.qh"
-#include <common/vehicles/all.qh>
-#include <common/items/_mod.qh>
-#include <common/mutators/mutator/waypoints/waypointsprites.qh>
-#include <common/mutators/mutator/instagib/sv_instagib.qh>
-#include <common/mutators/mutator/buffs/buffs.qh>
-#include "weapons/accuracy.qh"
-#include "weapons/csqcprojectile.qh"
-#include "weapons/selection.qh"
 #include <common/constants.qh>
 #include <common/deathtypes/all.qh>
+#include <common/effects/all.qh>
+#include <common/gamemodes/_mod.qh>
+#include <common/gamemodes/rules.qh>
+#include <common/items/_mod.qh>
 #include <common/mapobjects/defs.qh>
 #include <common/mapobjects/triggers.qh>
+#include <common/mutators/mutator/buffs/buffs.qh>
+#include <common/mutators/mutator/instagib/sv_instagib.qh>
+#include <common/mutators/mutator/waypoints/waypointsprites.qh>
 #include <common/notifications/all.qh>
 #include <common/physics/movetypes/movetypes.qh>
+#include <common/physics/player.qh>
 #include <common/playerstats.qh>
+#include <common/state.qh>
 #include <common/teams.qh>
 #include <common/util.qh>
-#include <common/gamemodes/_mod.qh>
-#include <common/gamemodes/rules.qh>
+#include <common/vehicles/all.qh>
 #include <common/weapons/_all.qh>
 #include <lib/csqcmodel/sv_model.qh>
 #include <lib/warpzone/common.qh>
+#include <server/bot/api.qh>
+#include <server/client.qh>
+#include <server/gamelog.qh>
+#include <server/hook.qh>
+#include <server/items/items.qh>
+#include <server/main.qh>
+#include <server/mutators/_mod.qh>
+#include <server/resources.qh>
+#include <server/scores.qh>
+#include <server/spawnpoints.qh>
+#include <server/teamplay.qh>
+#include <server/weapons/accuracy.qh>
+#include <server/weapons/csqcprojectile.qh>
+#include <server/weapons/selection.qh>
+#include <server/world.qh>
 
 void UpdateFrags(entity player, int f)
 {
index ccb585f013db803975bb0bc12052c375db1c0d3c..6d03725f8f37a1b59bccf96c587c8416fff14099 100644 (file)
@@ -6,7 +6,7 @@
 /// \copyright GNU GPLv2 or any later version.
 
 #include <common/state.qh>
-#include "client.qh"
+#include <server/client.qh>
 
 .float m_handicap; ///< Holds the handicap value.
 
index 4fa2385cf6a58bd1df00950314af4d54eca0e6fa..51e5803704b779e63fb9ab7d2eb670dd5f2e1618 100644 (file)
@@ -1,30 +1,30 @@
 #include "hook.qh"
 
-#include <server/bot/api.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/damage.qh>
-#include <server/mutators/_mod.qh>
-#include <server/world.qh>
+#include <common/constants.qh>
 #include <common/effects/all.qh>
-#include "weapons/common.qh"
-#include "weapons/csqcprojectile.qh"
-#include "weapons/weaponsystem.qh"
-#include "weapons/selection.qh"
-#include "weapons/tracing.qh"
-#include "player.qh"
-#include "command/common.qh"
-#include "command/vote.qh"
-#include "round_handler.qh"
-#include <common/state.qh>
+#include <common/net_linked.qh>
 #include <common/physics/player.qh>
-#include <common/vehicles/all.qh>
-#include <common/constants.qh>
+#include <common/state.qh>
+#include <common/stats.qh>
 #include <common/util.qh>
-#include <common/net_linked.qh>
+#include <common/vehicles/all.qh>
+#include <common/weapons/_all.qh>
 #include <common/weapons/_all.qh>
 #include <lib/warpzone/common.qh>
 #include <lib/warpzone/server.qh>
+#include <server/bot/api.qh>
+#include <server/command/common.qh>
+#include <server/command/vote.qh>
+#include <server/damage.qh>
+#include <server/mutators/_mod.qh>
+#include <server/player.qh>
+#include <server/round_handler.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/csqcprojectile.qh>
+#include <server/weapons/selection.qh>
+#include <server/weapons/tracing.qh>
+#include <server/weapons/weaponsystem.qh>
+#include <server/world.qh>
 
 /*============================================
 
index f425101792f88aee6b0f2ba781031e69973fe607..e9ebaec8766d8ec740ce48090006779c74692573 100644 (file)
@@ -1,27 +1,22 @@
 #include "impulse.qh"
-#include "round_handler.qh"
-
-#include "weapons/throwing.qh"
-#include "command/common.qh"
-#include "cheats.qh"
-#include "client.qh"
-#include "clientkill.qh"
-#include "damage.qh"
-#include <server/mutators/_mod.qh>
-#include "weapons/selection.qh"
-#include "weapons/tracing.qh"
-#include "weapons/weaponsystem.qh"
 
 #include <common/gamemodes/_mod.qh>
-
-#include <common/state.qh>
-
 #include <common/minigames/sv_minigames.qh>
-
-#include <common/weapons/_all.qh>
-#include <common/vehicles/sv_vehicles.qh>
-
 #include <common/mutators/mutator/waypoints/waypointsprites.qh>
+#include <common/state.qh>
+#include <common/vehicles/sv_vehicles.qh>
+#include <common/weapons/_all.qh>
+#include <server/cheats.qh>
+#include <server/client.qh>
+#include <server/clientkill.qh>
+#include <server/command/common.qh>
+#include <server/damage.qh>
+#include <server/mutators/_mod.qh>
+#include <server/round_handler.qh>
+#include <server/weapons/selection.qh>
+#include <server/weapons/throwing.qh>
+#include <server/weapons/tracing.qh>
+#include <server/weapons/weaponsystem.qh>
 
 .entity vehicle;
 
index bd3aa75c251aae2f712cb2319e1a5ac20c658193..d8e055daff87f4df388187395eb3a1b0041e6e57 100644 (file)
@@ -1,12 +1,12 @@
 #include "ipban.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include "autocvars.qh"
-#include <server/main.qh>
-#include "command/banning.qh"
 #include <common/constants.qh>
+#include <common/stats.qh>
 #include <common/util.qh>
+#include <common/weapons/_all.qh>
+#include <server/autocvars.qh>
+#include <server/command/banning.qh>
+#include <server/main.qh>
 
 /*
  * Protocol of online ban list:
index 41c7eca4ea7f384410f37ed08976884807b4c43f..e41b689a703b8658a91b36dae10c1c35d177abf0 100644 (file)
@@ -1,38 +1,27 @@
 #include "items.qh"
 
+#include <common/constants.qh>
+#include <common/deathtypes/all.qh>
 #include <common/items/_mod.qh>
-
+#include <common/mapobjects/subs.qh>
+#include <common/mapobjects/triggers.qh>
+#include <common/monsters/_mod.qh>
+#include <common/mutators/mutator/buffs/buffs.qh>
+#include <common/mutators/mutator/buffs/sv_buffs.qh>
+#include <common/notifications/all.qh>
+#include <common/util.qh>
+#include <common/weapons/_all.qh>
+#include <common/wepent.qh>
+#include <lib/warpzone/util_server.qh>
 #include <server/bot/api.qh>
-
 #include <server/command/vote.qh>
-
 #include <server/damage.qh>
-
 #include <server/mutators/_mod.qh>
-
 #include <server/teamplay.qh>
-#include <server/world.qh>
-
 #include <server/weapons/common.qh>
 #include <server/weapons/selection.qh>
 #include <server/weapons/weaponsystem.qh>
-
-#include <common/constants.qh>
-#include <common/deathtypes/all.qh>
-#include <common/notifications/all.qh>
-#include <common/mapobjects/subs.qh>
-#include <common/mapobjects/triggers.qh>
-#include <common/util.qh>
-
-#include <common/monsters/_mod.qh>
-
-#include <common/wepent.qh>
-#include <common/weapons/_all.qh>
-
-#include <common/mutators/mutator/buffs/buffs.qh>
-#include <common/mutators/mutator/buffs/sv_buffs.qh>
-
-#include <lib/warpzone/util_server.qh>
+#include <server/world.qh>
 
 bool ItemSend(entity this, entity to, int sf)
 {
index d2f1530c652bca617368eef6a877b52febe07d62..fc8338f38d1f67db11a986ca1aa4571ed31d726c 100644 (file)
@@ -5,11 +5,11 @@
 /// creation of game items.
 /// \copyright GNU GPLv2 or any later version.
 
+#include <common/mapobjects/subs.qh>
+#include <common/weapons/all.qh>
 #include <server/items/items.qh>
 #include <server/mutators/_mod.qh>
 #include <server/weapons/spawning.qh>
-#include <common/weapons/all.qh>
-#include <common/mapobjects/subs.qh>
 
 .bool m_isloot; ///< Holds whether item is loot.
 /// \brief Holds whether strength, shield or superweapon timers expire while
index cd84923aef067ae5d002da9ee025b39d8ac11ec1..13574bf0edcf2347f87610da627a7f6c8ff40e6b 100644 (file)
@@ -1,37 +1,30 @@
 #include "main.qh"
 
-#include "anticheat.qh"
-#include "hook.qh"
-#include "damage.qh"
-#include "world.qh"
-#include "spawnpoints.qh"
-#include <server/ipban.qh>
-#include <server/gamelog.qh>
-
-#include "bot/api.qh"
-
-#include "command/common.qh"
-
-#include <server/mutators/_mod.qh>
-#include "weapons/csqcprojectile.qh"
-#include <server/weapons/common.qh>
-#include <server/compat/quake3.qh>
-
-#include <common/constants.qh>
 #include <common/command/generic.qh>
+#include <common/constants.qh>
 #include <common/deathtypes/all.qh>
 #include <common/debug.qh>
 #include <common/mapinfo.qh>
+#include <common/monsters/sv_monsters.qh>
 #include <common/util.qh>
-
 #include <common/vehicles/all.qh>
-#include <common/monsters/sv_monsters.qh>
 #include <common/weapons/_all.qh>
-
 #include <lib/csqcmodel/sv_model.qh>
-
 #include <lib/warpzone/common.qh>
 #include <lib/warpzone/server.qh>
+#include <server/anticheat.qh>
+#include <server/bot/api.qh>
+#include <server/command/common.qh>
+#include <server/compat/quake3.qh>
+#include <server/damage.qh>
+#include <server/gamelog.qh>
+#include <server/hook.qh>
+#include <server/ipban.qh>
+#include <server/mutators/_mod.qh>
+#include <server/spawnpoints.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/csqcprojectile.qh>
+#include <server/world.qh>
 
 void CreatureFrame_hotliquids(entity this)
 {
index bb76bde5a35da2de67af8aa394f3beb4ca62f8e2..42df54c75cc085649aed46533620714ee567110a 100644 (file)
@@ -1,20 +1,19 @@
 #include "mapvoting.qh"
 
-#include <server/client.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/gamelog.qh>
-#include <server/intermission.qh>
-#include "world.qh"
-#include "command/cmd.qh"
-#include "command/getreplies.qh"
 #include <common/constants.qh>
-#include <common/net_linked.qh>
 #include <common/mapinfo.qh>
+#include <common/net_linked.qh>
 #include <common/playerstats.qh>
 #include <common/state.qh>
+#include <common/stats.qh>
 #include <common/util.qh>
-
+#include <common/weapons/_all.qh>
+#include <server/client.qh>
+#include <server/command/cmd.qh>
+#include <server/command/getreplies.qh>
+#include <server/gamelog.qh>
+#include <server/intermission.qh>
+#include <server/world.qh>
 
 // definitions
 
index 0830fb686d1ccdf8a5d6e04f73bd06ed08b9b5af..8913e7f24638316d084d7e82f73d95910eedf400 100644 (file)
@@ -1,9 +1,9 @@
 #include "loader.qh"
 
-#include <common/mutators/base.qh>
 #include <common/mapinfo.qh>
-#include <common/weapons/_all.qh>
+#include <common/mutators/base.qh>
 #include <common/stats.qh>
+#include <common/weapons/_all.qh>
 
 STATIC_INIT_LATE(Gametype) {
     Gametype g = MapInfo_CurrentGametype();
index e3ab647487c6f7be297d52441528b313e322de52..404e257a6682eaa56d1081e6402e75619f7e924e 100644 (file)
@@ -1,6 +1,7 @@
 #include "expandnode.qh"
-#include "pathlib.qh"
-#include "utility.qh"
+
+#include <server/pathlib/pathlib.qh>
+#include <server/pathlib/utility.qh>
 
 /*
 vector plib_points2[8];
index 16090e31ba151b4ceaec4e20553da119cd0fb6e1..4a5c2c1754e1399fad624f9e3704af06331dd623 100644 (file)
@@ -1,11 +1,11 @@
 #include "main.qh"
 
-#include <common/weapons/_all.qh>
 #include <common/stats.qh>
-#include "pathlib.qh"
-#include "utility.qh"
 #include <common/turrets/util.qh>
-#include "../command/common.qh"
+#include <common/weapons/_all.qh>
+#include <server/command/common.qh>
+#include <server/pathlib/pathlib.qh>
+#include <server/pathlib/utility.qh>
 
 void pathlib_deletepath(entity start)
 {
index 65e4923ea77f46502f49c53a6ab2a457b7435da6..260fd711fd0bfb2ffbf97a1fb722cf4aaafcd847 100644 (file)
@@ -1,10 +1,10 @@
 #include "movenode.qh"
 
 #include <common/mapobjects/triggers.qh>
-#include <common/weapons/_all.qh>
 #include <common/stats.qh>
-#include "pathlib.qh"
-#include "utility.qh"
+#include <common/weapons/_all.qh>
+#include <server/pathlib/pathlib.qh>
+#include <server/pathlib/utility.qh>
 
 .vector        pos1, pos2;
 
index 0f1c4e85a4c74eb876b9ae53297bd510a1975bef..27249d8a100a1b8b97f5045abd90ddcac8e12b71 100644 (file)
@@ -1,8 +1,8 @@
 #include "path_waypoint.qh"
-#include "../bot/api.qh"
 
-#include "pathlib.qh"
-#include "main.qh"
+#include <server/bot/api.qh>
+#include <server/pathlib/main.qh>
+#include <server/pathlib/pathlib.qh>
 
 var float pathlib_wpp_open(entity wp, entity child, float cost);
 
index 799cd43589447968ccc67bba4d481a0aee977870..73d109e60139ee80cdcff18ce00d21c0f317721c 100644 (file)
@@ -1,8 +1,8 @@
 #include "utility.qh"
 
-#include <common/weapons/_all.qh>
 #include <common/stats.qh>
-#include "pathlib.qh"
+#include <common/weapons/_all.qh>
+#include <server/pathlib/pathlib.qh>
 
 bool location_isok(vector point, bool waterok, bool air_isok)
 {
index ed824bd04c091168aa28802f9b8135531c9c4e60..28d1ecb20bff4d183101942bbf03b54ecc1fbe57 100644 (file)
@@ -1,46 +1,41 @@
 #include "player.qh"
 
-#include <common/effects/all.qh>
-#include "bot/api.qh"
-#include "cheats.qh"
-#include "client.qh"
-#include "clientkill.qh"
-#include "damage.qh"
-#include <server/mutators/_mod.qh>
-#include "world.qh"
-#include "handicap.qh"
-#include "portals.qh"
-#include "teamplay.qh"
-#include <server/main.qh>
-#include "weapons/common.qh"
-#include "weapons/throwing.qh"
-#include "command/common.qh"
-#include "command/vote.qh"
-#include <common/state.qh>
 #include <common/anim.qh>
 #include <common/animdecide.qh>
+#include <common/animdecide.qh>
 #include <common/csqcmodel_settings.qh>
-#include <common/gamemodes/sv_rules.qh>
 #include <common/deathtypes/all.qh>
+#include <common/effects/all.qh>
+#include <common/effects/qc/_mod.qh>
+#include <common/gamemodes/_mod.qh>
+#include <common/gamemodes/sv_rules.qh>
+#include <common/mapobjects/_mod.qh>
 #include <common/mapobjects/subs.qh>
 #include <common/mapobjects/teleporters.qh>
-#include <common/playerstats.qh>
-#include <lib/csqcmodel/sv_model.qh>
-
 #include <common/minigames/sv_minigames.qh>
-
-#include <common/gamemodes/_mod.qh>
-
-#include <common/physics/player.qh>
-#include <common/effects/qc/_mod.qh>
 #include <common/mutators/mutator/waypoints/waypointsprites.qh>
-#include <common/mapobjects/_mod.qh>
+#include <common/physics/player.qh>
+#include <common/playerstats.qh>
+#include <common/state.qh>
 #include <common/wepent.qh>
-
-#include "weapons/weaponstats.qh"
+#include <lib/csqcmodel/sv_model.qh>
+#include <server/bot/api.qh>
+#include <server/cheats.qh>
+#include <server/client.qh>
+#include <server/clientkill.qh>
+#include <server/command/common.qh>
+#include <server/command/vote.qh>
+#include <server/damage.qh>
+#include <server/handicap.qh>
+#include <server/main.qh>
+#include <server/mutators/_mod.qh>
+#include <server/portals.qh>
+#include <server/teamplay.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/throwing.qh>
+#include <server/weapons/weaponstats.qh>
 #include <server/weapons/weaponsystem.qh>
-
-#include <common/animdecide.qh>
+#include <server/world.qh>
 
 void Drop_Special_Items(entity player)
 {
index 2c5839175381f6e3edcfd67dbdf1f5c251dbadde..2cf8db682f950e179f85f559d0997d6792765823 100644 (file)
@@ -1,27 +1,27 @@
 #include "portals.qh"
 
-#include <common/effects/all.qh>
-#include "hook.qh"
-#include "mutators/_mod.qh"
-#include <server/client.qh>
-#include <server/weapons/common.qh>
 #include <common/constants.qh>
 #include <common/deathtypes/all.qh>
-#include <common/notifications/all.qh>
+#include <common/effects/all.qh>
+#include <common/mapobjects/subs.qh>
 #include <common/mapobjects/teleporters.qh>
 #include <common/mapobjects/triggers.qh>
-#include <common/mapobjects/subs.qh>
+#include <common/notifications/all.qh>
 #include <common/util.qh>
+#include <common/vehicles/sv_vehicles.qh>
+#include <common/vehicles/vehicle.qh>
 #include <common/weapons/_all.qh>
+#include <common/weapons/weapon/porto.qh>
 #include <lib/csqcmodel/sv_model.qh>
 #include <lib/warpzone/anglestransform.qh>
-#include <lib/warpzone/util_server.qh>
 #include <lib/warpzone/common.qh>
-#include <common/vehicles/vehicle.qh>
-#include <common/vehicles/sv_vehicles.qh>
-#include <common/weapons/weapon/porto.qh>
-#include <server/player.qh>
+#include <lib/warpzone/util_server.qh>
+#include <server/client.qh>
 #include <server/damage.qh>
+#include <server/hook.qh>
+#include <server/mutators/_mod.qh>
+#include <server/player.qh>
+#include <server/weapons/common.qh>
 
 #define PORTALS_ARE_NOT_SOLID
 
index f7769e6ebbf1be3f59811c586eaf0d2b6df1c327..f66ca7c8df8e7280ccd7c47955f48fa8649fd6cd 100644 (file)
@@ -1,34 +1,34 @@
 #include "race.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/damage.qh>
-#include <server/gamelog.qh>
-#include <server/intermission.qh>
-#include <server/main.qh>
-#include <server/mutators/_mod.qh>
-#include <server/world.qh>
-#include <server/weapons/common.qh>
-#include "client.qh"
-#include "cheats.qh"
-#include "portals.qh"
-#include "scores.qh"
-#include "spawnpoints.qh"
-#include "bot/api.qh"
-#include "command/getreplies.qh"
 #include <common/deathtypes/all.qh>
-#include <common/notifications/all.qh>
 #include <common/gamemodes/_mod.qh>
 #include <common/gamemodes/rules.qh>
+#include <common/mapobjects/subs.qh>
+#include <common/mapobjects/triggers.qh>
+#include <common/mutators/mutator/waypoints/waypointsprites.qh>
 #include <common/net_linked.qh>
+#include <common/notifications/all.qh>
 #include <common/state.qh>
+#include <common/stats.qh>
+#include <common/vehicles/sv_vehicles.qh>
+#include <common/weapons/_all.qh>
 #include <common/weapons/weapon/porto.qh>
-#include <common/mapobjects/subs.qh>
-#include <common/mapobjects/triggers.qh>
-#include <lib/warpzone/util_server.qh>
 #include <lib/warpzone/common.qh>
-#include <common/vehicles/sv_vehicles.qh>
-#include <common/mutators/mutator/waypoints/waypointsprites.qh>
+#include <lib/warpzone/util_server.qh>
+#include <server/bot/api.qh>
+#include <server/cheats.qh>
+#include <server/client.qh>
+#include <server/command/getreplies.qh>
+#include <server/damage.qh>
+#include <server/gamelog.qh>
+#include <server/intermission.qh>
+#include <server/main.qh>
+#include <server/mutators/_mod.qh>
+#include <server/portals.qh>
+#include <server/scores.qh>
+#include <server/spawnpoints.qh>
+#include <server/weapons/common.qh>
+#include <server/world.qh>
 
 string uid2name(string myuid)
 {
index ef3dea1bf122de78f37575a350ac07e04a275ba3..cc301130ef2cf3c7285093c90135639de36291e5 100644 (file)
@@ -5,7 +5,7 @@
 /// \author Lyberta
 /// \copyright GNU GPLv2 or any later version.
 
-#include "autocvars.qh"
+#include <server/autocvars.qh>
 #include <server/mutators/_mod.qh>
 #include <server/world.qh>
 
index bc0b23b8fbf2a9751912244045c447220dad8408..369e75708991f5a6e4d88f578986c245d638b4ce 100644 (file)
@@ -1,10 +1,10 @@
 #include "round_handler.qh"
 
-#include <server/world.qh>
-#include "campaign.qh"
-#include "command/vote.qh"
 #include <common/mapobjects/triggers.qh>
 #include <common/util.qh>
+#include <server/campaign.qh>
+#include <server/command/vote.qh>
+#include <server/world.qh>
 
 void round_handler_Think(entity this)
 {
index 10ffc9c7e864a014f93bba4e496699479403972c..eefd06fe3fe229240ce7a8ce2fb641ff09c72510 100644 (file)
@@ -1,20 +1,20 @@
 #include "scores.qh"
 
-#include "command/common.qh"
-#include <common/weapons/_all.qh>
-#include "client.qh"
-#include <server/intermission.qh>
-#include <server/world.qh>
-#include <server/mutators/_mod.qh>
-#include <server/round_handler.qh>
-#include <common/net_linked.qh>
-#include <common/playerstats.qh>
-#include <common/teams.qh>
 #include <common/mapinfo.qh>
 #include <common/mutators/base.qh>
+#include <common/net_linked.qh>
+#include <common/playerstats.qh>
 #include <common/scores.qh>
 #include <common/state.qh>
 #include <common/stats.qh>
+#include <common/teams.qh>
+#include <common/weapons/_all.qh>
+#include <server/client.qh>
+#include <server/command/common.qh>
+#include <server/intermission.qh>
+#include <server/mutators/_mod.qh>
+#include <server/round_handler.qh>
+#include <server/world.qh>
 
 .entity scorekeeper;
 entity teamscorekeepers[16];
index 1ad2640ad63cbb73ad89c1d6e48a31acb143c13a..c7c9c3e8d74ed5e61f2747d37683d84ad99e9363 100644 (file)
@@ -1,11 +1,11 @@
 #include "scores_rules.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include "client.qh"
-#include "scores.qh"
 #include <common/gamemodes/rules.qh>
-#include "teamplay.qh"
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
+#include <server/client.qh>
+#include <server/scores.qh>
+#include <server/teamplay.qh>
 
 int ScoreRules_teams;
 
index 61969ae35b8d0641c874472a7503bb6ebae0e851..3f5bd580aeb118cb20a6cbfaa6d0b95eed35fc2f 100644 (file)
@@ -1,23 +1,23 @@
 #include "spawnpoints.qh"
 
-#include <server/mutators/_mod.qh>
-#include <server/world.qh>
-#include "race.qh"
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
 #include <common/constants.qh>
-#include <common/net_linked.qh>
-#include <common/teams.qh>
 #include <common/gamemodes/_mod.qh>
 #include <common/mapobjects/subs.qh>
 #include <common/mapobjects/target/spawnpoint.qh>
 #include <common/mapobjects/triggers.qh>
+#include <common/net_linked.qh>
+#include <common/stats.qh>
+#include <common/teams.qh>
 #include <common/util.qh>
+#include <common/weapons/_all.qh>
 #include <lib/warpzone/common.qh>
 #include <lib/warpzone/util_server.qh>
+#include <server/command/vote.qh>
 #include <server/intermission.qh>
+#include <server/mutators/_mod.qh>
+#include <server/race.qh>
 #include <server/utils.qh>
-#include <server/command/vote.qh>
+#include <server/world.qh>
 
 bool SpawnPoint_Send(entity this, entity to, int sf)
 {
index 310835c5cedb08b07a1f9e2fdff212c36308f1b8..d0cb5a351daca2b587cb97631d99b4edfdaf11b9 100644 (file)
@@ -1,9 +1,6 @@
 #include "steerlib.qh"
-#if defined(CSQC)
-#elif defined(MENUQC)
-#elif defined(SVQC)
-    #include "pathlib/utility.qh"
-#endif
+
+#include <server/pathlib/utility.qh>
 
 /**
     Uniform pull towards a point
index 118900398fe50418f3355336b369ecf474288624..2e293bac8b6067684422ff0d4025dbe47e69c114 100644 (file)
@@ -1,21 +1,17 @@
 #include "teamplay.qh"
 
-#include "client.qh"
-#include <server/gamelog.qh>
-#include <server/damage.qh>
-#include "race.qh"
-#include "scores.qh"
-#include "scores_rules.qh"
-
-#include "bot/api.qh"
-
-#include "command/vote.qh"
-
-#include <server/mutators/_mod.qh>
-
 #include <common/deathtypes/all.qh>
 #include <common/gamemodes/_mod.qh>
 #include <common/teams.qh>
+#include <server/bot/api.qh>
+#include <server/client.qh>
+#include <server/command/vote.qh>
+#include <server/damage.qh>
+#include <server/gamelog.qh>
+#include <server/mutators/_mod.qh>
+#include <server/race.qh>
+#include <server/scores.qh>
+#include <server/scores_rules.qh>
 
 /// \brief Describes a state of team balance entity.
 enum
index de9b3579f1d49c00c36d37b085d2b265a8289ea7..2dbcee7ada23bb84dde7b4b5ca78f932c52bb2de 100644 (file)
@@ -1,12 +1,12 @@
 #pragma once
 
-#include "autocvars.qh"
-#include "client.qh"
-#include "command/_mod.qh"
-#include "weapons/common.qh"
-#include "weapons/selection.qh"
 #include <common/items/item.qh>
 #include <common/mapobjects/defs.qh>
 #include <common/physics/player.qh>
-#include <common/weapons/_all.qh>
 #include <common/vehicles/all.qh>
+#include <common/weapons/_all.qh>
+#include <server/autocvars.qh>
+#include <server/client.qh>
+#include <server/command/_mod.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/selection.qh>
index e8f59f53ef523930d007c1b464ebf39bb7a5902e..7b5220e036122e53a2850b5ae5d4740a1b27393e 100644 (file)
@@ -1,14 +1,14 @@
 #include "accuracy.qh"
 
-#include <server/client.qh>
-#include <server/mutators/_mod.qh>
-#include <server/damage.qh>
 #include <common/constants.qh>
 #include <common/net_linked.qh>
-#include <server/player.qh>
 #include <common/teams.qh>
 #include <common/util.qh>
 #include <common/weapons/_all.qh>
+#include <server/client.qh>
+#include <server/damage.qh>
+#include <server/mutators/_mod.qh>
+#include <server/player.qh>
 #include <server/world.qh>
 
 int accuracy_byte(float n, float d)
index 2539b7d3bc1613544ae7db3b07e2e7529153d6ca..130609af34dcd7511029e5bed4ddb70587617e00 100644 (file)
@@ -1,20 +1,20 @@
 #include "common.qh"
 
-#include <server/command/common.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/damage.qh>
-#include <server/items/items.qh>
-#include <server/mutators/_mod.qh>
 #include <common/constants.qh>
-#include <common/net_linked.qh>
 #include <common/deathtypes/all.qh>
+#include <common/items/_mod.qh>
+#include <common/net_linked.qh>
 #include <common/notifications/all.qh>
 #include <common/state.qh>
+#include <common/stats.qh>
 #include <common/util.qh>
 #include <common/weapons/_all.qh>
+#include <common/weapons/_all.qh>
 #include <common/wepent.qh>
-#include <common/items/_mod.qh>
+#include <server/command/common.qh>
+#include <server/damage.qh>
+#include <server/items/items.qh>
+#include <server/mutators/_mod.qh>
 
 bool W_DualWielding(entity player)
 {
index 27a376ec707136fd2f7b05f2b79e1215a6d3cab6..2cd09d7fea905f65a65e60a228fed427cf20f9ee 100644 (file)
@@ -1,14 +1,12 @@
 #include "csqcprojectile.qh"
 
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/items/items.qh>
-
-#include "../command/common.qh"
-
 #include <common/constants.qh>
 #include <common/net_linked.qh>
+#include <common/stats.qh>
 #include <common/weapons/_all.qh>
+#include <common/weapons/_all.qh>
+#include <server/command/common.qh>
+#include <server/items/items.qh>
 
 .float csqcprojectile_type;
 
index 45642f2985b574fdca7a569fe7f73478e6d716c0..c42d88b977bcd265607be7f07bb088a643d21266 100644 (file)
@@ -1,13 +1,13 @@
 #include "hitplot.qh"
 
-#include <server/client.qh>
-#include <common/weapons/_all.qh>
+#include <common/state.qh>
 #include <common/stats.qh>
-#include <server/world.qh>
-#include "../antilag.qh"
 #include <common/weapons/_all.qh>
-#include <common/state.qh>
+#include <common/weapons/_all.qh>
 #include <common/wepent.qh>
+#include <server/antilag.qh>
+#include <server/client.qh>
+#include <server/world.qh>
 
 vector W_HitPlotUnnormalizedUntransform(vector screenforward, vector screenright, vector screenup, vector v)
 {
index 4a55dab29adf2471e6546743ac4a8ab994e5c8cc..5dd3073e9f0fe57b800b0ba19376e3a159942e81 100644 (file)
@@ -1,18 +1,18 @@
 #include "selection.qh"
 
-#include "weaponsystem.qh"
-#include <server/items/items.qh>
-#include <server/items/spawning.qh>
 #include <common/constants.qh>
-#include <common/net_linked.qh>
-#include <common/util.qh>
 #include <common/items/item.qh>
-#include <common/weapons/_all.qh>
-#include <common/replicate.qh>
-#include <common/state.qh>
 #include <common/mapobjects/triggers.qh>
 #include <common/mutators/mutator/waypoints/waypointsprites.qh>
+#include <common/net_linked.qh>
+#include <common/replicate.qh>
+#include <common/state.qh>
+#include <common/util.qh>
+#include <common/weapons/_all.qh>
 #include <common/wepent.qh>
+#include <server/items/items.qh>
+#include <server/items/spawning.qh>
+#include <server/weapons/weaponsystem.qh>
 
 // switch between weapons
 void Send_WeaponComplain(entity e, float wpn, float type)
index f555a6ea7bdb69278479171a6e71146e2a54f389..954bcc46c7da86874ea74996499745898e0f6c68 100644 (file)
@@ -1,12 +1,12 @@
 #include "spawning.qh"
 
-#include "weaponsystem.qh"
-#include "../resources.qh"
-#include <server/mutators/_mod.qh>
+#include <common/weapons/_all.qh>
 #include <server/items/items.qh>
 #include <server/items/spawning.qh>
+#include <server/mutators/_mod.qh>
+#include <server/resources.qh>
+#include <server/weapons/weaponsystem.qh>
 #include <server/world.qh>
-#include <common/weapons/_all.qh>
 
 .bool m_isreplaced; ///< Holds whether the weapon has been replaced.
 
index 1a92f39919f18a31d5754a53f1196df8a7007666..41176d7535db9f186acfe375e13a74e3ec3ae994 100644 (file)
@@ -1,20 +1,20 @@
 #include "throwing.qh"
 
-#include "weaponsystem.qh"
-#include "../resources.qh"
-#include <server/items/spawning.qh>
-#include <server/mutators/_mod.qh>
-#include <server/items/items.qh>
-#include "../damage.qh"
-#include <server/world.qh>
 #include <common/items/item.qh>
 #include <common/mapinfo.qh>
-#include <common/notifications/all.qh>
 #include <common/mapobjects/subs.qh>
+#include <common/notifications/all.qh>
+#include <common/state.qh>
 #include <common/util.qh>
 #include <common/weapons/_all.qh>
-#include <common/state.qh>
 #include <common/wepent.qh>
+#include <server/damage.qh>
+#include <server/items/items.qh>
+#include <server/items/spawning.qh>
+#include <server/mutators/_mod.qh>
+#include <server/resources.qh>
+#include <server/weapons/weaponsystem.qh>
+#include <server/world.qh>
 
 void thrown_wep_think(entity this)
 {
index b82095a69971beaa49e6be3a86e07f2e760dc71a..223dd071a956de88e057a362ab1c3e92c7f93855 100644 (file)
@@ -1,26 +1,21 @@
 #include "tracing.qh"
 
-#include <common/effects/all.qh>
-
-#include "accuracy.qh"
-#include "common.qh"
-#include "hitplot.qh"
-#include "weaponsystem.qh"
-
-#include "../damage.qh"
-#include <server/main.qh>
-#include <server/mutators/_mod.qh>
-#include <server/antilag.qh>
-
 #include <common/constants.qh>
+#include <common/effects/all.qh>
 #include <common/net_linked.qh>
+#include <common/state.qh>
 #include <common/util.qh>
-
 #include <common/weapons/_all.qh>
 #include <common/wepent.qh>
-#include <common/state.qh>
-
 #include <lib/warpzone/common.qh>
+#include <server/antilag.qh>
+#include <server/damage.qh>
+#include <server/main.qh>
+#include <server/mutators/_mod.qh>
+#include <server/weapons/accuracy.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/hitplot.qh>
+#include <server/weapons/weaponsystem.qh>
 
 // this function calculates w_shotorg and w_shotdir based on the weapon model
 // offset, trueaim and antilag, and won't put w_shotorg inside a wall.
index f774cb05637957d728565817fe76ae42827a32dc..47805fea6576e1f8b9f2b811e04f916784b657d9 100644 (file)
@@ -1,11 +1,10 @@
 #include "weaponstats.qh"
 
-#include <server/intermission.qh>
-#include <common/weapons/_all.qh>
 #include <common/stats.qh>
-#include "../world.qh"
-
 #include <common/weapons/_all.qh>
+#include <common/weapons/_all.qh>
+#include <server/intermission.qh>
+#include <server/world.qh>
 
 void WeaponStats_Init()
 {
index 487154fe36009147d099934de0fd30363517e66f..5ec837004a08a99a3ed737d8b1dd2e1482f5d79a 100644 (file)
@@ -1,28 +1,27 @@
 #include "weaponsystem.qh"
 
-#include "selection.qh"
-
-#include "../command/common.qh"
-#include <server/client.qh>
-#include <server/damage.qh>
-#include <server/world.qh>
-#include <server/items/items.qh>
-#include <server/mutators/_mod.qh>
-#include "../round_handler.qh"
-#include <server/cheats.qh>
-#include <server/resources.qh>
 #include <common/animdecide.qh>
 #include <common/constants.qh>
 #include <common/items/_mod.qh>
-#include <common/net_linked.qh>
 #include <common/mapobjects/platforms.qh>
 #include <common/monsters/_mod.qh>
+#include <common/net_linked.qh>
 #include <common/notifications/all.qh>
+#include <common/state.qh>
 #include <common/util.qh>
 #include <common/weapons/_all.qh>
-#include <common/state.qh>
-#include <lib/csqcmodel/sv_model.qh>
 #include <common/wepent.qh>
+#include <lib/csqcmodel/sv_model.qh>
+#include <server/cheats.qh>
+#include <server/client.qh>
+#include <server/command/common.qh>
+#include <server/damage.qh>
+#include <server/items/items.qh>
+#include <server/mutators/_mod.qh>
+#include <server/resources.qh>
+#include <server/round_handler.qh>
+#include <server/weapons/selection.qh>
+#include <server/world.qh>
 
 .int state;
 
index de5e63e6bc8c6aed53f313e9ce955e7906966418..01b2763c2325abf323c6820aeed66c0358c4ba6e 100644 (file)
@@ -1,52 +1,52 @@
 #include "world.qh"
 
-#include "anticheat.qh"
-#include "antilag.qh"
-#include "bot/api.qh"
-#include "campaign.qh"
-#include "cheats.qh"
-#include "client.qh"
-#include "command/common.qh"
-#include "command/getreplies.qh"
-#include "command/sv_cmd.qh"
-#include "command/vote.qh"
-#include "hook.qh"
-#include <server/gamelog.qh>
-#include <server/damage.qh>
-#include "ipban.qh"
-#include <server/intermission.qh>
-#include <server/main.qh>
-#include "mapvoting.qh"
-#include <server/mutators/_mod.qh>
-#include "race.qh"
-#include "scores.qh"
-#include "scores_rules.qh"
-#include "spawnpoints.qh"
-#include "teamplay.qh"
-#include "weapons/weaponstats.qh"
-#include <server/weapons/common.qh>
 #include <common/constants.qh>
-#include <common/net_linked.qh>
 #include <common/deathtypes/all.qh>
 #include <common/gamemodes/_mod.qh>
 #include <common/gamemodes/sv_rules.qh>
+#include <common/items/_mod.qh>
 #include <common/mapinfo.qh>
+#include <common/mapobjects/target/music.qh>
+#include <common/mapobjects/trigger/hurt.qh>
+#include <common/mapobjects/trigger/secret.qh>
+#include <common/mapobjects/triggers.qh>
 #include <common/monsters/_mod.qh>
 #include <common/monsters/sv_monsters.qh>
-#include <common/vehicles/all.qh>
+#include <common/net_linked.qh>
 #include <common/notifications/all.qh>
 #include <common/physics/player.qh>
 #include <common/playerstats.qh>
+#include <common/state.qh>
 #include <common/stats.qh>
 #include <common/teams.qh>
-#include <common/mapobjects/triggers.qh>
-#include <common/mapobjects/trigger/hurt.qh>
-#include <common/mapobjects/trigger/secret.qh>
-#include <common/mapobjects/target/music.qh>
 #include <common/util.qh>
-#include <common/items/_mod.qh>
+#include <common/vehicles/all.qh>
 #include <common/weapons/_all.qh>
-#include <common/state.qh>
+#include <server/anticheat.qh>
+#include <server/antilag.qh>
+#include <server/bot/api.qh>
+#include <server/campaign.qh>
+#include <server/cheats.qh>
+#include <server/client.qh>
+#include <server/command/common.qh>
+#include <server/command/getreplies.qh>
+#include <server/command/sv_cmd.qh>
+#include <server/command/vote.qh>
+#include <server/damage.qh>
+#include <server/gamelog.qh>
+#include <server/hook.qh>
+#include <server/intermission.qh>
+#include <server/ipban.qh>
+#include <server/main.qh>
+#include <server/mapvoting.qh>
+#include <server/mutators/_mod.qh>
+#include <server/race.qh>
+#include <server/scores.qh>
+#include <server/scores_rules.qh>
+#include <server/spawnpoints.qh>
+#include <server/teamplay.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/weaponstats.qh>
 
 const float LATENCY_THINKRATE = 10;
 .float latency_sum;