* Does the given keycode match one of the keycodes bound to 'quit game'? * @param keycode The keycode that was pressed by the user. * @return True iff the keycode matches one of the hotkeys for 'quit'. */
| 539 | * @return True iff the keycode matches one of the hotkeys for 'quit'. |
| 540 | */ |
| 541 | bool IsQuitKey(uint16_t keycode) |
| 542 | { |
| 543 | int num = MainWindow::hotkeys.CheckMatch(keycode); |
| 544 | return num == GHK_QUIT; |
| 545 | } |
| 546 | |
| 547 | |
| 548 | void ShowSelectGameWindow(); |