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:
parent
03cb2b83ae
commit
99f5299996
6 changed files with 100 additions and 210 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue