summaryrefslogtreecommitdiff
path: root/apps/games_menu.c
diff options
context:
space:
mode:
authorEric Linenberg <elinenbe@umich.edu>2002-09-10 15:55:37 +0000
committerEric Linenberg <elinenbe@umich.edu>2002-09-10 15:55:37 +0000
commit5d33b5b68fb2956df419322da613c3fc27177bc6 (patch)
tree6c4bf56476638be2c4487b408bb3af8a2a88ffa0 /apps/games_menu.c
parent62bec9e0d22821152b0ef49fdfd8e6b9e4567ddc (diff)
classic snake game by Itai Shaked
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2260 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/games_menu.c')
-rw-r--r--apps/games_menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/games_menu.c b/apps/games_menu.c
index 49f491753f..dd0c671be4 100644
--- a/apps/games_menu.c
+++ b/apps/games_menu.c
@@ -35,6 +35,7 @@
#include "sokoban.h"
#include "wormlet.h"
extern Menu tetris(void);
+extern Menu snake(void);
Menu games_menu(void)
{
@@ -42,9 +43,10 @@ Menu games_menu(void)
Menu result;
struct menu_items items[] = {
- { "Tetris", tetris },
+ { "Tetris", tetris },
{ "Sokoban", sokoban },
- { "Wormlet", wormlet }
+ { "Wormlet", wormlet },
+ { "Snake", snake }
};
m=menu_init( items, sizeof items / sizeof(struct menu_items) );