From 12f3fec388ae56f8fb2e50b681dbde81d4669208 Mon Sep 17 00:00:00 2001 From: Ben Basha Date: Fri, 24 Mar 2006 13:59:54 +0000 Subject: fix the bitmaps position bug on X5 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9229 a1c6a512-1295-4272-9138-f99709370657 --- .../bitmaps/native/brickmania_help.160x128x16.bmp | Bin 1436 -> 1436 bytes .../native/brickmania_no_resume.160x128x16.bmp | Bin 3360 -> 3360 bytes .../bitmaps/native/brickmania_quit.160x128x16.bmp | Bin 1620 -> 1620 bytes .../bitmaps/native/brickmania_resume.160x128x16.bmp | Bin 3360 -> 3360 bytes .../bitmaps/native/brickmania_sel_help.160x128x16.bmp | Bin 1436 -> 1436 bytes .../bitmaps/native/brickmania_sel_quit.160x128x16.bmp | Bin 1620 -> 1620 bytes .../native/brickmania_sel_resume.160x128x16.bmp | Bin 3360 -> 3360 bytes .../native/brickmania_sel_start.160x128x16.bmp | Bin 4280 -> 4280 bytes .../bitmaps/native/brickmania_start.160x128x16.bmp | Bin 4280 -> 4280 bytes apps/plugins/brickmania.c | 11 +++++++++++ 10 files changed, 11 insertions(+) diff --git a/apps/plugins/bitmaps/native/brickmania_help.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_help.160x128x16.bmp index 71be198431..71d7651e04 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_help.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_help.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x16.bmp index dc6ab331a9..ca0ff85db6 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/brickmania_quit.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_quit.160x128x16.bmp index ebb8f829ef..92e1dba58c 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_quit.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_quit.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/brickmania_resume.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_resume.160x128x16.bmp index 71ca4b1b6d..aca549c783 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_resume.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_resume.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x16.bmp index 719509d9cc..4b45e615b8 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x16.bmp index a497200058..57d599887f 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x16.bmp index eb55374926..3b7653c9dc 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x16.bmp index 91e0021ddf..6c8c96b892 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x16.bmp differ diff --git a/apps/plugins/bitmaps/native/brickmania_start.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_start.160x128x16.bmp index 4bbf373f33..65ddbd7461 100755 Binary files a/apps/plugins/bitmaps/native/brickmania_start.160x128x16.bmp and b/apps/plugins/bitmaps/native/brickmania_start.160x128x16.bmp differ diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 28533ccfa6..ef4dd9e9d9 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -232,6 +232,16 @@ extern const fb_data brickmania_bricks[]; #endif #define BMPWIDTH_menu 160 +#if LCD_DEPTH == 16 +#define BMPXOFS_start 38 +#define BMPYOFS_start 56 +#define BMPXOFS_resume 42 +#define BMPYOFS_resume 72 +#define BMPXOFS_help 65 +#define BMPYOFS_help 85 +#define BMPXOFS_quit 66 +#define BMPYOFS_quit 99 +#else #define BMPXOFS_start 34 #define BMPYOFS_start 64 #define BMPXOFS_resume 38 @@ -240,6 +250,7 @@ extern const fb_data brickmania_bricks[]; #define BMPYOFS_help 90 #define BMPXOFS_quit 64 #define BMPYOFS_quit 103 +#endif #define HIGHSCORE_XPOS 7 #define HIGHSCORE_YPOS 36 -- cgit v1.2.3