From ee2f625754ca9f01be6732550f16098c5afa704a Mon Sep 17 00:00:00 2001 From: oy Date: Thu, 10 Mar 2011 10:08:14 +0100 Subject: added extended spectator mode. Closes #28 --- src/game/client/components/menus_settings.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/menus_settings.cpp') diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 9accd6af..4bdf0fd3 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -322,6 +322,7 @@ static CKeyInfo gs_aKeys[] = { "Team chat", "chat team", 0 }, { "Show chat", "+show_chat", 0 }, { "Emoticon", "+emote", 0 }, + { "Spectator mode", "+spectate", 0 }, { "Console", "toggle_local_console", 0 }, { "Remote console", "toggle_remote_console", 0 }, { "Screenshot", "screenshot", 0 }, @@ -331,7 +332,7 @@ static CKeyInfo gs_aKeys[] = Localize("Move left");Localize("Move right");Localize("Jump");Localize("Fire");Localize("Hook");Localize("Hammer"); Localize("Pistol");Localize("Shotgun");Localize("Grenade");Localize("Rifle");Localize("Next weapon");Localize("Prev. weapon"); Localize("Vote yes");Localize("Vote no");Localize("Chat");Localize("Team chat");Localize("Show chat");Localize("Emoticon"); - Localize("Console");Localize("Remote console");Localize("Screenshot");Localize("Scoreboard"); + Localize("Spectate");Localize("Console");Localize("Remote console");Localize("Screenshot");Localize("Scoreboard"); */ const int g_KeyCount = sizeof(gs_aKeys) / sizeof(CKeyInfo); @@ -458,7 +459,7 @@ void CMenus::RenderSettingsControls(CUIRect MainView) TextRender()->Text(0, MiscSettings.x, MiscSettings.y, 14.0f*UI()->Scale(), Localize("Miscellaneous"), -1); MiscSettings.HSplitTop(14.0f+5.0f+10.0f, 0, &MiscSettings); - UiDoGetButtons(17, 22, MiscSettings); + UiDoGetButtons(17, 23, MiscSettings); } // defaults -- cgit 1.4.1