Invadrox - some bitmap related changes in preparation of porting it to more screen resolutions, should not be visible to the user: (1) Use single bitmaps (or strips where possible) instead of one big bitmap each, so instructions and defines how to take the bitmap apart aren't needed. It's more flexible and makes it possible to (2) get some width/height variables directly from the bitmaps. (3) Use background images for static items. Both reduces the number of hardcoded values noticeably. (4) Make the 'fire_sprite' an external bitmap too - with help of Jens -. (5) Rename 'TINY_GRAPHICS' to 'SMALL_GRAPHICS' to have this name available for even smaller images (which is planned).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20646 a1c6a512-1295-4272-9138-f99709370657
|
@ -37,6 +37,15 @@ flipit_cursor.16x13x1.bmp
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/* Invadrox, not on monochrome targets yet */
|
||||
#if LCD_DEPTH > 1
|
||||
#if LCD_WIDTH >= 220
|
||||
invadrox_fire.8x8x1.bmp
|
||||
#elif LCD_WIDTH >= 160
|
||||
invadrox_fire.6x6x1.bmp
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
/* MPEGplayer */
|
||||
mpegplayer_status_icons_8x8x1.bmp
|
||||
|
|
BIN
apps/plugins/bitmaps/mono/invadrox_fire.6x6x1.bmp
Normal file
After Width: | Height: | Size: 86 B |
BIN
apps/plugins/bitmaps/mono/invadrox_fire.8x8x1.bmp
Normal file
After Width: | Height: | Size: 94 B |
|
@ -256,30 +256,51 @@ flipit_tokens.16x26x1.bmp
|
|||
#endif
|
||||
|
||||
/* Invadrox */
|
||||
#if (LCD_WIDTH == 320) && (LCD_HEIGHT == 240)
|
||||
invadrox.320x240x16.bmp
|
||||
invadrox_left.320x240x16.bmp
|
||||
invadrox_right.320x240x16.bmp
|
||||
#elif (LCD_WIDTH == 220) && (LCD_HEIGHT == 176)
|
||||
/* Use iPod Video character bitmap */
|
||||
invadrox.320x240x16.bmp
|
||||
#elif (LCD_WIDTH == 240) && (LCD_HEIGHT == 320)
|
||||
/* Use iPod Video character bitmap */
|
||||
invadrox.320x240x16.bmp
|
||||
invadrox_logo.240x320x16.bmp
|
||||
#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 132)
|
||||
invadrox.176x132x16.bmp
|
||||
#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH >= 8)
|
||||
/* Use iPod Nano character bitmap */
|
||||
invadrox.176x132x16.bmp
|
||||
#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 2)
|
||||
/* Grayscale */
|
||||
invadrox.160x128x2.bmp
|
||||
#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 220)
|
||||
/* Use iPod Nano character bitmap */
|
||||
invadrox.176x132x16.bmp
|
||||
invadrox_logo.176x220x16.bmp
|
||||
#if defined HAVE_LCD_COLOR
|
||||
#if LCD_WIDTH >= 220
|
||||
invadrox_aliens.24x24x16.bmp
|
||||
invadrox_alien_explode.13x7x16.bmp
|
||||
invadrox_ships.16x24x16.bmp
|
||||
invadrox_bombs.9x42x16.bmp
|
||||
invadrox_shield.22x16x16.bmp
|
||||
invadrox_ufo.16x7x16.bmp
|
||||
invadrox_ufo_explode.21x8x16.bmp
|
||||
invadrox_numbers.50x7x16.bmp
|
||||
#if LCD_WIDTH == 320
|
||||
invadrox_background.320x240x16.bmp
|
||||
#elif LCD_WIDTH == 240
|
||||
invadrox_background.240x320x16.bmp
|
||||
#elif LCD_WIDTH == 220
|
||||
invadrox_background.220x176x16.bmp
|
||||
#endif
|
||||
#elif LCD_WIDTH >= 160
|
||||
invadrox_aliens.16x15x16.bmp
|
||||
invadrox_alien_explode.10x5x16.bmp
|
||||
invadrox_ships.10x15x16.bmp
|
||||
invadrox_bombs.9x30x16.bmp
|
||||
invadrox_shield.15x10x16.bmp
|
||||
invadrox_ufo.11x5x16.bmp
|
||||
invadrox_ufo_explode.14x5x16.bmp
|
||||
invadrox_numbers.40x5x16.bmp
|
||||
#if LCD_WIDTH == 176 && LCD_HEIGHT == 220
|
||||
invadrox_background.176x220x16.bmp
|
||||
#elif LCD_WIDTH == 176 && LCD_HEIGHT == 132
|
||||
invadrox_background.176x132x16.bmp
|
||||
#elif LCD_WIDTH == 160 && LCD_HEIGHT == 128
|
||||
invadrox_background.160x128x16.bmp
|
||||
#endif
|
||||
#endif /* LCD_WIDTH */
|
||||
#elif LCD_DEPTH == 2 /* Greyscale */
|
||||
invadrox_aliens.16x15x16.bmp
|
||||
invadrox_alien_explode.10x5x16.bmp
|
||||
invadrox_ships.10x15x2.bmp
|
||||
invadrox_bombs.9x30x16.bmp
|
||||
invadrox_shield.15x10x2.bmp
|
||||
invadrox_ufo.11x5x2.bmp
|
||||
invadrox_ufo_explode.14x5x2.bmp
|
||||
invadrox_numbers.40x5x16.bmp
|
||||
invadrox_background.160x128x16.bmp
|
||||
#endif /* colour depth */
|
||||
|
||||
/* Jewels */
|
||||
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
|
||||
|
|
Before Width: | Height: | Size: 934 B |
Before Width: | Height: | Size: 938 B |
Before Width: | Height: | Size: 1.7 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_alien_explode.10x5x16.bmp
Normal file
After Width: | Height: | Size: 130 B |
BIN
apps/plugins/bitmaps/native/invadrox_alien_explode.13x7x16.bmp
Normal file
After Width: | Height: | Size: 182 B |
BIN
apps/plugins/bitmaps/native/invadrox_aliens.16x15x16.bmp
Normal file
After Width: | Height: | Size: 310 B |
BIN
apps/plugins/bitmaps/native/invadrox_aliens.24x24x16.bmp
Normal file
After Width: | Height: | Size: 646 B |
BIN
apps/plugins/bitmaps/native/invadrox_background.160x128x16.bmp
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_background.176x132x16.bmp
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_background.176x220x16.bmp
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_background.220x176x16.bmp
Normal file
After Width: | Height: | Size: 114 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_background.240x320x16.bmp
Normal file
After Width: | Height: | Size: 225 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_background.320x240x16.bmp
Normal file
After Width: | Height: | Size: 225 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_bombs.9x30x16.bmp
Normal file
After Width: | Height: | Size: 430 B |
BIN
apps/plugins/bitmaps/native/invadrox_bombs.9x42x16.bmp
Normal file
After Width: | Height: | Size: 574 B |
Before Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 19 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_numbers.40x5x16.bmp
Normal file
After Width: | Height: | Size: 270 B |
BIN
apps/plugins/bitmaps/native/invadrox_numbers.50x7x16.bmp
Normal file
After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 5.7 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_shield.15x10x16.bmp
Normal file
After Width: | Height: | Size: 230 B |
BIN
apps/plugins/bitmaps/native/invadrox_shield.15x10x2.bmp
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_shield.22x16x16.bmp
Normal file
After Width: | Height: | Size: 454 B |
BIN
apps/plugins/bitmaps/native/invadrox_ships.10x15x16.bmp
Normal file
After Width: | Height: | Size: 250 B |
BIN
apps/plugins/bitmaps/native/invadrox_ships.10x15x2.bmp
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_ships.16x24x16.bmp
Normal file
After Width: | Height: | Size: 454 B |
BIN
apps/plugins/bitmaps/native/invadrox_ufo.11x5x16.bmp
Normal file
After Width: | Height: | Size: 130 B |
BIN
apps/plugins/bitmaps/native/invadrox_ufo.11x5x2.bmp
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_ufo.16x7x16.bmp
Normal file
After Width: | Height: | Size: 182 B |
BIN
apps/plugins/bitmaps/native/invadrox_ufo_explode.14x5x16.bmp
Normal file
After Width: | Height: | Size: 150 B |
BIN
apps/plugins/bitmaps/native/invadrox_ufo_explode.14x5x2.bmp
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
apps/plugins/bitmaps/native/invadrox_ufo_explode.21x8x16.bmp
Normal file
After Width: | Height: | Size: 262 B |