ui_sound.c File Reference

#include "ui_main.h"
#include "ui_sound.h"
#include "../sound/s_main.h"
Include dependency graph for ui_sound.c:

Go to the source code of this file.

Functions

void UI_PlaySound (const char *soundFile)
 Plays a ui sound.

Variables

cvar_tui_sounds

Detailed Description

Definition in file ui_sound.c.


Function Documentation

void UI_PlaySound ( const char *  soundFile  ) 

Plays a ui sound.

Parameters:
soundFile Sound file relative to sound/gui

Definition at line 35 of file ui_sound.c.

References cvar_s::integer, S_StartLocalSample(), SND_VOLUME_DEFAULT, and va().

Referenced by UI_DNDDrag(), UI_DNDDrop(), and UI_MouseDown().


Variable Documentation

Definition at line 29 of file ui_sound.c.

Referenced by UI_Init().


Generated by  doxygen 1.6.2