summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/games_menu.c33
-rw-r--r--apps/lang/english.lang20
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: