forked from len0rd/rockbox
Bubbles for Sansa c200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14894 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7cbc161d51
commit
bb62942b89
7 changed files with 22 additions and 2 deletions
|
@ -52,9 +52,7 @@ plasma.c
|
||||||
|
|
||||||
blackjack.c
|
blackjack.c
|
||||||
bounce.c
|
bounce.c
|
||||||
#ifndef SANSA_C200
|
|
||||||
bubbles.c
|
bubbles.c
|
||||||
#endif
|
|
||||||
|
|
||||||
#if (LCD_WIDTH >= 160)
|
#if (LCD_WIDTH >= 160)
|
||||||
invadrox.c
|
invadrox.c
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
/* Bubbles */
|
/* Bubbles */
|
||||||
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
|
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
|
||||||
bubbles_bubble.112x64x1.bmp
|
bubbles_bubble.112x64x1.bmp
|
||||||
|
#elif (LCD_WIDTH == 132) && (LCD_HEIGHT == 80)
|
||||||
|
bubbles_bubble.132x80x16.bmp
|
||||||
#elif ((LCD_WIDTH == 160) && (LCD_HEIGHT == 128)) || \
|
#elif ((LCD_WIDTH == 160) && (LCD_HEIGHT == 128)) || \
|
||||||
((LCD_WIDTH == 128) && (LCD_HEIGHT == 128))
|
((LCD_WIDTH == 128) && (LCD_HEIGHT == 128))
|
||||||
bubbles_bubble.160x128x1.bmp
|
bubbles_bubble.160x128x1.bmp
|
||||||
|
|
BIN
apps/plugins/bitmaps/mono/bubbles_bubble.132x80x16.bmp
Executable file
BIN
apps/plugins/bitmaps/mono/bubbles_bubble.132x80x16.bmp
Executable file
Binary file not shown.
After Width: | Height: | Size: 94 B |
|
@ -82,6 +82,9 @@ bubbles_background.160x128x16.bmp
|
||||||
#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128)
|
#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128)
|
||||||
bubbles_emblem.160x128x16.bmp
|
bubbles_emblem.160x128x16.bmp
|
||||||
bubbles_background.128x128x16.bmp
|
bubbles_background.128x128x16.bmp
|
||||||
|
#elif (LCD_WIDTH >= 132) && (LCD_HEIGHT >= 80)
|
||||||
|
bubbles_emblem.132x80x16.bmp
|
||||||
|
bubbles_background.132x80x16.bmp
|
||||||
#endif
|
#endif
|
||||||
#elif LCD_DEPTH <= 2 /* greyscale, mono */
|
#elif LCD_DEPTH <= 2 /* greyscale, mono */
|
||||||
#if (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128)
|
#if (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128)
|
||||||
|
|
BIN
apps/plugins/bitmaps/native/bubbles_background.132x80x16.bmp
Normal file
BIN
apps/plugins/bitmaps/native/bubbles_background.132x80x16.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
apps/plugins/bitmaps/native/bubbles_emblem.132x80x16.bmp
Normal file
BIN
apps/plugins/bitmaps/native/bubbles_emblem.132x80x16.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 1,014 B |
|
@ -174,6 +174,17 @@ PLUGIN_HEADER
|
||||||
#define ROW_INDENT 5
|
#define ROW_INDENT 5
|
||||||
#define MAX_FPS 30
|
#define MAX_FPS 30
|
||||||
|
|
||||||
|
/* 8x8 bubbles (Sansa C200) */
|
||||||
|
#elif (LCD_HEIGHT == 80) && (LCD_WIDTH == 132)
|
||||||
|
#define BUBBLE_WIDTH 8
|
||||||
|
#define BUBBLE_HEIGHT 8
|
||||||
|
#define EMBLEM_WIDTH 6
|
||||||
|
#define EMBLEM_HEIGHT 6
|
||||||
|
#define XOFS 45
|
||||||
|
#define ROW_HEIGHT 6
|
||||||
|
#define ROW_INDENT 4
|
||||||
|
#define MAX_FPS 30
|
||||||
|
|
||||||
/* 8x7 bubbles (Archos recorder, Ondio) */
|
/* 8x7 bubbles (Archos recorder, Ondio) */
|
||||||
#elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112)
|
#elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112)
|
||||||
#define BUBBLE_WIDTH 8
|
#define BUBBLE_WIDTH 8
|
||||||
|
@ -2456,6 +2467,12 @@ static int bubbles(struct game_context* bb) {
|
||||||
rb->lcd_puts(0, 6, " and show high scores");
|
rb->lcd_puts(0, 6, " and show high scores");
|
||||||
rb->lcd_puts(0, 7, "SCROLL to aim");
|
rb->lcd_puts(0, 7, "SCROLL to aim");
|
||||||
rb->lcd_puts(0, 8, " and change level");
|
rb->lcd_puts(0, 8, " and change level");
|
||||||
|
#elif CONFIG_KEYPAD == SANSA_C200_PAD
|
||||||
|
rb->lcd_puts(0, 2, "PLAY to start/pause");
|
||||||
|
rb->lcd_puts(0, 3, "SUBMENU to save/resume");
|
||||||
|
rb->lcd_puts(0, 4, "POWER to exit");
|
||||||
|
rb->lcd_puts_scroll(0, 5, "SELECT to fire and show high scores, "
|
||||||
|
"LEFT/RIGHT to aim and change level");
|
||||||
#endif
|
#endif
|
||||||
#if LCD_WIDTH >= 138
|
#if LCD_WIDTH >= 138
|
||||||
rb->snprintf(str, 28, "Start on level %d of %d", startlevel+1,
|
rb->snprintf(str, 28, "Start on level %d of %d", startlevel+1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue