forked from len0rd/rockbox
Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
90eacb2616
commit
b701322fea
66 changed files with 193 additions and 97 deletions
|
@ -96,8 +96,9 @@ PLUGIN_HEADER
|
|||
#define BJACK_RIGHT BUTTON_RIGHT
|
||||
#define BJACK_LEFT BUTTON_LEFT
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_4G_PAD)
|
||||
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
|
||||
#define BJACK_START BUTTON_SELECT
|
||||
#define BJACK_QUIT BUTTON_MENU
|
||||
#define BJACK_MAX (BUTTON_SELECT|BUTTON_SCROLL_FWD)
|
||||
|
@ -826,7 +827,9 @@ static signed int blackjack_get_amount(char message[20], signed int lower_limit,
|
|||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 4*h - 1, message);
|
||||
rb->snprintf(str, 9, "$%d", amount);
|
||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 3*h, str);
|
||||
#if (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
|
||||
#if (CONFIG_KEYPAD == IPOD_4G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
|
||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - h-2, " >>|: +1");
|
||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 - 1, " |<<: -1");
|
||||
rb->lcd_putsxy(LCD_WIDTH/2 - 9*w, LCD_HEIGHT/2 + h, "SCROLL+: +10");
|
||||
|
@ -1034,7 +1037,9 @@ static unsigned int blackjack_menu(struct game_context* bj) {
|
|||
rb->snprintf(str, 21, "High Score: $%d", bj->highscores[0]);
|
||||
rb->lcd_puts(0, 8, str);
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_3G_PAD) || (CONFIG_KEYPAD == IPOD_4G_PAD)
|
||||
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
|
||||
#if LCD_WIDTH >=176
|
||||
rb->lcd_puts(0, 2, "SELECT to start & to hit");
|
||||
rb->lcd_puts(0, 3, "MENU to exit");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue