break;
}
break;
- case EVENT_SINGLE_TAP:
- case EVENT_DOUBLE_TAP:
- if (state->difficulty > DIFF_HARD) break; // Don't do this on fuel modes
- //fall through
case EVENT_LIGHT_BUTTON_UP:
case EVENT_ALARM_BUTTON_UP:
if (game_state.curr_screen == SCREEN_TITLE)
case EVENT_SINGLE_TAP:
case EVENT_DOUBLE_TAP:
if (state->difficulty > DIFF_HARD) break; // Don't do this on fuel modes
+ // Allow starting a new game by tapping.
+ if (game_state.curr_screen == SCREEN_TITLE) {
+ begin_playing(state);
+ break;
+ }
+ else if (game_state.curr_screen == SCREEN_LOSE) {
+ display_title(state);
+ break;
+ }
//fall through
case EVENT_LIGHT_BUTTON_DOWN:
case EVENT_ALARM_BUTTON_DOWN: