X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fsounds%2Fall.qh;h=2a0d7ac4f04645600541ede6d9d8c704ab45b70d;hb=4e21f418ad9e6287efb942c1fa2861a51981110a;hp=6d011e21ad0b3f9cb29102fc438fca1e47233b7c;hpb=06a08d0c6b573f2562297147171aff3d990fa42d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/sounds/all.qh b/qcsrc/common/sounds/all.qh index 6d011e21a..2a0d7ac4f 100644 --- a/qcsrc/common/sounds/all.qh +++ b/qcsrc/common/sounds/all.qh @@ -2,6 +2,28 @@ #include "sound.qh" +#ifdef SVQC +void soundat(entity e, vector o, float chan, string samp, float vol, float _atten); + +void stopsoundto(float _dest, entity e, float chan); + +void soundtoat(float _dest, entity e, vector o, float chan, string samp, float vol, float _atten, float _pitch); + +bool sound_allowed(int dest, entity e); + +float spamsound(entity e, float chan, Sound samp, float vol, float _atten); + +void play2(entity e, string filename); + +void play2all(string samp); + +void play2team(float t, string filename); + +void soundto(float dest, entity e, float chan, string samp, float vol, float atten, float _pitch); + +void stopsound(entity e, float chan); +#endif + REGISTRY(Sounds, BITS(9)) REGISTER_REGISTRY(Sounds)