diff options
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) | |||
51 | return false; | 51 | return false; |
52 | } | 52 | } |
53 | 53 | ||
54 | static bool flipit(void) | ||
55 | { | ||
56 | if (plugin_load("/.rockbox/rocks/flipit.rock",NULL)==PLUGIN_USB_CONNECTED) | ||
57 | return true; | ||
58 | return false; | ||
59 | } | ||
60 | |||
61 | static bool othelo(void) | ||
62 | { | ||
63 | if (plugin_load("/.rockbox/rocks/othelo.rock",NULL)==PLUGIN_USB_CONNECTED) | ||
64 | return true; | ||
65 | return false; | ||
66 | } | ||
67 | |||
68 | static bool sliding_puzzle(void) | ||
69 | { | ||
70 | if (plugin_load("/.rockbox/rocks/sliding_puzzle.rock", | ||
71 | NULL)==PLUGIN_USB_CONNECTED) | ||
72 | return true; | ||
73 | return false; | ||
74 | } | ||
75 | |||
76 | static bool star(void) | ||
77 | { | ||
78 | if (plugin_load("/.rockbox/rocks/star.rock",NULL)==PLUGIN_USB_CONNECTED) | ||
79 | return true; | ||
80 | return false; | ||
81 | } | ||
82 | |||
54 | bool games_menu(void) | 83 | bool games_menu(void) |
55 | { | 84 | { |
56 | int m; | 85 | int m; |
@@ -60,6 +89,10 @@ bool games_menu(void) | |||
60 | { str(LANG_TETRIS), tetris }, | 89 | { str(LANG_TETRIS), tetris }, |
61 | { str(LANG_SOKOBAN), sokoban }, | 90 | { str(LANG_SOKOBAN), sokoban }, |
62 | { str(LANG_WORMLET), wormlet }, | 91 | { str(LANG_WORMLET), wormlet }, |
92 | { str(LANG_FLIPIT), flipit }, | ||
93 | { str(LANG_OTHELO), othelo }, | ||
94 | { str(LANG_SLIDING_PUZZLE), sliding_puzzle }, | ||
95 | { str(LANG_STAR), star }, | ||
63 | }; | 96 | }; |
64 | 97 | ||
65 | m=menu_init( items, sizeof items / sizeof(struct menu_items) ); | 98 | 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 | |||
1612 | desc: Do you want to reboot? | 1612 | desc: Do you want to reboot? |
1613 | eng: "Reboot now?" | 1613 | eng: "Reboot now?" |
1614 | new: | 1614 | new: |
1615 | |||
1616 | id: LANG_FLIPIT | ||
1617 | desc: in the games menu | ||
1618 | eng: "Flipit" | ||
1619 | new: | ||
1620 | |||
1621 | id: LANG_OTHELO | ||
1622 | desc: in the games menu | ||
1623 | eng: "Othelo" | ||
1624 | new: | ||
1625 | |||
1626 | id: LANG_SLIDING_PUZZLE | ||
1627 | desc: in the games menu | ||
1628 | eng: "Sliding Puzzle" | ||
1629 | new: | ||
1630 | |||
1631 | id: LANG_STAR | ||
1632 | desc: in the games menu | ||
1633 | eng: "Star" | ||
1634 | new: | ||