diff options
Diffstat (limited to 'apps/plugins/bitmaps/native/SOURCES')
-rw-r--r-- | apps/plugins/bitmaps/native/SOURCES | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index 4b7f0e2670..d608062335 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES | |||
@@ -1,5 +1,27 @@ | |||
1 | #ifdef HAVE_LCD_BITMAP | 1 | #ifdef HAVE_LCD_BITMAP |
2 | 2 | ||
3 | /* 2048 */ | ||
4 | |||
5 | #define MIN(x,y) ((x<y)?x:y) | ||
6 | #if MIN(LCD_WIDTH, LCD_HEIGHT)>=240 | ||
7 | _2048_tiles.48x48x24.bmp | ||
8 | _2048_background.224x224x24.bmp | ||
9 | #elif MIN(LCD_WIDTH, LCD_HEIGHT)>=176 | ||
10 | _2048_tiles.36x36x24.bmp | ||
11 | _2048_background.168x168x24.bmp | ||
12 | #elif MIN(LCD_WIDTH, LCD_HEIGHT)>=132 || MIN(LCD_WIDTH, LCD_HEIGHT)>=128 | ||
13 | _2048_tiles.26x26x24.bmp | ||
14 | _2048_background.121x121x24.bmp | ||
15 | #elif MIN(LCD_WIDTH, LCD_HEIGHT)>=110 | ||
16 | _2048_tiles.22x22x24.bmp | ||
17 | _2048_background.103x103x24.bmp | ||
18 | #else | ||
19 | /* default to smallest bitmaps */ | ||
20 | _2048_tiles.12x12x24.bmp | ||
21 | _2048_background.56x56x24.bmp | ||
22 | #endif | ||
23 | #undef MIN | ||
24 | |||
3 | /* Brickmania */ | 25 | /* Brickmania */ |
4 | #ifdef HAVE_LCD_COLOR | 26 | #ifdef HAVE_LCD_COLOR |
5 | #if LCD_WIDTH >= 112 | 27 | #if LCD_WIDTH >= 112 |