|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "music.qh"Go to the source code of this file.
Functions | |
| spawnfunc (target_music) | |
| spawnfunc (trigger_music) | |
| STATIC_INIT (g_targetmusic_list) | |
| void | target_music_kill () |
| void | target_music_reset (entity this) |
| void | target_music_sendto (entity this, int to, bool is) |
| void | target_music_use (entity this, entity actor, entity trigger) |
| void | TargetMusic_RestoreGame () |
| void | trigger_music_reset (entity this) |
| bool | trigger_music_SendEntity (entity this, entity to, int sendflags) |
Variables | |
| IntrusiveList | g_targetmusic_list |
| spawnfunc | ( | target_music | ) |
Definition at line 73 of file music.qc.
References g_targetmusic_list, IL_PUSH(), MSG_INIT, target_music_reset(), target_music_sendto(), target_music_use(), targetname, use, and volume.
| spawnfunc | ( | trigger_music | ) |
Definition at line 147 of file music.qc.
References generic_netlinked_legacy_use(), generic_netlinked_setactive(), maxs, mins, model, modelindex, Net_LinkEntity(), origin, trigger_music_reset(), trigger_music_SendEntity(), use, and volume.
| STATIC_INIT | ( | g_targetmusic_list | ) |
Definition at line 17 of file music.qc.
References g_targetmusic_list, and IL_NEW.
| void target_music_kill | ( | ) |
Definition at line 48 of file music.qc.
References g_targetmusic_list, IL_EACH, MSG_ALL, and target_music_sendto().
Referenced by NextLevel().
Definition at line 41 of file music.qc.
References entity(), MSG_ALL, target_music_sendto(), and targetname.
Referenced by spawnfunc().
Definition at line 31 of file music.qc.
References entity(), etof, fade_rate, fade_time, lifetime, noise, volume, WriteByte(), WriteHeader, WriteShort(), and WriteString().
Referenced by spawnfunc(), target_music_kill(), target_music_reset(), target_music_use(), and TargetMusic_RestoreGame().
Definition at line 59 of file music.qc.
References entity(), FOREACH_CLIENT, IS_REAL_CLIENT, IS_SPEC, msg_entity, MSG_ONE, and target_music_sendto().
Referenced by spawnfunc().
| void TargetMusic_RestoreGame | ( | ) |
Definition at line 85 of file music.qc.
References g_targetmusic_list, IL_EACH, MSG_INIT, and target_music_sendto().
Referenced by RestoreGame().
Definition at line 135 of file music.qc.
References ACTIVE_ACTIVE, ACTIVE_NOT, entity(), spawnflags, and START_DISABLED.
Referenced by spawnfunc().
Definition at line 103 of file music.qc.
References active, entity(), fade_rate, fade_time, maxs, mins, model, modelindex, MSG_ENTITY, noise, origin, SF_MUSIC_ORIGIN, SF_TRIGGER_INIT, SF_TRIGGER_UPDATE, volume, WriteByte(), WriteHeader, WriteShort(), and WriteString().
Referenced by spawnfunc().
| IntrusiveList g_targetmusic_list |
Definition at line 16 of file music.qc.
Referenced by spawnfunc(), STATIC_INIT(), target_music_kill(), and TargetMusic_RestoreGame().