summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index fb286eca98..4b150f0b08 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -32,12 +32,10 @@
32#include "playlist.h" 32#include "playlist.h"
33 33
34#ifdef HAVE_LCD_BITMAP 34#ifdef HAVE_LCD_BITMAP
35#include "games_menu.h"
36#include "screensavers_menu.h"
35#include "bmp.h" 37#include "bmp.h"
36#include "icons.h" 38#include "icons.h"
37#include "boxes.h"
38#include "sokoban.h"
39extern void tetris(void);
40extern void bounce(void);
41#endif 39#endif
42 40
43int show_logo( void ) 41int show_logo( void )
@@ -198,19 +196,17 @@ void main_menu(void)
198{ 196{
199 int m; 197 int m;
200 enum { 198 enum {
201 Tetris, Boxes, Bounce, Sokoban, Version, Sound, Scroll, Shuffle 199 Games, Screensavers, Version, Sound, Scroll, Shuffle
202 }; 200 };
203 201
204 /* main menu */ 202 /* main menu */
205 struct menu_items items[] = { 203 struct menu_items items[] = {
206 { Shuffle, "Shuffle", shuffle }, 204 { Shuffle, "Shuffle", shuffle },
207 { Sound, "Sound", sound_menu }, 205 { Sound, "Sound", sound_menu },
208 { Scroll, "Scroll speed", scroll_speed }, 206 { Scroll, "Scroll speed", scroll_speed },
209#ifdef HAVE_LCD_BITMAP 207#ifdef HAVE_LCD_BITMAP
210 { Tetris, "Tetris", tetris }, 208 { Games, "Games", games_menu },
211 { Boxes, "Boxes", boxes }, 209 { Screensavers, "Screensavers", screensavers_menu },
212 { Bounce, "Bounce", bounce },
213 { Sokoban, "Sokoban", sokoban },
214#endif 210#endif
215 { Version, "Version", show_credits }, 211 { Version, "Version", show_credits },
216 }; 212 };