summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/highscore.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/highscore.h')
-rw-r--r--apps/plugins/lib/highscore.h11
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,
82bool highscore_would_update(int score, struct highscore *scores, 82bool 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 */
94void highscore_show(int position, struct highscore *scores, int num_scores);
95#endif
85#endif 96#endif