X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fsounds%2Fall.inc;h=31b5ed4873642ceb21b2fb3fae77b66c5770fd23;hp=99e377e6464f2b91cb5e448e13849038ed1904fb;hb=991de5e6922cd3c283de56c3249624f0f1bfe767;hpb=933a9fccf0f3c135bf99b576d665b1802065455d diff --git a/qcsrc/common/sounds/all.inc b/qcsrc/common/sounds/all.inc index 99e377e646..31b5ed4873 100644 --- a/qcsrc/common/sounds/all.inc +++ b/qcsrc/common/sounds/all.inc @@ -1,8 +1,11 @@ +#pragma once + // Global list of sounds // TODO: remove uses of _sound #include "../teams.qh" string W_Sound(string w_snd); +string Item_Sound(string it_snd); SOUND(ARC_FIRE, W_Sound("arc_fire")); SOUND(ARC_LOOP, W_Sound("arc_loop")); @@ -236,20 +239,20 @@ SOUND(NADE_BEEP, "overkill/grenadebip"); SOUND(BUFF_LOST, "relics/relic_effect"); -SOUND(POWEROFF, "misc/poweroff"); -SOUND(POWERUP, "misc/powerup"); -SOUND(SHIELD_RESPAWN, "misc/shield_respawn"); -SOUND(STRENGTH_RESPAWN, "misc/strength_respawn"); +SOUND(POWEROFF, Item_Sound("poweroff")); +SOUND(POWERUP, Item_Sound("powerup")); +SOUND(SHIELD_RESPAWN, Item_Sound("shield_respawn")); +SOUND(STRENGTH_RESPAWN, Item_Sound("strength_respawn")); -SOUND(ARMOR25, "misc/armor25"); +SOUND(ARMOR25, Item_Sound("armor25")); SOUND(ARMORIMPACT, "misc/armorimpact"); SOUND(BODYIMPACT1, "misc/bodyimpact1"); SOUND(BODYIMPACT2, "misc/bodyimpact2"); -SOUND(ITEMPICKUP, "misc/itempickup"); -SOUND(ITEMRESPAWNCOUNTDOWN, "misc/itemrespawncountdown"); -SOUND(ITEMRESPAWN, "misc/itemrespawn"); -SOUND(MEGAHEALTH, "misc/megahealth"); +SOUND(ITEMPICKUP, Item_Sound("itempickup")); +SOUND(ITEMRESPAWNCOUNTDOWN, Item_Sound("itemrespawncountdown")); +SOUND(ITEMRESPAWN, Item_Sound("itemrespawn")); +SOUND(MEGAHEALTH, Item_Sound("megahealth")); SOUND(LAVA, "player/lava"); SOUND(SLIME, "player/slime");