summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-07 23:46:39 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-07 23:46:39 -0600
commit31d98e81edc15a8192520ad68d9b851575f19c3a (patch)
treef113580d26607d700033e34f721a77e99f0ce36a
parentec4656af8e2d1946ea2b1d036457c885a9e420dd (diff)
downloadmana-31d98e81edc15a8192520ad68d9b851575f19c3a.tar.gz
mana-31d98e81edc15a8192520ad68d9b851575f19c3a.tar.bz2
mana-31d98e81edc15a8192520ad68d9b851575f19c3a.tar.xz
mana-31d98e81edc15a8192520ad68d9b851575f19c3a.zip
Add a key to toggle visibility of the party window
-rw-r--r--src/game.cpp3
-rw-r--r--src/keyboardconfig.cpp1
-rw-r--r--src/keyboardconfig.h1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index bda71dbd..3cfe2e3c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -765,6 +765,9 @@ void Game::handleInput()
case KeyboardConfig::KEY_WINDOW_DEBUG:
requestedWindow = debugWindow;
break;
+ case KeyboardConfig::KEY_WINDOW_PARTY:
+ requestedWindow = partyWindow;
+ break;
case KeyboardConfig::KEY_WINDOW_EMOTE_SHORTCUT:
requestedWindow = emoteShortcutWindow;
break;
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index 1d8cd6e3..efb8f189 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -77,6 +77,7 @@ static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = {
{"keyWindowShortcut", SDLK_F8, _("Item Shortcut Window")},
{"keyWindowSetup", SDLK_F9, _("Setup Window")},
{"keyWindowDebug", SDLK_F10, _("Debug Window")},
+ {"keyWindowParty", SDLK_F11, _("Party Window")},
{"keyWindowEmoteBar", SDLK_F12, _("Emote Shortcut Window")},
{"keyEmoteShortcut1", SDLK_1, strprintf(_("Emote Shortcut %d"), 1)},
{"keyEmoteShortcut2", SDLK_2, strprintf(_("Emote Shortcut %d"), 2)},
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index ebb94c89..d461c827 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -188,6 +188,7 @@ class KeyboardConfig
KEY_WINDOW_SHORTCUT,
KEY_WINDOW_SETUP,
KEY_WINDOW_DEBUG,
+ KEY_WINDOW_PARTY,
KEY_WINDOW_EMOTE_SHORTCUT,
KEY_EMOTE_1,
KEY_EMOTE_2,