1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Johannes Schwarz 2009-07-18 15:16:24 +00:00
parent 03cb2b83ae
commit 99f5299996
6 changed files with 100 additions and 210 deletions

View file

@ -82,4 +82,15 @@ int highscore_update(int score, int level, const char *name,
bool highscore_would_update(int score, struct highscore *scores,
int num_scores);
#ifdef HAVE_LCD_BITMAP
/* Displays a nice highscore table. In general the font is FONT_UI, but if
* the highscore table doesn't fit on the the display size it uses
* FONT_SYSFIXED.
*
* - position : highlight position line
* - scores : the array of existing scores
* - num_scores: number of elements in 'scores'
*/
void highscore_show(int position, struct highscore *scores, int num_scores);
#endif
#endif