summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-04-15 10:38:36 +0000
committerJens Arnold <amiconn@rockbox.org>2006-04-15 10:38:36 +0000
commit7aac7520ac369282202a753419a2dd3a2c9623b1 (patch)
tree62f3e2a8a818419de289b28d4da439284dae3c8f /apps/plugins/chessbox
parentbf397b5635fb619cd782e9496059fb5082b3ae40 (diff)
downloadrockbox-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/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox.c6
1 files changed, 6 insertions, 0 deletions
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