summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2010-01-02 19:48:14 +0000
committerJeffrey Goode <jeffg7@gmail.com>2010-01-02 19:48:14 +0000
commit3b79698f19ffbfad07b1a0b74e1a13fbf2cedc92 (patch)
tree57121e7468a6016986c30f2e6228bacb20ef838e /apps/plugins
parent799a0a5cd4001954d8e0e855af4236e1f7b0898d (diff)
downloadrockbox-3b79698f19ffbfad07b1a0b74e1a13fbf2cedc92.tar.gz
rockbox-3b79698f19ffbfad07b1a0b74e1a13fbf2cedc92.zip
xobox: show game stats when finishing level
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24145 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/xobox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index 347270a4bd..81e0e6ae15 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -916,6 +916,7 @@ static inline void move_board (void)
916 player.j = newj; 916 player.j = newj;
917 } 917 }
918 if (percentage_cache >= difficulty) { /* finished level */ 918 if (percentage_cache >= difficulty) { /* finished level */
919 refresh_board ();
919 rb->splashf (HZ * 2, "Level %d finished", player.level+1); 920 rb->splashf (HZ * 2, "Level %d finished", player.level+1);
920 player.score += percentage_cache; 921 player.score += percentage_cache;
921 if (player.level < MAX_LEVEL) 922 if (player.level < MAX_LEVEL)