Add mute option to the game

This commit is contained in:
DArcy Rush
2015-11-14 22:36:41 +00:00
parent 3474da0ecc
commit 67f88e368f
12 changed files with 106 additions and 4 deletions

View File

@@ -127,6 +127,7 @@ namespace OpenRA
public string Device = null;
public bool CashTicks = true;
public bool Mute = false;
}
public class PlayerSettings
@@ -204,6 +205,7 @@ namespace OpenRA
public Hotkey DevReloadChromeKey = new Hotkey(Keycode.C, Modifiers.Ctrl | Modifiers.Shift);
public Hotkey HideUserInterfaceKey = new Hotkey(Keycode.H, Modifiers.Ctrl | Modifiers.Shift);
public Hotkey TakeScreenshotKey = new Hotkey(Keycode.P, Modifiers.Ctrl);
public Hotkey ToggleMuteKey = new Hotkey(Keycode.M, Modifiers.None);
public Hotkey Production01Key = new Hotkey(Keycode.F1, Modifiers.None);
public Hotkey Production02Key = new Hotkey(Keycode.F2, Modifiers.None);