]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/triggers/target/music.qh
A few trillion lines of untested junk, committing now so it doesn't become quadrillions
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / target / music.qh
1 #ifndef TARGET_MUSIC_H
2 #define TARGET_MUSIC_H
3
4 .float lifetime;
5
6 #ifdef CSQC
7 float music_disabled;
8 entity music_default;
9 entity music_target;
10 entity music_trigger;
11 // FIXME also control bgmvolume here, to not require a target_music for the default track.
12
13 .int state;
14 .float lastvol;
15
16 void TargetMusic_Advance();
17
18 void Net_TargetMusic();
19
20 void Ent_TriggerMusic_Think();
21
22 void Ent_TriggerMusic_Remove();
23
24 void Ent_ReadTriggerMusic();
25 #endif
26
27 #endif