]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove lib/color.qh includes
authorotta8634 <k9wolf@pm.me>
Sun, 29 Dec 2024 14:57:49 +0000 (22:57 +0800)
committerotta8634 <k9wolf@pm.me>
Sun, 29 Dec 2024 14:57:49 +0000 (22:57 +0800)
Unnecessary

40 files changed:
qcsrc/common/items/item/ammo.qc
qcsrc/common/items/item/armor.qc
qcsrc/common/items/item/health.qc
qcsrc/common/items/item/jetpack.qc
qcsrc/common/mutators/mutator/buffs/all.inc
qcsrc/common/mutators/mutator/instagib/items.qc
qcsrc/common/mutators/mutator/nades/all.inc
qcsrc/common/mutators/mutator/overkill/okhmg.qc
qcsrc/common/mutators/mutator/overkill/okmachinegun.qc
qcsrc/common/mutators/mutator/overkill/oknex.qc
qcsrc/common/mutators/mutator/overkill/okrpc.qc
qcsrc/common/mutators/mutator/overkill/okshotgun.qc
qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qc
qcsrc/common/mutators/mutator/powerups/powerup/shield.qc
qcsrc/common/mutators/mutator/powerups/powerup/speed.qc
qcsrc/common/mutators/mutator/powerups/powerup/strength.qc
qcsrc/common/vehicles/vehicle/bumblebee.qc
qcsrc/common/vehicles/vehicle/racer.qc
qcsrc/common/vehicles/vehicle/raptor.qc
qcsrc/common/vehicles/vehicle/spiderbot.qc
qcsrc/common/weapons/weapon/arc.qc
qcsrc/common/weapons/weapon/blaster.qc
qcsrc/common/weapons/weapon/crylink.qc
qcsrc/common/weapons/weapon/devastator.qc
qcsrc/common/weapons/weapon/electro.qc
qcsrc/common/weapons/weapon/fireball.qc
qcsrc/common/weapons/weapon/hagar.qc
qcsrc/common/weapons/weapon/hlac.qc
qcsrc/common/weapons/weapon/hook.qc
qcsrc/common/weapons/weapon/machinegun.qc
qcsrc/common/weapons/weapon/minelayer.qc
qcsrc/common/weapons/weapon/mortar.qc
qcsrc/common/weapons/weapon/porto.qc
qcsrc/common/weapons/weapon/rifle.qc
qcsrc/common/weapons/weapon/seeker.qc
qcsrc/common/weapons/weapon/shockwave.qc
qcsrc/common/weapons/weapon/shotgun.qc
qcsrc/common/weapons/weapon/tuba.qc
qcsrc/common/weapons/weapon/vaporizer.qc
qcsrc/common/weapons/weapon/vortex.qc

index d72130c844092557ae328af1f296392f8a58c45e..2b9d5e2f12d6e5651fcc9d99bdf17d432e7c03fe 100644 (file)
@@ -1,7 +1,6 @@
 #include "ammo.qh"
 
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/weapons/all.qh>
 
 METHOD(Ammo, describe, string(Ammo this))
index 13045e38baa839aba97146d81016200b6b4061e5..904686a7b9794c5781c69a9df3643631982beebe 100644 (file)
@@ -1,8 +1,6 @@
 #include "armor.qh"
 
 #ifdef MENUQC
