1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Allow assigning a shortcut to the options window.

This commit is contained in:
Aaron van Geffen
2016-01-23 23:15:48 +09:00
parent 6eaa93c9bc
commit 2d90bc8354
5 changed files with 11 additions and 0 deletions

View File

@@ -524,6 +524,11 @@ static void shortcut_quick_save_game()
}
}
static void shortcut_show_options()
{
window_options_open();
}
static const shortcut_action shortcut_table[SHORTCUT_COUNT] = {
shortcut_close_top_most_window,
shortcut_close_all_floating_windows,
@@ -570,6 +575,7 @@ static const shortcut_action shortcut_table[SHORTCUT_COUNT] = {
NULL,
shortcut_open_chat_window,
shortcut_quick_save_game,
shortcut_show_options,
};
#pragma endregion