]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/tuba.qh
Center onlyowned weapon panel if the panel bounds reach across the whole screen
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / tuba.qh
1 #ifndef TUBA_H
2 #define TUBA_H
3
4 const float TUBA_MIN = -18;
5 const float TUBA_MAX =  27;
6 const float TUBA_INSTRUMENTS = 3;
7
8 #define TUBA_STARTNOTE(i,n) strcat("weapons/tuba", (i ? ftos(i) : ""), "_loopnote", ftos(n), ".wav")
9 .int note; // note
10 .float attenuate; // if set, attenuate it
11 .float cnt; // current volume
12 .float count; // initial volume
13 .float tuba_instrument;
14
15 int Tuba_PitchStep;
16
17 void tubasound(entity e, float restart);
18
19 void Ent_TubaNote_Think();
20
21 void Ent_TubaNote_UpdateSound();
22
23 void Ent_TubaNote_StopSound();
24
25 void Ent_TubaNote(float bIsNew);
26
27 void Tuba_Precache();
28 #endif