diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-04-15 10:38:36 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-04-15 10:38:36 +0000 |
commit | 7aac7520ac369282202a753419a2dd3a2c9623b1 (patch) | |
tree | 62f3e2a8a818419de289b28d4da439284dae3c8f /apps/plugins | |
parent | bf397b5635fb619cd782e9496059fb5082b3ae40 (diff) | |
download | rockbox-7aac7520ac369282202a753419a2dd3a2c9623b1.tar.gz rockbox-7aac7520ac369282202a753419a2dd3a2c9623b1.zip |
Chessbox: New pieces for ipod mini, and simplified, easier recognisable pieces for the tiny archos LCD, by Marianne Arnold. * Mapped restart button for Ondios & recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9675 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/bitmaps/native/SOURCES | 2 | ||||
-rwxr-xr-x | apps/plugins/bitmaps/native/chessbox_pieces.104x104x2.bmp | bin | 0 -> 5476 bytes | |||
-rw-r--r-- | apps/plugins/bitmaps/native/chessbox_pieces.80x64x1.bmp | bin | 894 -> 894 bytes | |||
-rw-r--r-- | apps/plugins/chessbox/chessbox.c | 6 |
4 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index 42cc3cb25d..fdded32a92 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES | |||
@@ -34,6 +34,8 @@ chessbox_pieces.176x176x16.bmp | |||
34 | chessbox_pieces.128x128x2.bmp | 34 | chessbox_pieces.128x128x2.bmp |
35 | #elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) | 35 | #elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) |
36 | chessbox_pieces.128x128x1.bmp | 36 | chessbox_pieces.128x128x1.bmp |
37 | #elif (LCD_WIDTH >= 104) && (LCD_HEIGHT >= 104) & (LCD_DEPTH > 1) | ||
38 | chessbox_pieces.104x104x2.bmp | ||
37 | #elif (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) & (LCD_DEPTH == 1) | 39 | #elif (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) & (LCD_DEPTH == 1) |
38 | chessbox_pieces.80x64x1.bmp | 40 | chessbox_pieces.80x64x1.bmp |
39 | #elif (LCD_WIDTH >= 64) && (LCD_HEIGHT >= 64) | 41 | #elif (LCD_WIDTH >= 64) && (LCD_HEIGHT >= 64) |
diff --git a/apps/plugins/bitmaps/native/chessbox_pieces.104x104x2.bmp b/apps/plugins/bitmaps/native/chessbox_pieces.104x104x2.bmp new file mode 100755 index 0000000000..953fba3e52 --- /dev/null +++ b/apps/plugins/bitmaps/native/chessbox_pieces.104x104x2.bmp | |||
Binary files differ | |||
diff --git a/apps/plugins/bitmaps/native/chessbox_pieces.80x64x1.bmp b/apps/plugins/bitmaps/native/chessbox_pieces.80x64x1.bmp index 86a52d443b..92e6813aae 100644 --- a/apps/plugins/bitmaps/native/chessbox_pieces.80x64x1.bmp +++ b/apps/plugins/bitmaps/native/chessbox_pieces.80x64x1.bmp | |||
Binary files differ | |||
diff --git a/apps/plugins/chessbox/chessbox.c b/apps/plugins/chessbox/chessbox.c index ee83c2b384..5e1f53503e 100644 --- a/apps/plugins/chessbox/chessbox.c +++ b/apps/plugins/chessbox/chessbox.c | |||
@@ -90,6 +90,7 @@ PLUGIN_HEADER | |||
90 | #define CB_RIGHT BUTTON_RIGHT | 90 | #define CB_RIGHT BUTTON_RIGHT |
91 | #define CB_PLAY BUTTON_ON | 91 | #define CB_PLAY BUTTON_ON |
92 | #define CB_LEVEL BUTTON_F1 | 92 | #define CB_LEVEL BUTTON_F1 |
93 | #define CB_RESTART BUTTON_F3 | ||
93 | #define CB_QUIT BUTTON_OFF | 94 | #define CB_QUIT BUTTON_OFF |
94 | 95 | ||
95 | #elif CONFIG_KEYPAD == ONDIO_PAD | 96 | #elif CONFIG_KEYPAD == ONDIO_PAD |
@@ -102,6 +103,7 @@ PLUGIN_HEADER | |||
102 | #define CB_PLAY_PRE BUTTON_MENU | 103 | #define CB_PLAY_PRE BUTTON_MENU |
103 | #define CB_PLAY (BUTTON_MENU|BUTTON_REPEAT) | 104 | #define CB_PLAY (BUTTON_MENU|BUTTON_REPEAT) |
104 | #define CB_LEVEL (BUTTON_MENU|BUTTON_OFF) | 105 | #define CB_LEVEL (BUTTON_MENU|BUTTON_OFF) |
106 | #define CB_RESTART (BUTTON_MENU|BUTTON_LEFT) | ||
105 | #define CB_QUIT BUTTON_OFF | 107 | #define CB_QUIT BUTTON_OFF |
106 | 108 | ||
107 | #elif (CONFIG_KEYPAD == GIGABEAT_PAD) | 109 | #elif (CONFIG_KEYPAD == GIGABEAT_PAD) |
@@ -130,6 +132,10 @@ PLUGIN_HEADER | |||
130 | #elif (LCD_HEIGHT >= 128) && (LCD_WIDTH >= 128) | 132 | #elif (LCD_HEIGHT >= 128) && (LCD_WIDTH >= 128) |
131 | #define TILE_WIDTH 16 | 133 | #define TILE_WIDTH 16 |
132 | #define TILE_HEIGHT 16 | 134 | #define TILE_HEIGHT 16 |
135 | /* use 13x13 tiles */ | ||
136 | #elif (LCD_HEIGHT >= 104) && (LCD_WIDTH >= 104) | ||
137 | #define TILE_WIDTH 13 | ||
138 | #define TILE_HEIGHT 13 | ||
133 | /* use 10x8 tiles , only for the archoses */ | 139 | /* use 10x8 tiles , only for the archoses */ |
134 | #elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112) | 140 | #elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112) |
135 | #define TILE_WIDTH 10 | 141 | #define TILE_WIDTH 10 |