From 2d767c5c112853a355dd6f13fd808bd1666042ee Mon Sep 17 00:00:00 2001 From: Ben Basha Date: Sun, 19 Mar 2006 13:26:08 +0000 Subject: New plugin: Tetrox, vertical tetris by eli sherer with work by me to port it to all rockbox working platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9118 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/SOURCES | 3 +++ apps/plugins/bitmaps/mono/SOURCES | 5 +++++ .../bitmaps/mono/tetrox_background.112x64x1.bmp | Bin 0 -> 21560 bytes apps/plugins/bitmaps/native/SOURCES | 14 ++++++++++++++ .../bitmaps/native/tetrox_background.160x128x16.bmp | Bin 0 -> 61496 bytes .../bitmaps/native/tetrox_background.160x128x2.bmp | Bin 0 -> 61496 bytes .../bitmaps/native/tetrox_background.176x132x16.bmp | Bin 0 -> 69752 bytes .../bitmaps/native/tetrox_background.220x176x16.bmp | Bin 0 -> 116214 bytes .../bitmaps/native/tetrox_background.320x240x16.bmp | Bin 0 -> 230456 bytes 9 files changed, 22 insertions(+) create mode 100755 apps/plugins/bitmaps/mono/tetrox_background.112x64x1.bmp create mode 100755 apps/plugins/bitmaps/native/tetrox_background.160x128x16.bmp create mode 100755 apps/plugins/bitmaps/native/tetrox_background.160x128x2.bmp create mode 100755 apps/plugins/bitmaps/native/tetrox_background.176x132x16.bmp create mode 100755 apps/plugins/bitmaps/native/tetrox_background.220x176x16.bmp create mode 100755 apps/plugins/bitmaps/native/tetrox_background.320x240x16.bmp diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 9f93d1f1b9..b01641aa17 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -56,6 +56,9 @@ starfield.c /* These need adjusting for the iPod Nano and Mini */ sudoku.c #endif +#if (LCD_WIDTH != 240) && (LCD_WIDTH != 138) && (LCD_WIDTH != 128) +tetrox.c +#endif #if CONFIG_LCD == LCD_SSD1815 video.c #endif diff --git a/apps/plugins/bitmaps/mono/SOURCES b/apps/plugins/bitmaps/mono/SOURCES index 954090468d..0ee98f9c0f 100644 --- a/apps/plugins/bitmaps/mono/SOURCES +++ b/apps/plugins/bitmaps/mono/SOURCES @@ -19,4 +19,9 @@ brickmania_start.112x64x1.bmp #endif +/* Tetrox */ +#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) +tetrox_background.112x64x1.bmp +#endif + #endif /* HAVE_LCD_BITMAP */ diff --git a/apps/plugins/bitmaps/mono/tetrox_background.112x64x1.bmp b/apps/plugins/bitmaps/mono/tetrox_background.112x64x1.bmp new file mode 100755 index 0000000000..d4462d9c56 Binary files /dev/null and b/apps/plugins/bitmaps/mono/tetrox_background.112x64x1.bmp differ diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index f2d3076418..6b6896d263 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES @@ -116,4 +116,18 @@ brickmania_break.176x132x16.bmp #endif +/* Tetrox */ +#if (LCD_WIDTH == 320) && (LCD_HEIGHT == 240) && (LCD_DEPTH == 16) +tetrox_background.320x240x16.bmp +#elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) && (LCD_DEPTH == 16) +tetrox_background.220x176x16.bmp +#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 132) && (LCD_DEPTH == 16) +tetrox_background.176x132x16.bmp +#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH >= 16) +tetrox_background.160x128x16.bmp +#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 2) +tetrox_background.160x128x2.bmp +#endif + + #endif /* HAVE_LCD_BITMAP */ diff --git a/apps/plugins/bitmaps/native/tetrox_background.160x128x16.bmp b/apps/plugins/bitmaps/native/tetrox_background.160x128x16.bmp new file mode 100755 index 0000000000..42674ab03d Binary files /dev/null and b/apps/plugins/bitmaps/native/tetrox_background.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/tetrox_background.160x128x2.bmp b/apps/plugins/bitmaps/native/tetrox_background.160x128x2.bmp new file mode 100755 index 0000000000..656986c7d0 Binary files /dev/null and b/apps/plugins/bitmaps/native/tetrox_background.160x128x2.bmp differ diff --git a/apps/plugins/bitmaps/native/tetrox_background.176x132x16.bmp b/apps/plugins/bitmaps/native/tetrox_background.176x132x16.bmp new file mode 100755 index 0000000000..e53782c21c Binary files /dev/null and b/apps/plugins/bitmaps/native/tetrox_background.176x132x16.bmp differ diff --git a/apps/plugins/bitmaps/native/tetrox_background.220x176x16.bmp b/apps/plugins/bitmaps/native/tetrox_background.220x176x16.bmp new file mode 100755 index 0000000000..c36f3ec932 Binary files /dev/null and b/apps/plugins/bitmaps/native/tetrox_background.220x176x16.bmp differ diff --git a/apps/plugins/bitmaps/native/tetrox_background.320x240x16.bmp b/apps/plugins/bitmaps/native/tetrox_background.320x240x16.bmp new file mode 100755 index 0000000000..70bdaa32b5 Binary files /dev/null and b/apps/plugins/bitmaps/native/tetrox_background.320x240x16.bmp differ -- cgit v1.2.3