diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-09-18 21:44:24 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-09-18 21:44:24 +0000 |
commit | f36d0de98b18b56848582c9792167fc41f0bb253 (patch) | |
tree | 10fafbb1bdaf940a724c9d48158b3bcbb2bb123f /apps | |
parent | f3dd56791a58c6342d15691c67946d7cbaacf4ab (diff) | |
download | rockbox-f36d0de98b18b56848582c9792167fc41f0bb253.tar.gz rockbox-f36d0de98b18b56848582c9792167fc41f0bb253.zip |
Sudoku adapted to H10-5GB by Marianne Arnold.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10998 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/bitmaps/native/SOURCES | 4 | ||||
-rwxr-xr-x | apps/plugins/bitmaps/native/sudoku_inverse.128x128x16.bmp | bin | 0 -> 2278 bytes | |||
-rwxr-xr-x | apps/plugins/bitmaps/native/sudoku_normal.128x128x16.bmp | bin | 0 -> 2278 bytes | |||
-rwxr-xr-x | apps/plugins/bitmaps/native/sudoku_start.128x128x16.bmp | bin | 0 -> 2278 bytes | |||
-rw-r--r-- | apps/plugins/sudoku/SOURCES | 2 | ||||
-rw-r--r-- | apps/plugins/sudoku/sudoku.c | 7 |
6 files changed, 11 insertions, 2 deletions
diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index 7d4e79a584..41b6d6f4f7 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES | |||
@@ -172,6 +172,10 @@ sudoku_inverse.112x64x1.bmp | |||
172 | sudoku_start.138x110x2.bmp | 172 | sudoku_start.138x110x2.bmp |
173 | sudoku_normal.138x110x2.bmp | 173 | sudoku_normal.138x110x2.bmp |
174 | sudoku_inverse.138x110x2.bmp | 174 | sudoku_inverse.138x110x2.bmp |
175 | #elif (LCD_WIDTH == 128) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 16) | ||
176 | sudoku_start.128x128x16.bmp | ||
177 | sudoku_normal.128x128x16.bmp | ||
178 | sudoku_inverse.128x128x16.bmp | ||
175 | #elif ((LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 16)) || \ | 179 | #elif ((LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 16)) || \ |
176 | ((LCD_WIDTH == 176) && (LCD_HEIGHT == 132) && (LCD_DEPTH == 16)) | 180 | ((LCD_WIDTH == 176) && (LCD_HEIGHT == 132) && (LCD_DEPTH == 16)) |
177 | sudoku_start.160x128x16.bmp | 181 | sudoku_start.160x128x16.bmp |
diff --git a/apps/plugins/bitmaps/native/sudoku_inverse.128x128x16.bmp b/apps/plugins/bitmaps/native/sudoku_inverse.128x128x16.bmp new file mode 100755 index 0000000000..4a21aa81d8 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_inverse.128x128x16.bmp | |||
Binary files differ | |||
diff --git a/apps/plugins/bitmaps/native/sudoku_normal.128x128x16.bmp b/apps/plugins/bitmaps/native/sudoku_normal.128x128x16.bmp new file mode 100755 index 0000000000..ce2dec5b9d --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_normal.128x128x16.bmp | |||
Binary files differ | |||
diff --git a/apps/plugins/bitmaps/native/sudoku_start.128x128x16.bmp b/apps/plugins/bitmaps/native/sudoku_start.128x128x16.bmp new file mode 100755 index 0000000000..74a46304e5 --- /dev/null +++ b/apps/plugins/bitmaps/native/sudoku_start.128x128x16.bmp | |||
Binary files differ | |||
diff --git a/apps/plugins/sudoku/SOURCES b/apps/plugins/sudoku/SOURCES index 20d8121175..7cce555c93 100644 --- a/apps/plugins/sudoku/SOURCES +++ b/apps/plugins/sudoku/SOURCES | |||
@@ -1,5 +1,3 @@ | |||
1 | #ifndef IRIVER_H10_5GB | ||
2 | sudoku.c | 1 | sudoku.c |
3 | generator.c | 2 | generator.c |
4 | templates.c | 3 | templates.c |
5 | #endif | ||
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c index 74863cdedd..98d11b7962 100644 --- a/apps/plugins/sudoku/sudoku.c +++ b/apps/plugins/sudoku/sudoku.c | |||
@@ -113,6 +113,13 @@ static const char default_game[9][9] = | |||
113 | #define CELL_WIDTH 10 | 113 | #define CELL_WIDTH 10 |
114 | #define CELL_HEIGHT 10 | 114 | #define CELL_HEIGHT 10 |
115 | 115 | ||
116 | #elif (LCD_HEIGHT==128) && (LCD_WIDTH==128) | ||
117 | /* iriver H10 5-6GB - 128x128, 9 cells @ 10x10 with 14 border lines */ | ||
118 | |||
119 | /* Internal dimensions of a cell */ | ||
120 | #define CELL_WIDTH 10 | ||
121 | #define CELL_HEIGHT 10 | ||
122 | |||
116 | #elif ((LCD_HEIGHT==128) && (LCD_WIDTH==160)) || \ | 123 | #elif ((LCD_HEIGHT==128) && (LCD_WIDTH==160)) || \ |
117 | ((LCD_HEIGHT==132) && (LCD_WIDTH==176)) | 124 | ((LCD_HEIGHT==132) && (LCD_WIDTH==176)) |
118 | /* iAudio X5, Iriver H1x0, iPod G3, G4 - 160x128; */ | 125 | /* iAudio X5, Iriver H1x0, iPod G3, G4 - 160x128; */ |