From 7aac7520ac369282202a753419a2dd3a2c9623b1 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 15 Apr 2006 10:38:36 +0000 Subject: 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 --- apps/plugins/bitmaps/native/SOURCES | 2 ++ .../bitmaps/native/chessbox_pieces.104x104x2.bmp | Bin 0 -> 5476 bytes apps/plugins/bitmaps/native/chessbox_pieces.80x64x1.bmp | Bin 894 -> 894 bytes apps/plugins/chessbox/chessbox.c | 6 ++++++ docs/CREDITS | 1 + 5 files changed, 9 insertions(+) create mode 100755 apps/plugins/bitmaps/native/chessbox_pieces.104x104x2.bmp 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 chessbox_pieces.128x128x2.bmp #elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 128) chessbox_pieces.128x128x1.bmp +#elif (LCD_WIDTH >= 104) && (LCD_HEIGHT >= 104) & (LCD_DEPTH > 1) +chessbox_pieces.104x104x2.bmp #elif (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) & (LCD_DEPTH == 1) chessbox_pieces.80x64x1.bmp #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 Binary files /dev/null and b/apps/plugins/bitmaps/native/chessbox_pieces.104x104x2.bmp 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 Binary files a/apps/plugins/bitmaps/native/chessbox_pieces.80x64x1.bmp and b/apps/plugins/bitmaps/native/chessbox_pieces.80x64x1.bmp 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 #define CB_RIGHT BUTTON_RIGHT #define CB_PLAY BUTTON_ON #define CB_LEVEL BUTTON_F1 +#define CB_RESTART BUTTON_F3 #define CB_QUIT BUTTON_OFF #elif CONFIG_KEYPAD == ONDIO_PAD @@ -102,6 +103,7 @@ PLUGIN_HEADER #define CB_PLAY_PRE BUTTON_MENU #define CB_PLAY (BUTTON_MENU|BUTTON_REPEAT) #define CB_LEVEL (BUTTON_MENU|BUTTON_OFF) +#define CB_RESTART (BUTTON_MENU|BUTTON_LEFT) #define CB_QUIT BUTTON_OFF #elif (CONFIG_KEYPAD == GIGABEAT_PAD) @@ -130,6 +132,10 @@ PLUGIN_HEADER #elif (LCD_HEIGHT >= 128) && (LCD_WIDTH >= 128) #define TILE_WIDTH 16 #define TILE_HEIGHT 16 +/* use 13x13 tiles */ +#elif (LCD_HEIGHT >= 104) && (LCD_WIDTH >= 104) +#define TILE_WIDTH 13 +#define TILE_HEIGHT 13 /* use 10x8 tiles , only for the archoses */ #elif (LCD_HEIGHT == 64) && (LCD_WIDTH == 112) #define TILE_WIDTH 10 diff --git a/docs/CREDITS b/docs/CREDITS index 2f1d451d2d..a1ed74ac69 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -198,3 +198,4 @@ Tom Ross Anton Romanov Jean-Luc Ohl Steve Bavin +Marianne Arnold -- cgit v1.2.3