Skip to content

Commit

Permalink
get all mode transistions in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
beerriot committed Feb 27, 2011
1 parent bc3a7d4 commit c33d7ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions blockgame.c
Expand Up @@ -40,6 +40,8 @@ int main() {
bgmenu_display(&game); bgmenu_display(&game);
bggame_play(&game); bggame_play(&game);
bggame_over(game.score); bggame_over(game.score);
bghighscore_maybe(game.score);
bghighscore_screen();
} }


return 0; return 0;
Expand Down
3 changes: 0 additions & 3 deletions src/bggame.c
Expand Up @@ -351,7 +351,4 @@ void bggame_over(uint16_t score) {
lcd_write_string(PSTR("score: ")); lcd_write_string(PSTR("score: "));
lcd_write_int16(score); lcd_write_int16(score);
nktimer_simple_delay(300); nktimer_simple_delay(300);

bghighscore_maybe(score);
bghighscore_screen();
} }

0 comments on commit c33d7ce

Please sign in to comment.