summaryrefslogtreecommitdiff
path: root/apps/plugins/jewels.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-01-15 20:40:48 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-01-15 20:40:48 +0000
commit41ee9e33041dd2020e7ee3c44b81cef538b6592f (patch)
tree80dea3488f41fd0c78512760daf86e1a00dd3f32 /apps/plugins/jewels.c
parent6de815be5cb06e9e8df46fcfdfbf611bce24c99c (diff)
downloadrockbox-41ee9e33041dd2020e7ee3c44b81cef538b6592f.tar.gz
rockbox-41ee9e33041dd2020e7ee3c44b81cef538b6592f.zip
FS#6539 - Thanks to Tom Ross
Add Jewels, Spacerocks, Wormlet, Rockboy and Sudoku for the e200. Also Includes manual changes for plugins. Add X5 keymappings for wormlet to the manual. Add help text for Jewels on the H10 and give a warning if help text is not defined. Fix bug in spacerocks lives drawing on large screens (larger than Ondio). Change spacerocks comments to C style. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12018 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jewels.c')
-rw-r--r--apps/plugins/jewels.c26
1 files changed, 25 insertions, 1 deletions
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c
index ba74879359..d0bf1af5e1 100644
--- a/apps/plugins/jewels.c
+++ b/apps/plugins/jewels.c
@@ -123,7 +123,8 @@ PLUGIN_HEADER
123#define NUM_SCORES 10 123#define NUM_SCORES 10
124 124
125/* use 22x22 tiles (H300, iPod Color) */ 125/* use 22x22 tiles (H300, iPod Color) */
126#elif ((LCD_HEIGHT == 176) && (LCD_WIDTH == 220)) 126#elif ((LCD_HEIGHT == 176) && (LCD_WIDTH == 220)) || \
127 ((LCD_HEIGHT == 220) && (LCD_WIDTH == 176))
127#define TILE_WIDTH 22 128#define TILE_WIDTH 22
128#define TILE_HEIGHT 22 129#define TILE_HEIGHT 22
129#define YOFS 0 130#define YOFS 0
@@ -1306,6 +1307,29 @@ static int jewels_main(struct game_context* bj) {
1306 rb->lcd_puts(0, 9, "SELECT to select"); 1307 rb->lcd_puts(0, 9, "SELECT to select");
1307 rb->lcd_puts(0, 10, "Long SELECT to show menu"); 1308 rb->lcd_puts(0, 10, "Long SELECT to show menu");
1308 rb->lcd_puts(0, 11, "A to cancel"); 1309 rb->lcd_puts(0, 11, "A to cancel");
1310#elif CONFIG_KEYPAD == SANSA_E200_PAD
1311 rb->lcd_puts(0, 2, "Swap pairs of jewels to");
1312 rb->lcd_puts(0, 3, "form connected segments");
1313 rb->lcd_puts(0, 4, "of three or more of the");
1314 rb->lcd_puts(0, 5, "same type.");
1315 rb->lcd_puts(0, 7, "Controls:");
1316 rb->lcd_puts(0, 8, "Directions to move");
1317 rb->lcd_puts(0, 9, "SELECT to select");
1318 rb->lcd_puts(0, 10, "Long SELECT to show menu");
1319 rb->lcd_puts(0, 11, "POWER to cancel");
1320#elif CONFIG_KEYPAD == IRIVER_H10_PAD
1321 rb->lcd_puts(0, 2, "Swap pairs of jewels");
1322 rb->lcd_puts(0, 3, "to form connected");
1323 rb->lcd_puts(0, 4, "segments of three or ");
1324 rb->lcd_puts(0, 5, "more of the");
1325 rb->lcd_puts(0, 6, "same type.");
1326 rb->lcd_puts(0, 8, "Controls:");
1327 rb->lcd_puts(0, 9, "Directions or scroll to move");
1328 rb->lcd_puts(0, 10, "PLAY to select");
1329 rb->lcd_puts(0, 11, "Long PLAY for menu");
1330 rb->lcd_puts(0, 12, "POWER to cancel");
1331#else
1332 #warning: missing help text.
1309#endif 1333#endif
1310 rb->lcd_update(); 1334 rb->lcd_update();
1311 while(true) { 1335 while(true) {