added key shortcuts to restart and replay/resume (before end) the game
[rocksndiamonds.git] / src / events.c
index 4a1ecbfee9df368244a8d26d596c7b677fcce925..968084f48474583c99d069c728b5425b27dac550 100644 (file)
@@ -2284,6 +2284,10 @@ void HandleKey(Key key, int key_status)
       TapeQuickSave();
     else if (key == setup.shortcut.load_game)
       TapeQuickLoad();
+    else if (key == setup.shortcut.restart_game)
+      TapeRestartGame();
+    else if (key == setup.shortcut.pause_before_end)
+      TapeReplayAndPauseBeforeEnd();
     else if (key == setup.shortcut.toggle_pause)
       TapeTogglePause(TAPE_TOGGLE_MANUAL | TAPE_TOGGLE_PLAY_PAUSE);