diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-24 14:26:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-24 14:28:39 +0300 |
commit | 1cd50987bce69ada9ccea8c822ccd0ffb34cedde (patch) | |
tree | 58858017e679e053905775ef5cad3a711851edea /src/input | |
parent | b7bb27910303ef1538e2cbb4093e452c77567739 (diff) | |
download | manaplus-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.gz manaplus-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.bz2 manaplus-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.tar.xz manaplus-1cd50987bce69ada9ccea8c822ccd0ffb34cedde.zip |
Add partial support for cart window.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 63f351706..9bc25f49d 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -535,6 +535,7 @@ namespace InputAction CHAT_PARTY_TAB, CHAT_GUILD_TAB, DROP_CLEAR, + WINDOW_CART, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 23d4e6c06..013efa81f 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3969,6 +3969,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "cleardrops|cleardrop|cleardropwindow|dropclear|dropsclear", false}, + {"keyWindowCart", + defaultAction(&Actions::cartWindowShow), + InputCondition::SHORTCUT0, + "cart|opencart", + false}, }; #undef defaultAction |