]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Sort most common includes alphabetically
authorMario <mario.mario@y7mail.com>
Fri, 16 Oct 2020 12:12:54 +0000 (22:12 +1000)
committerMario <mario.mario@y7mail.com>
Fri, 16 Oct 2020 12:12:54 +0000 (22:12 +1000)
36 files changed:
qcsrc/common/animdecide.qc
qcsrc/common/campaign_file.qc
qcsrc/common/campaign_setup.qc
qcsrc/common/command/generic.qc
qcsrc/common/command/markup.qc
qcsrc/common/command/rpn.qc
qcsrc/common/ent_cs.qc
qcsrc/common/mapinfo.qc
qcsrc/common/mapobjects/models.qc
qcsrc/common/mapobjects/platforms.qc
qcsrc/common/mapobjects/subs.qc
qcsrc/common/mapobjects/teleporters.qc
qcsrc/common/minigames/cl_minigames_hud.qc
qcsrc/common/minigames/sv_minigames.qc
qcsrc/common/monsters/sv_monsters.qc
qcsrc/common/monsters/sv_spawn.qc
qcsrc/common/monsters/sv_spawner.qc
qcsrc/common/notifications/all.qc
qcsrc/common/physics/movetypes/follow.qc
qcsrc/common/physics/movetypes/push.qc
qcsrc/common/physics/movetypes/step.qc
qcsrc/common/physics/movetypes/walk.qc
qcsrc/common/physics/player.qc
qcsrc/common/playerstats.qc
qcsrc/common/sounds/all.qc
qcsrc/common/turrets/cl_turrets.qc
qcsrc/common/turrets/config.qc
qcsrc/common/turrets/sv_turrets.qc
qcsrc/common/util.qc
qcsrc/common/vehicles/cl_vehicles.qc
qcsrc/common/vehicles/sv_vehicles.qc
qcsrc/common/vehicles/vehicle/racer.qc
qcsrc/common/viewloc.qc
qcsrc/common/weapons/all.qc
qcsrc/common/weapons/config.qc
qcsrc/common/weapons/weapon/arc.qc

index 136e4d436669695d88000651798fac34834a8cf8..f759ef44475dcd387dc2e46a60ae1ba8498d4d9f 100644 (file)
@@ -1,11 +1,13 @@
 #include "animdecide.qh"
 
-#include <common/monsters/_mod.qh>
-
-#if defined(SVQC)
-    #include "util.qh"
-    #include <common/weapons/_all.qh>
-    #include <common/stats.qh>
+#if defined(CSQC)
+       #include <common/monsters/_mod.qh>
+#elif defined(MENUQC)
+#elif defined(SVQC)
+       #include <common/monsters/_mod.qh>
+       #include <common/stats.qh>
+       #include <common/util.qh>
+       #include <common/weapons/_all.qh>
 #endif
 
 bool monsters_animoverride(entity this)
index 8bac6f35ee05678647caf62ec410df13bf5da770..65e1917fabdddc6a5b5c4ba274a3c6dd58a87133 100644 (file)
@@ -1,9 +1,10 @@
 #include "campaign_file.qh"
+
 #if defined(CSQC)
 #elif defined(MENUQC)
 #elif defined(SVQC)
-    #include "util.qh"
-    #include "campaign_common.qh"
+       #include <common/util.qh>
+       #include <common/campaign_common.qh>
 #endif
 
 // CampaignFileLoad(offset, n)
index 258d47f452bef14facee6dc58a693086b05caded..8be208980a3061d1b595d04ccb40c25235538f37 100644 (file)
@@ -1,9 +1,10 @@
 #include "campaign_setup.qh"
+
 #if defined(CSQC)
 #elif defined(MENUQC)
 #elif defined(SVQC)
-    #include "campaign_common.qh"
-    #include "mapinfo.qh"
+       #include <common/campaign_common.qh>
+       #include <common/mapinfo.qh>
 #endif
 
 void CampaignSetup(int n)
index 7ef5cb64e5fad9d336c929c0150887c61511dbef..e354a9a5915e119cabef6b00f7424f7bd4c70b7b 100644 (file)
@@ -1,24 +1,24 @@
 #include "generic.qh"
-#include "_mod.qh"
-#include "reg.qh"
 
-#include "markup.qh"
-#include "rpn.qh"
-
-#include "../mapinfo.qh"
-
-#ifdef GAMEQC
-       #include "../notifications/all.qh"
-#endif
-
-#ifdef CSQC
+#if defined(CSQC)
        #include <client/command/cl_cmd.qh>
-#endif
-
-#ifdef SVQC
-       #include <server/command/_mod.qh>
+       #include <common/command/_mod.qh>
+       #include <common/command/markup.qh>
+       #include <common/command/reg.qh>
+       #include <common/command/rpn.qh>
+       #include <common/mapinfo.qh>
+       #include <common/notifications/all.qh>
+#elif defined(MENUQC)
+#elif defined(SVQC)
+       #include <common/command/_mod.qh>
+       #include <common/command/markup.qh>
+       #include <common/command/reg.qh>
+       #include <common/command/rpn.qh>
+       #include <common/mapinfo.qh>
+       #include <common/notifications/all.qh>
        #include <common/turrets/config.qh>
        #include <common/weapons/config.qh>
+       #include <server/command/_mod.qh>
 #endif
 
 // =========================================================
index 1618f6e08f8053828637e62dda1e6e18b2972b39..bd1b79cbfbdb05dd3b3644b4c79f696f12ec2210 100644 (file)
@@ -1,5 +1,6 @@
 #include "markup.qh"
-#include "command.qh"
+
+#include <common/command/command.qh>
 
 // =========================================================
 //  Markup chat characters command code, reworked by Samual
index 6d2ffe43bc194374c092daa25d07a7b9626170ab..467768269c8eeccd17912fafc10ba71322394651 100644 (file)
@@ -1,5 +1,6 @@
 #include "rpn.qh"
-#include "command.qh"
+
+#include <common/command/command.qh>
 
 
 // ========================================
index 4ef6b2f793b819805c3a78c5f0fb0e32f190ab2d..95e4af4194a6cd20a41f159efe653979ba70dadd 100644 (file)
@@ -1,8 +1,13 @@
 #include "ent_cs.qh"
-#include <common/gamemodes/_mod.qh>
-#include <common/resources.qh>
-#ifdef SVQC
-#include <server/resources.qh>
+
+#if defined(CSQC)
+       #include <common/gamemodes/_mod.qh>
+       #include <common/resources.qh>
+#elif defined(MENUQC)
+#elif defined(SVQC)
+       #include <common/gamemodes/_mod.qh>
+       #include <common/resources.qh>
+       #include <server/resources.qh>
 #endif
 
 REGISTRY(EntCSProps, BITS(16) - 1)
index b8071fab64b23e7469b47f8fa71b233643ead94e..1b3fa8faf7d34a46925a337174447423e4ecd220 100644 (file)
@@ -1,11 +1,11 @@
 #include "mapinfo.qh"
 #if defined(CSQC)
-    #include "util.qh"
-    #include <common/weapons/_all.qh>
+       #include <common/util.qh>
+       #include <common/weapons/_all.qh>
 #elif defined(MENUQC)
 #elif defined(SVQC)
-    #include "util.qh"
-    #include <common/monsters/_mod.qh>
+       #include <common/util.qh>
+       #include <common/monsters/_mod.qh>
 #endif
 
 #ifdef MENUQC
index 9ba1dcdf66943dffddf543d055357ab97aa0f685..4d4ccc8dd2821b5ef60b33e4f62be4cfee56952d 100644 (file)
@@ -1,14 +1,13 @@
 #include "models.qh"
 
 #ifdef SVQC
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <common/net_linked.qh>
-#include "subs.qh"
-#include "triggers.qh"
-#include "bgmscript.qh"
-
 #include <common/constants.qh>
+#include <common/mapobjects/bgmscript.qh>
+#include <common/mapobjects/subs.qh>
+#include <common/mapobjects/triggers.qh>
+#include <common/net_linked.qh>
+#include <common/stats.qh>
+#include <common/weapons/_all.qh>
 #include <lib/csqcmodel/sv_model.qh>
 
 void g_model_setcolormaptoactivator(entity this, entity actor, entity trigger)
index aae20894d36a6e4bb39b3ff5aaf421f7617c9d8f..afd349673c5cba98654d9ee6d97b57f4b35309f8 100644 (file)
@@ -1,4 +1,5 @@
 #include "platforms.qh"
