?login_element?

Subversion Repositories NedoOS

Rev

Rev 949 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef GAMEOVER_C
  2. #define GAMEOVER_C
  3.  
  4. #include <evo.h>
  5. #include "font.c"
  6. #include "gameloop.c"
  7. #include "engine.c"
  8.  
  9. void gameover()
  10. {
  11.     init_text();
  12.     text_y = 12/*14*/;
  13.     text_x = 15;
  14.     put_str("Game Over!\n");
  15.     text_x = 12;
  16.     put_str("Your score: ");
  17.     put_num(score);
  18.     swap_screen();
  19.     for (i=0;i<200;i++)
  20.         swap_screen();
  21.     state = STATE_MENU;
  22. }
  23.  
  24. #endif