Hook up observer view keybindings. Fixes #4435.

Uses 0-9 to select view (plus shift to cycle backwards), '-' for                 combined shroud and '=' for world view.
This commit is contained in:
Paul Chote
2014-03-22 21:50:05 +13:00
parent a31cdec87a
commit 3a8c94d8f8
6 changed files with 77 additions and 11 deletions

View File

@@ -165,6 +165,9 @@ namespace OpenRA.GameRules
public Hotkey DeployKey = new Hotkey(Keycode.F, Modifiers.None);
public Hotkey StanceCycleKey = new Hotkey(Keycode.Z, Modifiers.None);
public Hotkey GuardKey = new Hotkey(Keycode.D, Modifiers.None);
public Hotkey ObserverCombinedView = new Hotkey(Keycode.MINUS, Modifiers.None);
public Hotkey ObserverWorldView = new Hotkey(Keycode.EQUALS, Modifiers.None);
}
public class IrcSettings