diff options
-rw-r--r-- | apps/main_menu.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index fc99eb3451..25ab12e97b 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c | |||
@@ -34,8 +34,10 @@ | |||
34 | #ifdef HAVE_LCD_BITMAP | 34 | #ifdef HAVE_LCD_BITMAP |
35 | #include "bmp.h" | 35 | #include "bmp.h" |
36 | #include "icons.h" | 36 | #include "icons.h" |
37 | #include "screensaver.h" | 37 | #include "boxes.h" |
38 | #include "sokoban.h" | ||
38 | extern void tetris(void); | 39 | extern void tetris(void); |
40 | extern void bounce(void); | ||
39 | #endif | 41 | #endif |
40 | 42 | ||
41 | int show_logo( void ) | 43 | int show_logo( void ) |
@@ -185,19 +187,21 @@ void main_menu(void) | |||
185 | { | 187 | { |
186 | int m; | 188 | int m; |
187 | enum { | 189 | enum { |
188 | Tetris, Screen_Saver, Version, Sound, Scroll, Shuffle | 190 | Tetris, Boxes, Bounce, Sokoban, Version, Sound, Scroll, Shuffle |
189 | }; | 191 | }; |
190 | 192 | ||
191 | /* main menu */ | 193 | /* main menu */ |
192 | struct menu_items items[] = { | 194 | struct menu_items items[] = { |
193 | { Shuffle, "Shuffle", shuffle }, | 195 | { Shuffle, "Shuffle", shuffle }, |
194 | { Sound, "Sound", sound_menu }, | 196 | { Sound, "Sound", sound_menu }, |
197 | { Scroll, "Scroll speed", scroll_speed }, | ||
195 | #ifdef HAVE_LCD_BITMAP | 198 | #ifdef HAVE_LCD_BITMAP |
196 | { Tetris, "Tetris", tetris }, | 199 | { Tetris, "Tetris", tetris }, |
197 | { Screen_Saver, "Screen Saver", screensaver }, | 200 | { Boxes, "Boxes", boxes }, |
201 | { Bounce, "Bounce", bounce }, | ||
202 | { Sokoban, "Sokoban", sokoban }, | ||
198 | #endif | 203 | #endif |
199 | { Version, "Version", show_credits }, | 204 | { Version, "Version", show_credits }, |
200 | { Scroll, "Scroll speed", scroll_speed }, | ||
201 | }; | 205 | }; |
202 | 206 | ||
203 | m=menu_init( items, sizeof items / sizeof(struct menu_items) ); | 207 | m=menu_init( items, sizeof items / sizeof(struct menu_items) ); |