|
UFO: Alien Invasion
|

Go to the source code of this file.
Functions | |
| void | UI_PlaySound (const char *soundFile) |
| Plays a ui sound. | |
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 S_StartLocalSample(), SND_VOLUME_DEFAULT, ui_sounds, and va().
Referenced by uiCheckBoxNode::onLeftClick(), uiLocatedNode::onLeftClick(), uiTabNode::onLeftClick(), uiLocatedNode::onMiddleClick(), uiLocatedNode::onRightClick(), UI_DNDDrag(), and UI_DNDDrop().
|
extern |
Definition at line 29 of file ui_sound.cpp.
Referenced by UI_Init(), and UI_PlaySound().