- /* Display end-of-level stuff */
- /* (FIXME: This should go in its own event loop function!) */
-
- clearscreen(0, 0, 0);
-
- drawcenteredtext("GAMEOVER", 200, letters_red, NO_UPDATE);
-
- sprintf(str, "SCORE: %d", score);
- drawcenteredtext(str, 224, letters_gold, NO_UPDATE);
-
- sprintf(str, "DISTROS: %d", distros);
- drawcenteredtext(str, 256, letters_blue, NO_UPDATE);
-
- SDL_Flip(screen);
- SDL_Delay(5000);
-
-
- /* FIXME: Should return to title screen, not restart game... */
-
- level = 0;
- lives = 3;
-
- score=0;
- distros=0;