+
 void generic_plat_blocked(entity this, entity blocker)
 {
 #ifdef SVQC
index 4195abfc68062a4e6be33edda8c4336996abbc36..847deca6e0e4c20578f48404022959ec4ecdde7b 100644 (file)
@@ -1,4 +1,5 @@
 #include "subs.qh"
+
 void SUB_NullThink(entity this) { }
 
 void SUB_CalcMoveDone(entity this);
index 1b0c9a3da30445db53de7c185be7f7965370c394..7c0ea12253b834ee0d1a419992da8161f4fbc3fe 100644 (file)
@@ -3,21 +3,21 @@
 #if defined(CSQC)
 #elif defined(MENUQC)
 #elif defined(SVQC)
-    #include <lib/warpzone/common.qh>
-    #include <lib/warpzone/util_server.qh>
-    #include <lib/warpzone/server.qh>
-    #include "../constants.qh"
-       #include "../mapobjects/subs.qh"
-    #include "../util.qh"
-    #include <server/weapons/csqcprojectile.qh>
-    #include <server/autocvars.qh>
-    #include <common/weapons/_all.qh>
-    #include <common/stats.qh>
-    #include "../deathtypes/all.qh"
-    #include "../turrets/sv_turrets.qh"
-    #include "../vehicles/all.qh"
-    #include <common/gamemodes/_mod.qh>
-    #include <server/anticheat.qh>
+       #include <common/constants.qh>
+       #include <common/deathtypes/all.qh>
+       #include <common/gamemodes/_mod.qh>
+       #include <common/mapobjects/subs.qh>
+       #include <common/stats.qh>
+       #include <common/turrets/sv_turrets.qh>
+       #include <common/util.qh>
+       #include <common/vehicles/all.qh>
+       #include <common/weapons/_all.qh>
+       #include <lib/warpzone/common.qh>
+       #include <lib/warpzone/server.qh>
+       #include <lib/warpzone/util_server.qh>
+       #include <server/anticheat.qh>
+       #include <server/autocvars.qh>
+       #include <server/weapons/csqcprojectile.qh>
 #endif
 
 #ifdef SVQC
index 14dac4e88e3baf9e556733160c0ccdb74c46fcd0..2fdc52fcbf6f4395142062a5f9db17611d5d6ca3 100644 (file)
@@ -2,15 +2,13 @@
 
 #include <client/autocvars.qh>
 #include <client/draw.qh>
+#include <client/hud/hud_config.qh>
+#include <client/mapvoting.qh>
 #include <common/ent_cs.qh>
-
-#include "minigames.qh"
+#include <common/minigames/minigames.qh>
 
 .vector colormod;
 
-#include <client/hud/hud_config.qh>
-#include <client/mapvoting.qh>
-
 void HUD_MinigameBoard_Export(int fh)
 {
        // allow saving cvars that aesthetically change the panel into hud skin files
index 2e793d10a933a3f3b592697d36d8001cb8775a15..21f81055a463f59aa7650992bb59b14c6b5d36dd 100644 (file)
@@ -1,6 +1,6 @@
 #include "sv_minigames.qh"
-#include "minigames.qh"
 
+#include <common/minigames/minigames.qh>
 #include <server/gamelog.qh>
 
 void player_clear_minigame(entity player)
index 2e109e90692a0d7aa3795834a5f881011f66085c..7ddc7b10ca4b74977f4ead415e891101fe15ec72 100644 (file)
@@ -1,31 +1,31 @@
 #include "sv_monsters.qh"
 
+#include <common/constants.qh>
+#include <common/deathtypes/all.qh>
+#include <common/items/_mod.qh>
+#include <common/mapobjects/teleporters.qh>
+#include <common/mapobjects/triggers.qh>
+#include <common/monsters/all.qh>
+#include <common/physics/movelib.qh>
+#include <common/stats.qh>
+#include <common/teams.qh>
+#include <common/turrets/sv_turrets.qh>
+#include <common/turrets/util.qh>
+#include <common/util.qh>
+#include <common/vehicles/all.qh>
+#include <common/weapons/_all.qh>
+#include <common/weapons/_mod.qh>
+#include <lib/csqcmodel/sv_model.qh>
 #include <lib/warpzone/common.qh>
-#include "../constants.qh"
-#include "../teams.qh"
-#include "../util.qh"
-#include "all.qh"
-#include "../physics/movelib.qh"
-#include "../weapons/_mod.qh"
 #include <server/autocvars.qh>
-#include <common/weapons/_all.qh>
-#include <common/stats.qh>
-#include <server/damage.qh>
-#include "../deathtypes/all.qh"
-#include <server/items/items.qh>
-#include <server/mutators/_mod.qh>
-#include <server/steerlib.qh>
-#include "../turrets/sv_turrets.qh"
-#include "../turrets/util.qh"
-#include "../vehicles/all.qh"
 #include <server/campaign.qh>
 #include <server/cheats.qh>
 #include <server/command/_mod.qh>
-#include <common/items/_mod.qh>
-#include <common/mapobjects/teleporters.qh>
-#include "../mapobjects/triggers.qh"
-#include <lib/csqcmodel/sv_model.qh>
+#include <server/damage.qh>
+#include <server/items/items.qh>
+#include <server/mutators/_mod.qh>
 #include <server/round_handler.qh>
+#include <server/steerlib.qh>
 #include <server/weapons/_mod.qh>
 
 void monsters_setstatus(entity this)
index 4cdfb24e40038097dca08a5c4f7fe21a4cb160a0..54fc4154e237fdbff654d742fc14094bfa073441 100644 (file)
@@ -1,15 +1,17 @@
 #include "sv_spawn.qh"
+
 #if defined(CSQC)
 #elif defined(MENUQC)
 #elif defined(SVQC)
-    #include "../util.qh"
-    #include "all.qh"
-    #include "sv_monsters.qh"
-    #include <server/autocvars.qh>
-    #include <common/weapons/_all.qh>
-    #include <common/stats.qh>
-    #include <server/weapons/common.qh>
+       #include <common/monsters/all.qh>
+       #include <common/monsters/sv_monsters.qh>
+       #include <common/stats.qh>
+       #include <common/util.qh>
+       #include <common/weapons/_all.qh>
+       #include <server/autocvars.qh>
+       #include <server/weapons/common.qh>
 #endif
+
 entity spawnmonster (entity e, string monster, Monster monster_id, entity spawnedby, entity own, vector orig, bool respwn, bool removeifinvalid, int moveflag)
 {
        e.spawnflags = MONSTERFLAG_SPAWNED;
index 98222f6ac9b37e68531db26c8eca575ab0d1a118..a430951da56ff891b08842bb1894d57fc1cf6850 100644 (file)
@@ -1,6 +1,7 @@
-#include "sv_monsters.qh"
 #include "sv_spawner.qh"
-#include "sv_spawn.qh"
+
+#include <common/monsters/sv_monsters.qh>
+#include <common/monsters/sv_spawn.qh>
 
 void spawner_use(entity this, entity actor, entity trigger)
 {
index e2c1e185afbea1b4e16e5f0d1599327bd95023bd..372d963d7acec734d3aa28e388a95351197cdb32 100644 (file)
@@ -1,4 +1,5 @@
 #include "all.qh"
+
 #if defined(CSQC)
        #include <client/announcer.qh>
 #elif defined(MENUQC)
@@ -8,8 +9,8 @@
        #include <common/teams.qh>
        #include <server/autocvars.qh>
        #include <server/command/getreplies.qh>
-       #include <server/world.qh>
        #include <server/mutators/_mod.qh>
+       #include <server/world.qh>
 #endif
 
 // ================================================
index 3009069052f7de48c7a4e7a0fa25f69f993cac21..ba33be9861dcd61e346126ce4bf22ada2e0fbab0 100644 (file)
@@ -1,4 +1,5 @@
 #include "follow.qh"
+
 void _Movetype_Physics_Follow(entity this) // SV_Physics_Follow
 {
        entity e = this.aiment;
index 66ff42a69f30b4ca5ab8584ca1cae7edef23b2cf..1b654b59c7e9329197d1b4cad8650b6eeff641f8 100644 (file)
@@ -1,4 +1,5 @@
 #include "push.qh"
+
 void _Movetype_PushMove(entity this, float dt) // SV_PushMove
 {
        if(this.velocity == '0 0 0' && this.avelocity == '0 0 0')
index 30ebe6afadf73a244831de58421d3afe60379066..d689810767ad8e02ce89cee85efd2b8360bfe452 100644 (file)
@@ -1,4 +1,5 @@
 #include "step.qh"
+
 void _Movetype_Physics_Step(entity this, float dt) // SV_Physics_Step
 {
        if(IS_ONGROUND(this))
index cd33ebc826fc347efd83037ece2fcd20f2c94bd5..d74837927b44166256c517eedd1649edf44a7bb4 100644 (file)
@@ -1,4 +1,5 @@
 #include "walk.qh"
+
 void _Movetype_Physics_Walk(entity this, float dt)  // SV_WalkMove
 {
        // if frametime is 0 (due to client sending the same timestamp twice), don't move
index 7afc039e1598df368e6278d54e32bbd806ec7fff..69dcf56b0f5dd368c9d0bc5bc6df1c86cbce94ad 100644 (file)
@@ -1,12 +1,12 @@
 #include "player.qh"
-#include "../mapobjects/_mod.qh"
-#include "../viewloc.qh"
 
-#ifdef SVQC
+#include <common/mapobjects/_mod.qh>
+#include <common/viewloc.qh>
 
-#include <server/client.qh>
+#ifdef SVQC
 #include <common/mapobjects/defs.qh>
-#include "../mapobjects/trigger/viewloc.qh"
+#include <common/mapobjects/trigger/viewloc.qh>
+#include <server/client.qh>
 
 // client side physics
 bool Physics_Valid(string thecvar)
index cbf7f9eef4207c06b783b830ca17235c5d4b29f9..4a7f352035881552acd6e15102f7fc690b7d49f9 100644 (file)
@@ -1,17 +1,18 @@
 #include "playerstats.qh"
+
 #if defined(CSQC)
 #elif defined(MENUQC)
 #elif defined(SVQC)
-    #include "constants.qh"
-    #include "util.qh"
-    #include <common/weapons/_all.qh>
-    #include <server/client.qh>
-    #include "../server/anticheat.qh"
-    #include <common/stats.qh>
-    #include <server/intermission.qh>
-    #include "../server/scores.qh"
+       #include <common/constants.qh>
+       #include <common/stats.qh>
+       #include <common/util.qh>
+       #include <common/weapons/_all.qh>
+       #include <server/anticheat.qh>
+       #include <server/client.qh>
+       #include <server/intermission.qh>
+       #include <server/scores.qh>
+       #include <server/weapons/accuracy.qh>
        #include <server/world.qh>
-    #include "../server/weapons/accuracy.qh"
 #endif
 
 #ifdef SVQC
index fdbf411801511ffd503a0285d478a238b61a80bf..c6418674ce099365cab02d585d6104101d89cee3 100644 (file)
@@ -1,6 +1,6 @@
 #include "all.qh"
-#ifdef SVQC
 
+#ifdef SVQC
 #include <server/utils.qh>
 
 bool autocvar_bot_sound_monopoly;
index fca9f7f237c1936409298da55e5ea0becc87073b..84812fc4605cb2d34fb8497b975e1b9b7d6bafa3 100644 (file)
@@ -1,4 +1,5 @@
 #include "cl_turrets.qh"
+
 void turret_remove(entity this)
 {
        delete(this.tur_head);
index 8ecd190e320753a3f6a21af398df40ceb8721fb0..14c51be66122d463940a6f7d0c422d5a993b8528 100644 (file)
@@ -1,9 +1,10 @@
 #include "config.qh"
+
 #if defined(CSQC)
 #elif defined(MENUQC)
 #elif defined(SVQC)
+       #include <common/turrets/all.qh>
        #include <common/util.qh>
-       #include "all.qh"
 #endif
 
 // ==========================
index 98490610a2470c1aacd575ce26f812764c7b3f65..1900def331225da85a766298834043bc3a2de06f 100644 (file)
@@ -1,12 +1,13 @@
 #include "sv_turrets.qh"
+
 #ifdef SVQC
+#include <common/mapobjects/defs.qh>
 #include <server/autocvars.qh>
 #include <server/bot/api.qh>
 #include <server/damage.qh>
 #include <server/weapons/common.qh>
 #include <server/weapons/weaponsystem.qh>
 #include <server/world.qh>
-#include <common/mapobjects/defs.qh>
 
 // Generic aiming
 vector turret_aim_generic(entity this)
index 35eff3f9ce59ac74c6899b5b5420acfd66946047..ee0eb1058575e45e14db2221683793684ef15b30 100644 (file)
@@ -1,22 +1,22 @@
 #include "util.qh"
 
 #if defined(CSQC)
-    #include "constants.qh"
        #include <client/mutators/_mod.qh>
-    #include "mapinfo.qh"
-    #include "notifications/all.qh"
-       #include "scores.qh"
-    #include <common/deathtypes/all.qh>
+       #include <common/constants.qh>
+       #include <common/deathtypes/all.qh>
        #include <common/gamemodes/_mod.qh>
+       #include <common/mapinfo.qh>
+       #include <common/notifications/all.qh>
+       #include <common/scores.qh>
 #elif defined(MENUQC)
 #elif defined(SVQC)
-    #include "constants.qh"
-       #include <server/mutators/_mod.qh>
-    #include "notifications/all.qh"
-    #include <common/deathtypes/all.qh>
+       #include <common/constants.qh>
+       #include <common/deathtypes/all.qh>
        #include <common/gamemodes/_mod.qh>
-       #include "scores.qh"
-    #include "mapinfo.qh"
+       #include <common/mapinfo.qh>
+       #include <common/notifications/all.qh>
+       #include <common/scores.qh>
+       #include <server/mutators/_mod.qh>
 #endif
 
 #ifdef SVQC
index 667c1f75a31b65587fcd9a9886c000affa454606..86e718bbba914a9b5866264092b42a93db78a509 100644 (file)
@@ -1,4 +1,5 @@
 #include "cl_vehicles.qh"
+
 const string vCROSS_BURST = "gfx/vehicles/crosshair_burst.tga";
 const string vCROSS_DROP  = "gfx/vehicles/crosshair_drop.tga";
 const string vCROSS_GUIDE = "gfx/vehicles/crosshair_guide.tga";
index dbfeb1240f3858db0cb677262f805a350002828c..5bc834a00b357cbc5d9919c314890108f23a64e6 100644 (file)
@@ -1,14 +1,14 @@
 #include "sv_vehicles.qh"
 
-#include <server/bot/api.qh>
-#include <server/damage.qh>
-#include <server/world.qh>
-#include <server/items/items.qh>
 #include <common/items/_mod.qh>
 #include <common/mapobjects/defs.qh>
 #include <common/mapobjects/teleporters.qh>
 #include <common/mapobjects/triggers.qh>
+#include <server/bot/api.qh>
+#include <server/damage.qh>
+#include <server/items/items.qh>
 #include <server/weapons/common.qh>
+#include <server/world.qh>
 
 bool SendAuxiliaryXhair(entity this, entity to, int sf)
 {
index 423eefd1945bd78b5e1d0401fd19b698c6e06d70..606d11505a74da5d05e2f19e185a12ad342bcb9d 100644 (file)
@@ -2,13 +2,12 @@
 
 #if defined(SVQC)
        #include <common/gamemodes/gamemode/ctf/sv_ctf.qh>
+       #include <common/mapobjects/trigger/impulse.qh>
 #endif
 
 #ifdef GAMEQC
 
 #ifdef SVQC
-#include <common/mapobjects/trigger/impulse.qh>
-
 bool autocvar_g_vehicle_racer = true;
 
 float autocvar_g_vehicle_racer_thinkrate = 0.05; // TODO: any higher causes it to sink in liquids
index 58cf42161c7dc52ae7aa3d99f5ec7c585d2fef7e..92e739542eaa20b9642a665bbe8329928764fdaf 100644 (file)
@@ -1,12 +1,12 @@
 #include "viewloc.qh"
-#include "util.qh"
 
 #if defined(CSQC)
-    #include "constants.qh"
+       #include <common/util.qh>
+       #include <common/constants.qh>
 #elif defined(MENUQC)
 #elif defined(SVQC)
-       #include <common/weapons/_all.qh>
        #include <common/stats.qh>
+       #include <common/weapons/_all.qh>
 #endif
 
 // client movement
index 7c089ba70c096514f3af93df29aecd695b88ecde..b0e3b58a0e407def36ec652e0c9dfb09ef5710c4 100644 (file)
@@ -3,54 +3,52 @@
 #define WEAPONS_ALL_C
 
 #if defined(CSQC)
-       #include "../constants.qh"
-       #include "../stats.qh"
-       #include <lib/warpzone/anglestransform.qh>
-       #include <lib/warpzone/common.qh>
-       #include <lib/warpzone/client.qh>
-       #include "../util.qh"
        #include <client/autocvars.qh>
-       #include "../deathtypes/all.qh"
-       #include <lib/csqcmodel/interpolate.qh>
-       #include "../physics/movetypes/movetypes.qh"
        #include <client/main.qh>
+       #include <common/constants.qh>
+       #include <common/deathtypes/all.qh>
+       #include <common/physics/movetypes/movetypes.qh>
+       #include <common/stats.qh>
+       #include <common/util.qh>
+       #include <common/weapons/calculations.qc>
+       #include <common/weapons/weapon/_mod.inc>
        #include <lib/csqcmodel/cl_model.qh>
+       #include <lib/csqcmodel/interpolate.qh>
+       #include <lib/warpzone/anglestransform.qh>
+       #include <lib/warpzone/client.qh>
+       #include <lib/warpzone/common.qh>
 #elif defined(MENUQC)
+       #include <common/weapons/weapon/_mod.inc>
 #elif defined(SVQC)
+       #include <common/constants.qh>
+       #include <common/deathtypes/all.qh>
        #include <common/items/_mod.qh>
+       #include <common/mapinfo.qh>
+       #include <common/monsters/_mod.qh>
+       #include <common/notifications/all.qh>
+       #include <common/stats.qh>
+       #include <common/teams.qh>
+       #include <common/util.qh>
+       #include <common/weapons/calculations.qc>
+       #include <common/weapons/config.qc>
+       #include <common/weapons/config.qh>
+       #include <common/weapons/weapon/_mod.inc>
+       #include <lib/csqcmodel/sv_model.qh>
        #include <lib/warpzone/anglestransform.qh>
        #include <lib/warpzone/common.qh>
-       #include <lib/warpzone/util_server.qh>
        #include <lib/warpzone/server.qh>
-       #include "../constants.qh"
-       #include "../stats.qh"
-       #include "../teams.qh"
-       #include <common/util.qh>
-       #include "../monsters/_mod.qh"
-       #include "config.qh"
-       #include <server/weapons/common.qh>
-       #include <server/weapons/csqcprojectile.qh>
-       #include <server/weapons/tracing.qh>
-       #include <server/items/spawning.qh>
+       #include <lib/warpzone/util_server.qh>
        #include <server/autocvars.qh>
-       #include "../notifications/all.qh"
-       #include "../deathtypes/all.qh"
-       #include <server/mutators/_mod.qh>
-       #include "../mapinfo.qh"
        #include <server/command/_mod.qh>
-       #include <lib/csqcmodel/sv_model.qh>
+       #include <server/hook.qh>
+       #include <server/items/spawning.qh>
+       #include <server/mutators/_mod.qh>
        #include <server/portals.qh>
-#include <server/hook.qh>
-#endif
-#ifdef GAMEQC
-       #include "calculations.qc"
-#endif
-#ifdef SVQC
-       #include "config.qc"
+       #include <server/weapons/common.qh>
+       #include <server/weapons/csqcprojectile.qh>
+       #include <server/weapons/tracing.qh>
 #endif
 
-#include "weapon/_mod.inc"
-
 
 // WEAPON PLUGIN SYSTEM
 
index ab0fa0c17ffa8dc0f75702afa25c070a18b20b7e..596540dd3940c64fe04eb22dfaaa98bf097e3ce1 100644 (file)
@@ -1,9 +1,10 @@
 #include "config.qh"
+
 #if defined(CSQC)
 #elif defined(MENUQC)
 #elif defined(SVQC)
        #include <common/util.qh>
-       #include "all.qh"
+       #include <common/weapons/all.qh>
 #endif
 
 // ==========================
index f5888c50a01bdfea2c648bfa3b33f63718579894..d1905765412d7d990cd204685da791cc109ab20a 100644 (file)
@@ -1,8 +1,8 @@
 #include "arc.qh"
 
 #ifdef SVQC
-#include <common/gamemodes/gamemode/onslaught/sv_onslaught.qh>
 #include <common/gamemodes/gamemode/onslaught/sv_generator.qh>
+#include <common/gamemodes/gamemode/onslaught/sv_onslaught.qh>
 
 bool W_Arc_Beam_Send(entity this, entity to, int sf)
 {