mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
shortcut
This commit is contained in:
@@ -437,6 +437,7 @@
|
||||
"vcmi.keyBindings.keyBinding.lobbyToggleChat": "Lobby toggle chat",
|
||||
"vcmi.keyBindings.keyBinding.lobbyTurnOptions": "Lobby turn options",
|
||||
"vcmi.keyBindings.keyBinding.lobbyCampaignSets": "Lobby campaign sets",
|
||||
"vcmi.keyBindings.keyBinding.lobbyBattleMode": "Lobby battle mode",
|
||||
"vcmi.keyBindings.keyBinding.mainMenuBack": "Main menu back",
|
||||
"vcmi.keyBindings.keyBinding.mainMenuCampaign": "Main menu campaign",
|
||||
"vcmi.keyBindings.keyBinding.mainMenuCampaignAb": "Main menu campaign ab",
|
||||
|
||||
@@ -445,6 +445,7 @@
|
||||
"vcmi.keyBindings.keyBinding.lobbyToggleChat": "Lobby Chat umschalten",
|
||||
"vcmi.keyBindings.keyBinding.lobbyTurnOptions": "Lobby Zugoptionen",
|
||||
"vcmi.keyBindings.keyBinding.lobbyCampaignSets": "Lobby Kampagnensätze",
|
||||
"vcmi.keyBindings.keyBinding.lobbyBattleMode": "Lobby Kampfmodus",
|
||||
"vcmi.keyBindings.keyBinding.mainMenuBack": "Hauptmenü zurück",
|
||||
"vcmi.keyBindings.keyBinding.mainMenuCampaign": "Hauptmenü Kampagne",
|
||||
"vcmi.keyBindings.keyBinding.mainMenuCampaignAb": "Hauptmenü Kampagne Ab",
|
||||
|
||||
@@ -98,6 +98,7 @@ enum class EShortcut
|
||||
LOBBY_RANDOM_TOWN_VS,
|
||||
LOBBY_HANDICAP,
|
||||
LOBBY_CAMPAIGN_SETS,
|
||||
LOBBY_BATTLE_MODE,
|
||||
|
||||
MAPS_SIZE_S,
|
||||
MAPS_SIZE_M,
|
||||
|
||||
@@ -162,6 +162,7 @@ EShortcut ShortcutHandler::findShortcut(const std::string & identifier ) const
|
||||
{"lobbyToggleChat", EShortcut::LOBBY_TOGGLE_CHAT },
|
||||
{"lobbyAdditionalOptions", EShortcut::LOBBY_ADDITIONAL_OPTIONS },
|
||||
{"lobbySelectScenario", EShortcut::LOBBY_SELECT_SCENARIO },
|
||||
{"lobbyBattleMode", EShortcut::LOBBY_BATTLE_MODE },
|
||||
{"gameEndTurn", EShortcut::ADVENTURE_END_TURN }, // compatibility ID - extra's use this string
|
||||
{"adventureEndTurn", EShortcut::ADVENTURE_END_TURN },
|
||||
{"adventureLoadGame", EShortcut::ADVENTURE_LOAD_GAME },
|
||||
|
||||
@@ -247,7 +247,7 @@ SelectionTab::SelectionTab(ESelectionScreen Type)
|
||||
buttonBattleOnlyMode = std::make_shared<CButton>(Point(23, 18), AnimationPath::builtin("lobby/battleButton"), CButton::tooltip("", LIBRARY->generaltexth->translate("vcmi.lobby.battleOnlyMode")), [this](){
|
||||
auto lobby = static_cast<CLobbyScreen *>(parent);
|
||||
lobby->toggleTab(lobby->tabBattleOnlyMode);
|
||||
}, EShortcut::LOBBY_ADDITIONAL_OPTIONS);
|
||||
}, EShortcut::LOBBY_BATTLE_MODE);
|
||||
}
|
||||
|
||||
if(tabType == ESelectionScreen::loadGame || tabType == ESelectionScreen::newGame)
|
||||
|
||||
@@ -155,6 +155,7 @@
|
||||
"lobbyToggleChat": "C",
|
||||
"lobbyTurnOptions": "T",
|
||||
"lobbyCampaignSets": "G",
|
||||
"lobbyBattleMode": "X",
|
||||
"mainMenuBack": [ "B", "Escape" ],
|
||||
"mainMenuCampaign": "C",
|
||||
"mainMenuCampaignAb": "A",
|
||||
|
||||
Reference in New Issue
Block a user