]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Cleanup new mutator includes
authorotta8634 <k9wolf@pm.me>
Wed, 8 Jan 2025 16:45:47 +0000 (00:45 +0800)
committerotta8634 <k9wolf@pm.me>
Wed, 8 Jan 2025 16:45:47 +0000 (00:45 +0800)
Changed `<common/mutators/mutator/` -> `"../`.
This was done in other parts of the mutator code, and is cleaner.

qcsrc/common/mutators/mutator/cloaked/cloaked.qc
qcsrc/common/mutators/mutator/dodging/dodging.qc
qcsrc/common/mutators/mutator/hook/hook.qc
qcsrc/common/mutators/mutator/instagib/instagib.qc
qcsrc/common/mutators/mutator/nades/nades.qc
qcsrc/common/mutators/mutator/new_toys/new_toys.qc
qcsrc/common/mutators/mutator/offhand_blaster/offhand_blaster.qc
qcsrc/common/mutators/mutator/overkill/overkill.qc
qcsrc/common/mutators/mutator/vampire/vampire.qc

index 25910c4763bd9f8e9e48ba0a5693157ea3ee07a7..f9118925dcd94bfbc16cfc28444b79da6211fd89 100644 (file)
@@ -1,7 +1,7 @@
 #include "cloaked.qh"
 
 #ifdef MENUQC
-#include <common/mutators/mutator/powerups/powerup/invisibility.qh>
+#include "../powerups/powerup/invisibility.qh"
 
 METHOD(MutatorCloaked, describe, string(MutatorCloaked this))
 {
index dac57b31233e840a4bf86cfa685bb47512073201..77bb7aeec55aed443baf1eff2e21aaba12c44017 100644 (file)
@@ -1,7 +1,7 @@
 #include "dodging.qh"
 
 #ifdef MENUQC
-#include <common/mutators/mutator/overkill/overkill.qh>
+#include "../overkill/overkill.qh"
 
 METHOD(MutatorDodging, describe, string(MutatorDodging this))
 {
index 5180cf618ad570c201e4ff86cc17197b5e97d410..e3f0770b0db56cff337ec1d29ccd8eade2f08407 100644 (file)
@@ -1,7 +1,7 @@
 #include "hook.qh"
 
 #ifdef MENUQC
-#include <common/mutators/mutator/offhand_blaster/offhand_blaster.qh>
+#include "../offhand_blaster/offhand_blaster.qh"
 #include <common/weapons/weapon/hook.qh>
 
 METHOD(MutatorGrapplingHook, describe, string(MutatorGrapplingHook this))
index aab5480c4a9e9f7a4fb8e3c305d8a97a0c63c09c..70ac5cf1c803f96454c103cdc29afb39197e3f00 100644 (file)
@@ -2,10 +2,10 @@
 
 #ifdef MENUQC
 #include "items.qh"
+#include "../powerups/powerup/speed.qh"
+#include "../powerups/powerup/invisibility.qh"
 #include <common/gamemodes/gamemode/deathmatch/deathmatch.qh>
 #include <common/items/item/ammo.qh>
-#include <common/mutators/mutator/powerups/powerup/speed.qh>
-#include <common/mutators/mutator/powerups/powerup/invisibility.qh>
 #include <common/weapons/weapon/vaporizer.qh>
 
 METHOD(MutatorInstagib, describe, string(MutatorInstagib this))
index 988284c5e8179df3771d6f6f5a5d28c0f03b8015..39e6af99f95dc46037329e0d29703eb8b4de1e10 100644 (file)
@@ -1804,9 +1804,9 @@ MUTATOR_HOOKFUNCTION(nades, BuildMutatorsString)
 
 #endif
 #ifdef MENUQC
-#include <common/mutators/mutator/hook/hook.qh>
-#include <common/mutators/mutator/offhand_blaster/offhand_blaster.qh>
-#include <common/mutators/mutator/overkill/overkill.qh>
+#include "../hook/hook.qh"
+#include "../offhand_blaster/offhand_blaster.qh"
+#include "../overkill/overkill.qh"
 
 METHOD(MutatorNades, describe, string(MutatorNades this))
 {
index f7e815a03f8e6228bca7265bdf357fa64f117b7e..c500a1b956c275c6cc7680c7eacdbd07002578f4 100644 (file)
@@ -20,8 +20,8 @@ bool nt_IsNewToy(int w)
 }
 
 #ifdef MENUQC
-#include <common/mutators/mutator/instagib/instagib.qh>
-#include <common/mutators/mutator/overkill/overkill.qh>
+#include "../instagib/instagib.qh"
+#include "../overkill/overkill.qh"
 
 METHOD(MutatorNewToys, describe, string(MutatorNewToys this))
 {
index dd78f9beb9e29140f3484455abe7d61f1a5b7536..9d300ef2bae51f92a7c589041923e41112679fa4 100644 (file)
@@ -1,7 +1,7 @@
 #include "offhand_blaster.qh"
 
 #ifdef MENUQC
-#include <common/mutators/mutator/hook/hook.qh>
+#include "../hook/hook.qh"
 #include <common/weapons/weapon/blaster.qh>
 
 METHOD(MutatorOffhandBlaster, describe, string(MutatorOffhandBlaster this))
index f761ebefe7d82d98ad42b37f9e5f425c944a3f03..161dd71e5caff78dcc62bcc0c9531113c6ad488f 100644 (file)
@@ -6,8 +6,8 @@
 #include "okmachinegun.qh"
 #include "okrpc.qh"
 #include "okshotgun.qh"
-#include <common/mutators/mutator/dodging/dodging.qh>
-#include <common/mutators/mutator/nades/nades.qh>
+#include "../dodging/dodging.qh"
+#include "../nades/nades.qh"
 
 METHOD(MutatorOverkill, describe, string(MutatorOverkill this))
 {
index 47760dcdd3ae08c23739d8486f724772e9400bea..64cd2afe09b5a2578f9de3b42cac4005c98c2eaf 100644 (file)
@@ -1,7 +1,7 @@
 #include "vampire.qh"
 
 #ifdef MENUQC
-#include <common/mutators/mutator/buffs/buffs.qh>
+#include "../buffs/buffs.qh"
 
 METHOD(MutatorVampire, describe, string(MutatorVampire this))
 {