summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku/sudoku.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-01-15 20:40:48 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-01-15 20:40:48 +0000
commit41ee9e33041dd2020e7ee3c44b81cef538b6592f (patch)
tree80dea3488f41fd0c78512760daf86e1a00dd3f32 /apps/plugins/sudoku/sudoku.c
parent6de815be5cb06e9e8df46fcfdfbf611bce24c99c (diff)
downloadrockbox-41ee9e33041dd2020e7ee3c44b81cef538b6592f.tar.gz
rockbox-41ee9e33041dd2020e7ee3c44b81cef538b6592f.zip
FS#6539 - Thanks to Tom Ross
Add Jewels, Spacerocks, Wormlet, Rockboy and Sudoku for the e200. Also Includes manual changes for plugins. Add X5 keymappings for wormlet to the manual. Add help text for Jewels on the H10 and give a warning if help text is not defined. Fix bug in spacerocks lives drawing on large screens (larger than Ondio). Change spacerocks comments to C style. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12018 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sudoku/sudoku.c')
-rw-r--r--apps/plugins/sudoku/sudoku.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c
index 9a3a147889..218a544f8c 100644
--- a/apps/plugins/sudoku/sudoku.c
+++ b/apps/plugins/sudoku/sudoku.c
@@ -129,8 +129,7 @@ static const char default_game[9][9] =
129#define CELL_WIDTH 12 129#define CELL_WIDTH 12
130#define CELL_HEIGHT 12 130#define CELL_HEIGHT 12
131 131
132#elif ((LCD_HEIGHT==176) && (LCD_WIDTH==220)) || \ 132#elif ((LCD_HEIGHT==176) && (LCD_WIDTH==220))
133 ((LCD_HEIGHT==220) && (LCD_WIDTH==176))
134/* Iriver h300, iPod Color/Photo - 220x176, 9 cells @ 16x16 with 14 border lines */ 133/* Iriver h300, iPod Color/Photo - 220x176, 9 cells @ 16x16 with 14 border lines */
135 134
136/* Internal dimensions of a cell */ 135/* Internal dimensions of a cell */
@@ -151,7 +150,14 @@ static const char default_game[9][9] =
151#else /* Vertical layout, scratchpad at the bottom */ 150#else /* Vertical layout, scratchpad at the bottom */
152#define VERTICAL_LAYOUT 151#define VERTICAL_LAYOUT
153 152
154#if (LCD_HEIGHT>=320) && (LCD_WIDTH>=240) 153#if ((LCD_HEIGHT==220) && (LCD_WIDTH==176))
154/* e200, 9 cells @ 16x16 with 14 border lines */
155
156/* Internal dimensions of a cell */
157#define CELL_WIDTH 16
158#define CELL_HEIGHT 16
159
160#elif (LCD_HEIGHT>=320) && (LCD_WIDTH>=240)
155/* Gigabeat - 240x320, 9 cells @ 24x24 with 14 border lines */ 161/* Gigabeat - 240x320, 9 cells @ 24x24 with 14 border lines */
156 162
157/* Internal dimensions of a cell */ 163/* Internal dimensions of a cell */