1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

add spell cast

This commit is contained in:
Laserlicht
2024-05-19 23:12:48 +02:00
parent e4dfca9f3d
commit 53a1bf2051
6 changed files with 70 additions and 16 deletions

View File

@@ -222,6 +222,16 @@ EShortcut ShortcutHandler::findShortcut(const std::string & identifier ) const
{"battleTacticsNext", EShortcut::BATTLE_TACTICS_NEXT },
{"battleTacticsEnd", EShortcut::BATTLE_TACTICS_END },
{"battleSelectAction", EShortcut::BATTLE_SELECT_ACTION },
{"battleSpellShortcut0", EShortcut::BATTLE_SPELL_SHORTCUT_0 },
{"battleSpellShortcut1", EShortcut::BATTLE_SPELL_SHORTCUT_1 },
{"battleSpellShortcut2", EShortcut::BATTLE_SPELL_SHORTCUT_2 },
{"battleSpellShortcut3", EShortcut::BATTLE_SPELL_SHORTCUT_3 },
{"battleSpellShortcut4", EShortcut::BATTLE_SPELL_SHORTCUT_4 },
{"battleSpellShortcut5", EShortcut::BATTLE_SPELL_SHORTCUT_5 },
{"battleSpellShortcut6", EShortcut::BATTLE_SPELL_SHORTCUT_6 },
{"battleSpellShortcut7", EShortcut::BATTLE_SPELL_SHORTCUT_7 },
{"battleSpellShortcut8", EShortcut::BATTLE_SPELL_SHORTCUT_8 },
{"battleSpellShortcut9", EShortcut::BATTLE_SPELL_SHORTCUT_9 },
{"spectateTrackHero", EShortcut::SPECTATE_TRACK_HERO },
{"spectateSkipBattle", EShortcut::SPECTATE_SKIP_BATTLE },
{"spectateSkipBattleResult", EShortcut::SPECTATE_SKIP_BATTLE_RESULT },