UFO: Alien Invasion
|
Go to the source code of this file.
Functions | |
void | UI_PlaySound (const char *soundFile) |
Plays a ui sound. More... | |
Variables | |
struct cvar_s * | ui_sounds |
void UI_PlaySound | ( | const char * | soundFile | ) |
Plays a ui sound.
soundFile | Sound file relative to sound/gui |
Definition at line 35 of file ui_sound.cpp.
References cvar_s::integer, S_StartLocalSample(), SND_VOLUME_DEFAULT, and va().
Referenced by uiCheckBoxNode::onLeftClick(), uiTabNode::onLeftClick(), uiLocatedNode::onLeftClick(), uiLocatedNode::onMiddleClick(), uiLocatedNode::onRightClick(), UI_DNDDrag(), and UI_DNDDrop().
struct cvar_s* ui_sounds |
Definition at line 29 of file ui_sound.cpp.
Referenced by UI_Init().