diff options
author | Robert Hak <adiamas@rockbox.org> | 2003-06-30 04:36:57 +0000 |
---|---|---|
committer | Robert Hak <adiamas@rockbox.org> | 2003-06-30 04:36:57 +0000 |
commit | 9e53a9235afe5f358164c4bd388e0210c99fb8e2 (patch) | |
tree | 3b768f6e198bedd9beb4406b08001567df4c1e78 /apps | |
parent | b76dca2df544f02587a9f4b582b47294d1e09b82 (diff) |
lets actually set it so we can play the new games.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3789 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/games_menu.c | 33 | ||||
-rw-r--r-- | apps/lang/english.lang | 20 |
2 files changed, 53 insertions, 0 deletions
diff --git a/apps/games_menu.c b/apps/games_menu.c index 780c4b7415..16acd804ba 100644 --- a/apps/games_menu.c +++ b/apps/games_menu.c @@ -51,6 +51,35 @@ static bool wormlet(void) return false; } +static bool flipit(void) +{ + if (plugin_load("/.rockbox/rocks/flipit.rock",NULL)==PLUGIN_USB_CONNECTED) + return true; + return false; +} + +static bool othelo(void) +{ + if (plugin_load("/.rockbox/rocks/othelo.rock",NULL)==PLUGIN_USB_CONNECTED) + return true; + return false; +} + +static bool sliding_puzzle(void) +{ + if (plugin_load("/.rockbox/rocks/sliding_puzzle.rock", + NULL)==PLUGIN_USB_CONNECTED) + return true; + return false; +} + +static bool star(void) +{ + if (plugin_load("/.rockbox/rocks/star.rock",NULL)==PLUGIN_USB_CONNECTED) + return true; + return false; +} + bool games_menu(void) { int m; @@ -60,6 +89,10 @@ bool games_menu(void) { str(LANG_TETRIS), tetris }, { str(LANG_SOKOBAN), sokoban }, { str(LANG_WORMLET), wormlet }, + { str(LANG_FLIPIT), flipit }, + { str(LANG_OTHELO), othelo }, + { str(LANG_SLIDING_PUZZLE), sliding_puzzle }, + { str(LANG_STAR), star }, }; m=menu_init( items, sizeof items / sizeof(struct menu_items) ); diff --git a/apps/lang/english.lang b/apps/lang/english.lang index 9ca18b88ef..57bec0c656 100644 --- a/apps/lang/english.lang +++ b/apps/lang/english.lang @@ -1612,3 +1612,23 @@ id: LANG_REBOOT_NOW desc: Do you want to reboot? eng: "Reboot now?" new: + +id: LANG_FLIPIT +desc: in the games menu +eng: "Flipit" +new: + +id: LANG_OTHELO +desc: in the games menu +eng: "Othelo" +new: + +id: LANG_SLIDING_PUZZLE +desc: in the games menu +eng: "Sliding Puzzle" +new: + +id: LANG_STAR +desc: in the games menu +eng: "Star" +new: |