From 41ee9e33041dd2020e7ee3c44b81cef538b6592f Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Mon, 15 Jan 2007 20:40:48 +0000 Subject: 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 --- apps/plugins/jewels.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'apps/plugins/jewels.c') 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 #define NUM_SCORES 10 /* use 22x22 tiles (H300, iPod Color) */ -#elif ((LCD_HEIGHT == 176) && (LCD_WIDTH == 220)) +#elif ((LCD_HEIGHT == 176) && (LCD_WIDTH == 220)) || \ + ((LCD_HEIGHT == 220) && (LCD_WIDTH == 176)) #define TILE_WIDTH 22 #define TILE_HEIGHT 22 #define YOFS 0 @@ -1306,6 +1307,29 @@ static int jewels_main(struct game_context* bj) { rb->lcd_puts(0, 9, "SELECT to select"); rb->lcd_puts(0, 10, "Long SELECT to show menu"); rb->lcd_puts(0, 11, "A to cancel"); +#elif CONFIG_KEYPAD == SANSA_E200_PAD + rb->lcd_puts(0, 2, "Swap pairs of jewels to"); + rb->lcd_puts(0, 3, "form connected segments"); + rb->lcd_puts(0, 4, "of three or more of the"); + rb->lcd_puts(0, 5, "same type."); + rb->lcd_puts(0, 7, "Controls:"); + rb->lcd_puts(0, 8, "Directions to move"); + rb->lcd_puts(0, 9, "SELECT to select"); + rb->lcd_puts(0, 10, "Long SELECT to show menu"); + rb->lcd_puts(0, 11, "POWER to cancel"); +#elif CONFIG_KEYPAD == IRIVER_H10_PAD + rb->lcd_puts(0, 2, "Swap pairs of jewels"); + rb->lcd_puts(0, 3, "to form connected"); + rb->lcd_puts(0, 4, "segments of three or "); + rb->lcd_puts(0, 5, "more of the"); + rb->lcd_puts(0, 6, "same type."); + rb->lcd_puts(0, 8, "Controls:"); + rb->lcd_puts(0, 9, "Directions or scroll to move"); + rb->lcd_puts(0, 10, "PLAY to select"); + rb->lcd_puts(0, 11, "Long PLAY for menu"); + rb->lcd_puts(0, 12, "POWER to cancel"); +#else + #warning: missing help text. #endif rb->lcd_update(); while(true) { -- cgit v1.2.3