-#include <lib/color.qh>
-
 METHOD(ArmorSmall, describe, string(ArmorSmall this))
 {
     TC(ArmorSmall, this);
index d9780fd9ccec8d10e051795e408a841dded0cb2d..c74e478c15b4a8b36b8c8455ecb49937a3c94520 100644 (file)
@@ -1,8 +1,6 @@
 #include "health.qh"
 
 #ifdef MENUQC
-#include <lib/color.qh>
-
 METHOD(HealthSmall, describe, string(HealthSmall this))
 {
     TC(HealthSmall, this);
index 69ef59aa048a2625080b60ccdcf7263b8c6dedfc..75f9f1559d2c4b7e71a874b591296c40fc811026 100644 (file)
@@ -17,8 +17,6 @@ METHOD(JetpackRegen, m_spawnfunc_hookreplace, GameItem(JetpackRegen this, entity
 #endif
 
 #ifdef MENUQC
-#include <lib/color.qh>
-
 METHOD(Jetpack, describe, string(Jetpack this))
 {
        TC(Jetpack, this);
index 8b9d3a63d27b7101f815a0f093d74a75c3c4a482..99252869d5625cfcda43671aa1fe81fdc973901b 100644 (file)
@@ -1,5 +1,3 @@
-#include <lib/color.qh>
-
 string Buff_CompatName(string buffname)
 {
     switch(buffname)
index 12397829189263d85234d99912be2cd1ec735420..7b6fa5aa185afaebaea339a27f59219aa404e207 100644 (file)
@@ -1,7 +1,6 @@
 #include "items.qh"
 
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/weapons/weapon/vaporizer.qh>
 
 METHOD(VaporizerCells, describe, string(VaporizerCells this))
index 113fd307ed85e045ed46af4d0e2c9bdba1b4e542..20addab926a76a603b4a1cf5d1aa9464073ff0bf 100644 (file)
@@ -1,5 +1,3 @@
-#include <lib/color.qh>
-
 #ifdef GAMEQC
 #define NADE_PROJECTILE(i, projectile, trail) MACRO_BEGIN \
     this.m_projectile[i] = projectile; \
index 57966de674435cefc0dff0dff7a104c8138fe241..a35864da7e0143409b18f8a37cb6abeff413a587 100644 (file)
@@ -156,7 +156,6 @@ METHOD(OverkillHeavyMachineGun, wr_impacteffect, void(entity thiswep, entity act
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 #include "okmachinegun.qh"
 
index 762ed15b2bb3164aad0c9d042f396d70a16726dc..53da43bf03239b71b2e97aacf8a3971a0f603a8e 100644 (file)
@@ -156,7 +156,6 @@ METHOD(OverkillMachineGun, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(OverkillMachineGun, describe, string(OverkillMachineGun this))
index 2d51d79a7970967e02b7bd4dc1f6d50ccce38e5f..1a567aaa21890ffe59d0a04b2b37339385d13e5e 100644 (file)
@@ -363,7 +363,6 @@ METHOD(OverkillNex, wr_zoomdir, bool(entity thiswep))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(OverkillNex, describe, string(OverkillNex this))
index 2f707d1e20f5c5d81417ed7cf92007c50d53e2a9..70566f78efd37e9434a882969a2554e9700368d6 100644 (file)
@@ -232,7 +232,6 @@ METHOD(OverkillRocketPropelledChainsaw, wr_impacteffect, void(entity thiswep, en
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(OverkillRocketPropelledChainsaw, describe, string(OverkillRocketPropelledChainsaw this))
index 0826f236c267647f787b9b099d43c5542d1be48e..405cfadd3f10a85d4b006de61d7d3c6dc7878a45 100644 (file)
@@ -121,7 +121,6 @@ METHOD(OverkillShotgun, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(OverkillShotgun, describe, string(OverkillShotgun this))
index b9e68c0e56e9a3646226eba93d59978e864aebd1..fa096b5fd52865fc67a549d3679d9c53751dc894 100644 (file)
@@ -43,8 +43,6 @@ METHOD(InvisibilityStatusEffect, m_tick, void(StatusEffects this, entity actor))
 }
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
-
 METHOD(InvisibilityItem, describe, string(InvisibilityItem this))
 {
     TC(InvisibilityItem, this);
index ea71b6d1fa56c508af4551037cfb17a07ac506c5..bfbc414334478bc38b10a44118451d7189dfb3af 100644 (file)
@@ -49,8 +49,6 @@ METHOD(ShieldStatusEffect, m_tick, void(StatusEffects this, entity actor))
 }
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
-
 METHOD(ShieldItem, describe, string(ShieldItem this))
 {
     TC(ShieldItem, this);
index 5c8507e855a133043b9af9f982cb50d804bd868e..5e871367d335253586879c19fc0f55477bef5240 100644 (file)
@@ -31,8 +31,6 @@ METHOD(SpeedStatusEffect, m_tick, void(StatusEffects this, entity actor))
 }
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
-
 METHOD(SpeedItem, describe, string(SpeedItem this))
 {
     TC(SpeedItem, this);
index 3340a15d4c58c93efe330672a954509116c61988..be82b2b89b6d565ab91c084e7a1f41f7429c5351 100644 (file)
@@ -49,8 +49,6 @@ METHOD(StrengthStatusEffect, m_tick, void(StatusEffects this, entity actor))
 }
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
-
 METHOD(StrengthItem, describe, string(StrengthItem this))
 {
     TC(StrengthItem, this);
index 3f4e72ea1758c3af4df2043d6741452418a74523..96d438e443c97d3728bcf3579ecb9199f195421d 100644 (file)
@@ -1,9 +1,7 @@
 #include "bumblebee.qh"
 
-#if defined(SVQC)
+#ifdef SVQC
        #include <common/mutators/mutator/instagib/sv_instagib.qh>
-#elif defined(MENUQC)
-       #include <lib/color.qh>
 #endif
 
 #ifdef GAMEQC
index c53fdbd3e766a2cbae648d082fb4a96689b87d7f..ffd8c6060dce7e235ca8b5a7fa82abcffd25c2e5 100644 (file)
@@ -1,10 +1,8 @@
 #include "racer.qh"
 
-#if defined(SVQC)
+#ifdef SVQC
        #include <common/gamemodes/gamemode/ctf/sv_ctf.qh>
        #include <common/mapobjects/trigger/impulse.qh>
-#elif defined(MENUQC)
-       #include <lib/color.qh>
 #endif
 
 #ifdef GAMEQC
index 3f269fc05de2836a6ba75385af0d3bb6e7e1637e..20b8b1991b339aa5393ba543a4a6bbd74a9c6518 100644 (file)
@@ -3,7 +3,6 @@
 #if defined(SVQC)
        #include <common/gamemodes/gamemode/ctf/sv_ctf.qh>
 #elif defined(MENUQC)
-       #include <lib/color.qh>
        #include "spiderbot.qh"
 #endif
 
index 3d53717a103074ba7af5b59b7467ed9453396673..fc54275adf8f35020204dd02fbaa8cd9b07afce4 100644 (file)
@@ -3,7 +3,6 @@
 #if defined(SVQC)
        #include <common/gamemodes/gamemode/ctf/sv_ctf.qh>
 #elif defined(MENUQC)
-       #include <lib/color.qh>
        #include "raptor.qh"
 #endif
 
index 9ccaa832e4cae79a71fd980a4a3d56c896cdbb75..ea5a79d59fa2834d9a970ea96f64cc38bd18b033 100644 (file)
@@ -1510,7 +1510,6 @@ NET_HANDLE(ENT_CLIENT_ARC_BEAM, bool isnew)
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(Arc, describe, string(Arc this))
index 79156bbc62a6dae2bada71a55c2d76491797915e..1d4c3c9bcabe48f3f668adb52463b5666f112328 100644 (file)
@@ -153,7 +153,6 @@ METHOD(Blaster, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 
 METHOD(Blaster, describe, string(Blaster this))
 {
index 536e09d45b009dc5cc00225dda5b1abe6a02d2d4..0e1adfe792005c61097bd773c6f6fa4f702fb2a5 100644 (file)
@@ -629,7 +629,6 @@ METHOD(Crylink, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(Crylink, describe, string(Crylink this))
index 1550ca03184f3333e0134ba06d56f8f602e79536..a216e7bd1c12a5d339b33b0b95b7a4e35016170e 100644 (file)
@@ -607,7 +607,6 @@ METHOD(Devastator, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 #include "vortex.qh"
 
index 44e8f49ca2e17fefed1ebbb55377dce434716f14..04bb7efc92fcfa680fe04a5ac1aea3e8108f1f47 100644 (file)
@@ -776,7 +776,6 @@ METHOD(Electro, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(Electro, describe, string(Electro this))
index c924dde1475c2d704e7b0616057b8f3a0e3649ea..b1c634e2a72c6fed17a4192fb7aa905e108663bc 100644 (file)
@@ -434,7 +434,6 @@ METHOD(Fireball, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 
 METHOD(Fireball, describe, string(Fireball this))
 {
index 8e268ed55c42cf96a4400019f95393bc31a10581..b47d17d4ddf39470aa428756ab4146c453c01ea9 100644 (file)
@@ -497,7 +497,6 @@ METHOD(Hagar, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(Hagar, describe, string(Hagar this))
index 645df616f2ecddf87831888f3b83df00903c1d07..996669e1d6e89ed3d12586aecaed1e94dcffb135 100644 (file)
@@ -227,7 +227,6 @@ METHOD(HLAC, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 #include "blaster.qh"
 
index 21f22c15a5342e29860c39b1f666ec2bee2d9bc3..890f0c10a803b29a5d4ce74d5cabcfaf622ea4b3 100644 (file)
@@ -511,7 +511,6 @@ NET_HANDLE(ENT_CLIENT_HOOK, bool bIsNew)
 // TODO: hook: temporarily transform this.origin for drawing the model along warpzones!
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/jetpack.qh>
 
 METHOD(Hook, describe, string(Hook this))
index 500dfad98d50836eb58371d90a501634c6649bd1..5435b4c7677ae2175727f4cfa12fe98ca3d28401 100644 (file)
@@ -413,7 +413,6 @@ METHOD(MachineGun, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(MachineGun, describe, string(MachineGun this))
index e98c393d630e8d85746e65ad6f053e44bae1c88a..ad6408457acdb7b4df6159811eb4d7628382947c 100644 (file)
@@ -513,7 +513,6 @@ METHOD(MineLayer, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(MineLayer, describe, string(MineLayer this))
index d93dcec85ad3c3b60fe38e87f3000398ab4e31b6..24d0099f05fe45a932867eaca1884aa824d7ae98 100644 (file)
@@ -373,7 +373,6 @@ METHOD(Mortar, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(Mortar, describe, string(Mortar this))
index 4ba376e346184c945f404b199a749ef7bab6c192..ea1673c773dc890e841981e297bc7a95b67cbf11 100644 (file)
@@ -424,7 +424,6 @@ METHOD(PortoLaunch, wr_impacteffect, void(entity this, entity actor)) {
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 
 METHOD(PortoLaunch, describe, string(PortoLaunch this))
 {
index 022545e35151103f38465b9b3f1e06142138b52f..99df93e5fd4f710c4fc436b7c22d133b42bc4452 100644 (file)
@@ -260,7 +260,6 @@ METHOD(Rifle, wr_zoomdir, bool(entity thiswep))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 #include "vortex.qh"
 
index 5e4574312ee13b20c7ff16c81ca35fdaeb6d6c1c..df34e3d39181458250091cde53a71ea1eaafb9ff 100644 (file)
@@ -680,7 +680,6 @@ METHOD(Seeker, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(Seeker, describe, string(Seeker this))
index 379e316cbca41620f14edf0bd9cdf1451e84d8c1..6b6c141c4c8ff51a0f0ed78266db4b25f064dfdd 100644 (file)
@@ -814,7 +814,6 @@ METHOD(Shockwave, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include "shotgun.qh"
 
 METHOD(Shockwave, describe, string(Shockwave this))
index 7eca72d2a3fc1be658f26ca632e18ce19a56e166..4d183f551908bd8be505f07a9dceec6ebd7872cf 100644 (file)
@@ -386,7 +386,6 @@ METHOD(Shotgun, wr_impacteffect, void(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 
 METHOD(Shotgun, describe, string(Shotgun this))
index 81426c7cd126ea0610c3707c0cd40ff568af220e..0566aac871fbd3db0ac06bd421439194d46c720e 100644 (file)
@@ -594,7 +594,6 @@ PRECACHE(Tuba)
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 
 METHOD(Tuba, describe, string(Tuba this))
 {
index 4c048278d02b2834eb5243dde63f2a041c168746..2d0dd83fc5d600ac0df5c6798bfc330e6db73e8c 100644 (file)
@@ -408,7 +408,6 @@ METHOD(Vaporizer, wr_zoom, bool(entity thiswep, entity actor))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/mutators/mutator/instagib/items.qh>
 #include <common/items/item/ammo.qh>
 #include "blaster.qh"
index 370cdf32f824c9116ae168f7048ee03f955d5df6..ce5e8a3fce8b7583927aedffcdca14a74be058c9 100644 (file)
@@ -354,7 +354,6 @@ METHOD(Vortex, wr_zoomdir, bool(entity thiswep))
 
 #endif
 #ifdef MENUQC
-#include <lib/color.qh>
 #include <common/items/item/ammo.qh>
 #include "rifle.qh"