1
0
Fork 0
forked from len0rd/rockbox

New game plugin: bubbles, initial commit

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9126 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Adam Boot 2006-03-20 03:06:07 +00:00
parent fce885d9ec
commit ea4947a95f
21 changed files with 2592 additions and 16 deletions

View file

@ -30,9 +30,10 @@ mandelbrot.c
plasma.c plasma.c
#endif #endif
jewels.c
bounce.c bounce.c
#if (LCD_WIDTH >= 160) && (LCD_HEIGHT >= 128)
bubbles.c
#endif
#if (LCD_WIDTH != 138) && (LCD_WIDTH != 128) #if (LCD_WIDTH != 138) && (LCD_WIDTH != 128)
/* These need adjusting for the Mini's and iRiver if'p screen */ /* These need adjusting for the Mini's and iRiver if'p screen */
brickmania.c brickmania.c
@ -41,6 +42,7 @@ calculator.c
chip8.c chip8.c
demystify.c demystify.c
flipit.c flipit.c
jewels.c
minesweeper.c minesweeper.c
oscilloscope.c oscilloscope.c
pong.c pong.c

View file

@ -1,5 +1,17 @@
#ifdef HAVE_LCD_BITMAP #ifdef HAVE_LCD_BITMAP
/* Bubbles */
#if (LCD_WIDTH == 160) && (LCD_HEIGHT == 128)
bubbles_bubble.160x128x1.bmp
#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 132)
bubbles_bubble.160x128x1.bmp
#elif ((LCD_WIDTH == 220) && (LCD_HEIGHT == 176)) || \
((LCD_WIDTH == 240) && (LCD_HEIGHT == 320))
bubbles_bubble.220x176x1.bmp
#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)
bubbles_bubble.320x240x1.bmp
#endif
/* BrickMania */ /* BrickMania */
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) #if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

View file

@ -1,6 +1,44 @@
#ifdef HAVE_LCD_BITMAP #ifdef HAVE_LCD_BITMAP
/* Bejeweled */ /* Bubbles */
#if (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && !defined(HAVE_LCD_COLOR)
bubbles_emblem.160x128x2.bmp
#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && defined(HAVE_LCD_COLOR)
bubbles_emblem.160x128x16.bmp
bubbles_left.160x128x16.bmp
bubbles_right.160x128x16.bmp
#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 132)
bubbles_emblem.160x128x16.bmp
bubbles_left.176x132x16.bmp
bubbles_right.176x132x16.bmp
#elif (LCD_WIDTH == 220) && (LCD_HEIGHT == 176)
bubbles_emblem.220x176x16.bmp
bubbles_left.220x176x16.bmp
bubbles_right.220x176x16.bmp
#elif (LCD_WIDTH == 240) && (LCD_HEIGHT == 320)
bubbles_emblem.220x176x16.bmp
bubbles_left.240x320x16.bmp
bubbles_right.240x320x16.bmp
#elif (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)
bubbles_emblem.320x240x16.bmp
bubbles_left.320x240x16.bmp
bubbles_right.320x240x16.bmp
#endif
/* ChessBox */
#if (LCD_WIDTH >= 240) && (LCD_HEIGHT >= 240) & (LCD_DEPTH >= 16)
chessbox_pieces.240x240x16.bmp
#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 176) & (LCD_DEPTH >= 16)
chessbox_pieces.176x176x16.bmp
#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) & (LCD_DEPTH > 1)
chessbox_pieces.128x128x2.bmp
#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128)
chessbox_pieces.128x128x1.bmp
#elif (LCD_WIDTH >= 64) && (LCD_HEIGHT >= 64)
chessbox_pieces.64x64x1.bmp
#endif
/* Jewels */
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) #if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
jewels.112x64x1.bmp jewels.112x64x1.bmp
#elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 64) #elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 64)
@ -21,19 +59,6 @@ jewels.220x176x16.bmp
jewels.320x240x16.bmp jewels.320x240x16.bmp
#endif #endif
/* ChessBox */
#if (LCD_WIDTH >= 240) && (LCD_HEIGHT >= 240) & (LCD_DEPTH >= 16)
chessbox_pieces.240x240x16.bmp
#elif (LCD_WIDTH >= 176) && (LCD_HEIGHT >= 176) & (LCD_DEPTH >= 16)
chessbox_pieces.176x176x16.bmp
#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) & (LCD_DEPTH > 1)
chessbox_pieces.128x128x2.bmp
#elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128)
chessbox_pieces.128x128x1.bmp
#elif (LCD_WIDTH >= 64) && (LCD_HEIGHT >= 64)
chessbox_pieces.64x64x1.bmp
#endif
/* Solitaire */ /* Solitaire */
#ifdef HAVE_LCD_COLOR #ifdef HAVE_LCD_COLOR
solitaire_cardback.220x176x16.bmp solitaire_cardback.220x176x16.bmp

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

2537
apps/plugins/bubbles.c Executable file

File diff suppressed because it is too large Load diff