Cleanup
[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 entityclass(TargetMusic);
14 class(TargetMusic) .int state;
15 class(TargetMusic) .float lastvol;
16
17 void TargetMusic_Advance();
18
19 void Net_TargetMusic();
20
21 void Ent_TriggerMusic_Think();
22
23 void Ent_TriggerMusic_Remove();
24
25 #elif defined(SVQC)
26 void target_music_kill();
27 #endif
28
29 #endif