/* allow quick escape to the main menu with the Escape key */
if (key == KSYM_Escape &&
game_status != MAINMENU &&
+ game_status != PLAYING &&
game_status != LEVELED &&
game_status != CHOOSELEVEL &&
game_status != SETUP)
/* special shortcuts for quick game tape saving and loading */
if (game_status == MAINMENU || game_status == PLAYING)
{
- if (key == KSYM_F1) /* save game */
+ if (key == setup.shortcut.save_game)
TapeQuickSave();
- else if (key == KSYM_F2) /* load game */
+ else if (key == setup.shortcut.load_game)
TapeQuickLoad();
}
{
switch(key)
{
+ case KSYM_Escape:
+ RequestQuitGame(setup.ask_on_escape);
+ break;
#ifdef DEBUG
case KSYM_0: