xobox: show game stats when finishing level

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24145 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jeffrey Goode 2010-01-02 19:48:14 +00:00
parent 799a0a5cd4
commit 3b79698f19

View file

@ -916,6 +916,7 @@ static inline void move_board (void)
player.j = newj; player.j = newj;
} }
if (percentage_cache >= difficulty) { /* finished level */ if (percentage_cache >= difficulty) { /* finished level */
refresh_board ();
rb->splashf (HZ * 2, "Level %d finished", player.level+1); rb->splashf (HZ * 2, "Level %d finished", player.level+1);
player.score += percentage_cache; player.score += percentage_cache;
if (player.level < MAX_LEVEL) if (player.level < MAX_LEVEL)