diff options
author | Johannes Schwarz <ubuntuxer@rockbox.org> | 2009-07-18 15:16:24 +0000 |
---|---|---|
committer | Johannes Schwarz <ubuntuxer@rockbox.org> | 2009-07-18 15:16:24 +0000 |
commit | 99f52999968eb56e8fc9cabbf2ab4f65943ce678 (patch) | |
tree | 0e87625df1579f27b3f43141d8a2d20f7b8df248 /apps/plugins/lib/highscore.h | |
parent | 03cb2b83ae17d9118ddee69908389fb4cd0484a6 (diff) | |
download | rockbox-99f52999968eb56e8fc9cabbf2ab4f65943ce678.tar.gz rockbox-99f52999968eb56e8fc9cabbf2ab4f65943ce678.zip |
Commit FS#10350, prevents to save an unchanged highscore and move the function show_highscore to the lib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21960 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/highscore.h')
-rw-r--r-- | apps/plugins/lib/highscore.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/lib/highscore.h b/apps/plugins/lib/highscore.h index a38a6f7bf3..173e389b9b 100644 --- a/apps/plugins/lib/highscore.h +++ b/apps/plugins/lib/highscore.h | |||
@@ -82,4 +82,15 @@ int highscore_update(int score, int level, const char *name, | |||
82 | bool highscore_would_update(int score, struct highscore *scores, | 82 | bool highscore_would_update(int score, struct highscore *scores, |
83 | int num_scores); | 83 | int num_scores); |
84 | 84 | ||
85 | #ifdef HAVE_LCD_BITMAP | ||
86 | /* Displays a nice highscore table. In general the font is FONT_UI, but if | ||
87 | * the highscore table doesn't fit on the the display size it uses | ||
88 | * FONT_SYSFIXED. | ||
89 | * | ||
90 | * - position : highlight position line | ||
91 | * - scores : the array of existing scores | ||
92 | * - num_scores: number of elements in 'scores' | ||
93 | */ | ||
94 | void highscore_show(int position, struct highscore *scores, int num_scores); | ||
95 | #endif | ||
85 | #endif | 96 | #endif |