Add UI click sounds (#22410)
* Add UI click sounds * tweaks * Significant cleanup * Audio options and numerous fixes * Fix the remaining UI elements * new click sound --------- Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -81,6 +81,12 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<float> LobbyMusicVolume =
|
||||
CVarDef.Create("ambience.lobby_music_volume", 0.50f, CVar.ARCHIVE | CVar.CLIENTONLY);
|
||||
|
||||
/// <summary>
|
||||
/// UI volume.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float> InterfaceVolume =
|
||||
CVarDef.Create("audio.interface_volume", 0.50f, CVar.ARCHIVE | CVar.CLIENTONLY);
|
||||
|
||||
/*
|
||||
* Status
|
||||
*/
|
||||
@@ -573,6 +579,16 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<bool> DatabaseSynchronous =
|
||||
CVarDef.Create("database.sync", false, CVar.SERVERONLY);
|
||||
|
||||
/*
|
||||
* Interface
|
||||
*/
|
||||
|
||||
public static readonly CVarDef<string> UIClickSound =
|
||||
CVarDef.Create("interface.click_sound", "/Audio/UserInterface/click.ogg", CVar.REPLICATED);
|
||||
|
||||
public static readonly CVarDef<string> UIHoverSound =
|
||||
CVarDef.Create("interface.hover_sound", "/Audio/UserInterface/hover.ogg", CVar.REPLICATED);
|
||||
|
||||
/*
|
||||
* Outline
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user