summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Basha <benbasha@rockbox.org>2006-06-05 20:41:52 +0000
committerBen Basha <benbasha@rockbox.org>2006-06-05 20:41:52 +0000
commitd510a6edf7aa343ef4697710632447bcfca62dfa (patch)
treeac80024c49c9bf1f75424175e94c391e8fae6530
parent7366fb4e60dcb37d3366e1dc9a607df081853c2e (diff)
downloadrockbox-d510a6edf7aa343ef4697710632447bcfca62dfa.tar.gz
rockbox-d510a6edf7aa343ef4697710632447bcfca62dfa.zip
*decrease brickmania bitmaps files in the bitmaps folders. *fix break effect bitmaps of the nano and the x5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10067 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/bitmaps/mono/SOURCES11
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_help.112x64x1.bmpbin98 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_menu_items.112x64x1.bmpbin0 -> 19496 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_no_resume.112x64x1.bmpbin370 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_quit.112x64x1.bmpbin98 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_resume.112x64x1.bmpbin370 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_sel_help.112x64x1.bmpbin98 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_sel_quit.112x64x1.bmpbin98 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_sel_resume.112x64x1.bmpbin370 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_sel_start.112x64x1.bmpbin170 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/mono/brickmania_start.112x64x1.bmpbin170 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/SOURCES40
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_break.160x128x16.bmpbin2616 -> 1736 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_break.176x132x16.bmpbin1720 -> 1876 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_help.160x128x16.bmpbin1436 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_help.160x128x2.bmpbin316 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_help.176x132x16.bmpbin1232 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_help.220x176x16.bmpbin2182 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_menu_bg.160x128x16.bmpbin61496 -> 61496 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_menu_bg.176x132x16.bmpbin69752 -> 69752 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_menu_bg.220x176x16.bmpbin116216 -> 116216 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_menu_items.160x128x16.bmpbin0 -> 40448 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_menu_items.160x128x2.bmpbin0 -> 40448 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_menu_items.176x132x16.bmpbin0 -> 38648 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_menu_items.220x176x16.bmpbin0 -> 60536 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_no_resume.160x128x16.bmpbin3360 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_no_resume.160x128x2.bmpbin720 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_no_resume.176x132x16.bmpbin3020 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_no_resume.220x176x16.bmpbin4950 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_quit.160x128x16.bmpbin1620 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_quit.160x128x2.bmpbin348 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_quit.176x132x16.bmpbin1120 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_quit.220x176x16.bmpbin1954 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_resume.160x128x16.bmpbin3360 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_resume.160x128x2.bmpbin636 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_resume.176x132x16.bmpbin3020 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_resume.220x176x16.bmpbin4950 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_sel_help.160x128x16.bmpbin1436 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_sel_help.160x128x2.bmpbin316 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_sel_help.176x132x16.bmpbin1232 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_sel_help.220x176x16.bmpbin2182 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_sel_quit.160x128x16.bmpbin1620 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x2.bmpbin348 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_sel_quit.176x132x16.bmpbin1120 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_sel_quit.220x176x16.bmpbin1954 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_sel_resume.160x128x16.bmpbin3360 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x2.bmpbin636 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_sel_resume.176x132x16.bmpbin3020 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_sel_resume.220x176x16.bmpbin4950 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_sel_start.160x128x16.bmpbin4280 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_sel_start.160x128x2.bmpbin780 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_sel_start.176x132x16.bmpbin4344 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_sel_start.220x176x16.bmpbin6774 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_start.160x128x16.bmpbin4280 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_start.160x128x2.bmpbin780 -> 0 bytes
-rwxr-xr-xapps/plugins/bitmaps/native/brickmania_start.176x132x16.bmpbin4344 -> 0 bytes
-rw-r--r--apps/plugins/bitmaps/native/brickmania_start.220x176x16.bmpbin6774 -> 0 bytes
-rw-r--r--apps/plugins/brickmania.c204
58 files changed, 120 insertions, 135 deletions
diff --git a/apps/plugins/bitmaps/mono/SOURCES b/apps/plugins/bitmaps/mono/SOURCES
index 0a463c714e..82bab1be12 100644
--- a/apps/plugins/bitmaps/mono/SOURCES
+++ b/apps/plugins/bitmaps/mono/SOURCES
@@ -18,20 +18,11 @@ bubbles_bubble.320x240x1.bmp
18 18
19/* BrickMania */ 19/* BrickMania */
20#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64) 20#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)
21 21brickmania_menu_items.112x64x1.bmp
22brickmania_bricks.112x64x1.bmp 22brickmania_bricks.112x64x1.bmp
23brickmania_ball.112x64x1.bmp 23brickmania_ball.112x64x1.bmp
24brickmania_help.112x64x1.bmp
25brickmania_no_resume.112x64x1.bmp
26brickmania_pads.112x64x1.bmp 24brickmania_pads.112x64x1.bmp
27brickmania_powerups.112x64x1.bmp 25brickmania_powerups.112x64x1.bmp
28brickmania_quit.112x64x1.bmp
29brickmania_resume.112x64x1.bmp
30brickmania_sel_help.112x64x1.bmp
31brickmania_sel_resume.112x64x1.bmp
32brickmania_sel_quit.112x64x1.bmp
33brickmania_sel_start.112x64x1.bmp
34brickmania_start.112x64x1.bmp
35 26
36#endif 27#endif
37 28
diff --git a/apps/plugins/bitmaps/mono/brickmania_help.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_help.112x64x1.bmp
deleted file mode 100755
index 0d69adeeba..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_help.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_menu_items.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_menu_items.112x64x1.bmp
new file mode 100755
index 0000000000..0403c9ae95
--- /dev/null
+++ b/apps/plugins/bitmaps/mono/brickmania_menu_items.112x64x1.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_no_resume.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_no_resume.112x64x1.bmp
deleted file mode 100755
index 1c8391346c..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_no_resume.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_quit.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_quit.112x64x1.bmp
deleted file mode 100755
index 3b66731189..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_quit.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_resume.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_resume.112x64x1.bmp
deleted file mode 100755
index 1e1dd0899f..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_resume.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_sel_help.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_sel_help.112x64x1.bmp
deleted file mode 100755
index c4bf13c247..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_sel_help.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_sel_quit.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_sel_quit.112x64x1.bmp
deleted file mode 100755
index 356d4535cf..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_sel_quit.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_sel_resume.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_sel_resume.112x64x1.bmp
deleted file mode 100755
index 19836b5817..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_sel_resume.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_sel_start.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_sel_start.112x64x1.bmp
deleted file mode 100755
index ac17d39e69..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_sel_start.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/mono/brickmania_start.112x64x1.bmp b/apps/plugins/bitmaps/mono/brickmania_start.112x64x1.bmp
deleted file mode 100755
index a805ba0b9c..0000000000
--- a/apps/plugins/bitmaps/mono/brickmania_start.112x64x1.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES
index a8d24ee196..ee5c103aaa 100644
--- a/apps/plugins/bitmaps/native/SOURCES
+++ b/apps/plugins/bitmaps/native/SOURCES
@@ -139,24 +139,17 @@ brickmania_menu_bg.320x240x16.bmp
139#else 139#else
140brickmania_menu_bg.220x176x16.bmp 140brickmania_menu_bg.220x176x16.bmp
141#endif 141#endif
142brickmania_menu_items.220x176x16.bmp
142brickmania_ball.220x176x16.bmp 143brickmania_ball.220x176x16.bmp
143brickmania_bricks.220x176x16.bmp 144brickmania_bricks.220x176x16.bmp
144brickmania_gameover.220x176x16.bmp 145brickmania_gameover.220x176x16.bmp
145brickmania_help.220x176x16.bmp
146brickmania_no_resume.220x176x16.bmp
147brickmania_pads.220x176x16.bmp 146brickmania_pads.220x176x16.bmp
148brickmania_powerups.220x176x16.bmp 147brickmania_powerups.220x176x16.bmp
149brickmania_quit.220x176x16.bmp
150brickmania_resume.220x176x16.bmp
151brickmania_sel_help.220x176x16.bmp
152brickmania_sel_resume.220x176x16.bmp
153brickmania_sel_quit.220x176x16.bmp
154brickmania_sel_start.220x176x16.bmp
155brickmania_start.220x176x16.bmp
156brickmania_break.220x176x16.bmp 148brickmania_break.220x176x16.bmp
157 149
158#elif (((LCD_WIDTH == 160) && (LCD_HEIGHT == 128)) || \ 150#elif (((LCD_WIDTH == 160) && (LCD_HEIGHT == 128)) || \
159 ((LCD_WIDTH == 138) && (LCD_HEIGHT == 110))) && (LCD_DEPTH == 2) 151 ((LCD_WIDTH == 138) && (LCD_HEIGHT == 110))) && (LCD_DEPTH == 2)
152brickmania_menu_items.160x128x2.bmp
160brickmania_ball.160x128x2.bmp 153brickmania_ball.160x128x2.bmp
161#if (LCD_WIDTH == 160) 154#if (LCD_WIDTH == 160)
162brickmania_bricks.160x128x2.bmp 155brickmania_bricks.160x128x2.bmp
@@ -164,54 +157,29 @@ brickmania_bricks.160x128x2.bmp
164brickmania_bricks.138x110x2.bmp 157brickmania_bricks.138x110x2.bmp
165#endif 158#endif
166brickmania_gameover.160x128x2.bmp 159brickmania_gameover.160x128x2.bmp
167brickmania_help.160x128x2.bmp
168brickmania_menu_bg.160x128x2.bmp 160brickmania_menu_bg.160x128x2.bmp
169brickmania_no_resume.160x128x2.bmp
170brickmania_pads.160x128x2.bmp 161brickmania_pads.160x128x2.bmp
171brickmania_powerups.160x128x2.bmp 162brickmania_powerups.160x128x2.bmp
172brickmania_quit.160x128x2.bmp
173brickmania_resume.160x128x2.bmp
174brickmania_sel_help.160x128x2.bmp
175brickmania_sel_resume.160x128x2.bmp
176brickmania_sel_quit.160x128x2.bmp
177brickmania_sel_start.160x128x2.bmp
178brickmania_start.160x128x2.bmp
179brickmania_break.160x128x2.bmp 163brickmania_break.160x128x2.bmp
180 164
181#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 16) 165#elif (LCD_WIDTH == 160) && (LCD_HEIGHT == 128) && (LCD_DEPTH == 16)
166brickmania_menu_items.160x128x16.bmp
182brickmania_ball.160x128x16.bmp 167brickmania_ball.160x128x16.bmp
183brickmania_bricks.160x128x16.bmp 168brickmania_bricks.160x128x16.bmp
184brickmania_gameover.160x128x16.bmp 169brickmania_gameover.160x128x16.bmp
185brickmania_help.160x128x16.bmp
186brickmania_menu_bg.160x128x16.bmp 170brickmania_menu_bg.160x128x16.bmp
187brickmania_no_resume.160x128x16.bmp
188brickmania_pads.160x128x16.bmp 171brickmania_pads.160x128x16.bmp
189brickmania_powerups.160x128x16.bmp 172brickmania_powerups.160x128x16.bmp
190brickmania_quit.160x128x16.bmp
191brickmania_resume.160x128x16.bmp
192brickmania_sel_help.160x128x16.bmp
193brickmania_sel_resume.160x128x16.bmp
194brickmania_sel_quit.160x128x16.bmp
195brickmania_sel_start.160x128x16.bmp
196brickmania_start.160x128x16.bmp
197brickmania_break.160x128x16.bmp 173brickmania_break.160x128x16.bmp
198 174
199#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 132) && (LCD_DEPTH == 16) 175#elif (LCD_WIDTH == 176) && (LCD_HEIGHT == 132) && (LCD_DEPTH == 16)
176brickmania_menu_items.176x132x16.bmp
200brickmania_ball.176x132x16.bmp 177brickmania_ball.176x132x16.bmp
201brickmania_bricks.176x132x16.bmp 178brickmania_bricks.176x132x16.bmp
202brickmania_gameover.176x132x16.bmp 179brickmania_gameover.176x132x16.bmp
203brickmania_help.176x132x16.bmp
204brickmania_menu_bg.176x132x16.bmp 180brickmania_menu_bg.176x132x16.bmp
205brickmania_no_resume.176x132x16.bmp
206brickmania_pads.176x132x16.bmp 181brickmania_pads.176x132x16.bmp
207brickmania_powerups.176x132x16.bmp 182brickmania_powerups.176x132x16.bmp
208brickmania_quit.176x132x16.bmp
209brickmania_resume.176x132x16.bmp
210brickmania_sel_help.176x132x16.bmp
211brickmania_sel_resume.176x132x16.bmp
212brickmania_sel_quit.176x132x16.bmp
213brickmania_sel_start.176x132x16.bmp
214brickmania_start.176x132x16.bmp
215brickmania_break.176x132x16.bmp 183brickmania_break.176x132x16.bmp
216 184
217#endif 185#endif
diff --git a/apps/plugins/bitmaps/native/brickmania_break.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_break.160x128x16.bmp
index b8e912fbbd..d8d418db37 100755
--- a/apps/plugins/bitmaps/native/brickmania_break.160x128x16.bmp
+++ b/apps/plugins/bitmaps/native/brickmania_break.160x128x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_break.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_break.176x132x16.bmp
index 179d76d77c..26a8b80596 100755
--- a/apps/plugins/bitmaps/native/brickmania_break.176x132x16.bmp
+++ b/apps/plugins/bitmaps/native/brickmania_break.176x132x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_help.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_help.160x128x16.bmp
deleted file mode 100755
index 71d7651e04..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_help.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_help.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_help.160x128x2.bmp
deleted file mode 100644
index 5295dfc107..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_help.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_help.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_help.176x132x16.bmp
deleted file mode 100755
index 2eb711f16c..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_help.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_help.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_help.220x176x16.bmp
deleted file mode 100644
index 4798886090..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_help.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_menu_bg.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_menu_bg.160x128x16.bmp
index b881f6e025..921365c22b 100755
--- a/apps/plugins/bitmaps/native/brickmania_menu_bg.160x128x16.bmp
+++ b/apps/plugins/bitmaps/native/brickmania_menu_bg.160x128x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_menu_bg.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_menu_bg.176x132x16.bmp
index 3f54bcf63b..14aa8db052 100755
--- a/apps/plugins/bitmaps/native/brickmania_menu_bg.176x132x16.bmp
+++ b/apps/plugins/bitmaps/native/brickmania_menu_bg.176x132x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_menu_bg.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_menu_bg.220x176x16.bmp
index f5765b84ca..afee59713a 100644
--- a/apps/plugins/bitmaps/native/brickmania_menu_bg.220x176x16.bmp
+++ b/apps/plugins/bitmaps/native/brickmania_menu_bg.220x176x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_menu_items.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_menu_items.160x128x16.bmp
new file mode 100755
index 0000000000..917a90badd
--- /dev/null
+++ b/apps/plugins/bitmaps/native/brickmania_menu_items.160x128x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_menu_items.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_menu_items.160x128x2.bmp
new file mode 100755
index 0000000000..490e1a0bfa
--- /dev/null
+++ b/apps/plugins/bitmaps/native/brickmania_menu_items.160x128x2.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_menu_items.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_menu_items.176x132x16.bmp
new file mode 100755
index 0000000000..cba3e8c987
--- /dev/null
+++ b/apps/plugins/bitmaps/native/brickmania_menu_items.176x132x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_menu_items.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_menu_items.220x176x16.bmp
new file mode 100755
index 0000000000..e1ff9ec1e9
--- /dev/null
+++ b/apps/plugins/bitmaps/native/brickmania_menu_items.220x176x16.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x16.bmp
deleted file mode 100755
index ca0ff85db6..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x2.bmp
deleted file mode 100644
index b23118bea4..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_no_resume.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_no_resume.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_no_resume.176x132x16.bmp
deleted file mode 100755
index 7807b0480c..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_no_resume.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_no_resume.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_no_resume.220x176x16.bmp
deleted file mode 100644
index 81b3cf83b8..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_no_resume.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_quit.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_quit.160x128x16.bmp
deleted file mode 100755
index 92e1dba58c..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_quit.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_quit.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_quit.160x128x2.bmp
deleted file mode 100644
index b52635df29..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_quit.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_quit.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_quit.176x132x16.bmp
deleted file mode 100755
index f75e1a6ce0..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_quit.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_quit.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_quit.220x176x16.bmp
deleted file mode 100644
index 262650544f..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_quit.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_resume.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_resume.160x128x16.bmp
deleted file mode 100755
index aca549c783..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_resume.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_resume.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_resume.160x128x2.bmp
deleted file mode 100644
index fed63c07a9..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_resume.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_resume.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_resume.176x132x16.bmp
deleted file mode 100755
index fbb9115f6b..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_resume.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_resume.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_resume.220x176x16.bmp
deleted file mode 100644
index fd8753f57d..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_resume.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x16.bmp
deleted file mode 100755
index 4b45e615b8..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x2.bmp
deleted file mode 100644
index 0e89806844..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_help.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_help.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_help.176x132x16.bmp
deleted file mode 100755
index ba9750a68c..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_help.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_help.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_help.220x176x16.bmp
deleted file mode 100644
index c738b1f68c..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_help.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x16.bmp
deleted file mode 100755
index 57d599887f..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x2.bmp
deleted file mode 100644
index 1d6f5b794d..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_quit.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_quit.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_quit.176x132x16.bmp
deleted file mode 100755
index e605a41835..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_quit.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_quit.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_quit.220x176x16.bmp
deleted file mode 100644
index 58ee4a3f77..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_quit.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x16.bmp
deleted file mode 100755
index 3b7653c9dc..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x2.bmp
deleted file mode 100644
index 6a2a89d71b..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_resume.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_resume.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_resume.176x132x16.bmp
deleted file mode 100755
index e5981c0143..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_resume.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_resume.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_resume.220x176x16.bmp
deleted file mode 100644
index 9b2c144714..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_resume.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x16.bmp
deleted file mode 100755
index 6c8c96b892..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x2.bmp
deleted file mode 100644
index 1ae5e5fd99..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_start.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_start.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_start.176x132x16.bmp
deleted file mode 100755
index 4d4c1d6e17..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_start.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_sel_start.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_sel_start.220x176x16.bmp
deleted file mode 100644
index d9265863b0..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_sel_start.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_start.160x128x16.bmp b/apps/plugins/bitmaps/native/brickmania_start.160x128x16.bmp
deleted file mode 100755
index 65ddbd7461..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_start.160x128x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_start.160x128x2.bmp b/apps/plugins/bitmaps/native/brickmania_start.160x128x2.bmp
deleted file mode 100644
index dcfc70a950..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_start.160x128x2.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_start.176x132x16.bmp b/apps/plugins/bitmaps/native/brickmania_start.176x132x16.bmp
deleted file mode 100755
index a7768eda86..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_start.176x132x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/bitmaps/native/brickmania_start.220x176x16.bmp b/apps/plugins/bitmaps/native/brickmania_start.220x176x16.bmp
deleted file mode 100644
index 8d5bfb2ec9..0000000000
--- a/apps/plugins/bitmaps/native/brickmania_start.220x176x16.bmp
+++ /dev/null
Binary files differ
diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c
index 7c9a2433c7..b5d0e47445 100644
--- a/apps/plugins/brickmania.c
+++ b/apps/plugins/brickmania.c
@@ -106,21 +106,25 @@ PLUGIN_HEADER
106 106
107static struct plugin_api* rb; 107static struct plugin_api* rb;
108 108
109enum menu_items {
110 BM_START,
111 BM_SEL_START,
112 BM_RESUME,
113 BM_SEL_RESUME,
114 BM_NO_RESUME,
115 BM_HELP,
116 BM_SEL_HELP,
117 BM_QUIT,
118 BM_SEL_QUIT,
119};
120
109/* External bitmaps */ 121/* External bitmaps */
110#if (LCD_WIDTH != 112) && (LCD_HEIGHT != 64) 122#if (LCD_WIDTH != 112) && (LCD_HEIGHT != 64)
111extern const fb_data brickmania_menu_bg[]; 123extern const fb_data brickmania_menu_bg[];
112extern const fb_data brickmania_gameover[]; 124extern const fb_data brickmania_gameover[];
113#endif 125#endif
126extern const fb_data brickmania_menu_items[];
114extern const fb_data brickmania_ball[]; 127extern const fb_data brickmania_ball[];
115extern const fb_data brickmania_help[];
116extern const fb_data brickmania_no_resume[];
117extern const fb_data brickmania_quit[];
118extern const fb_data brickmania_resume[];
119extern const fb_data brickmania_sel_help[];
120extern const fb_data brickmania_sel_quit[];
121extern const fb_data brickmania_sel_resume[];
122extern const fb_data brickmania_sel_start[];
123extern const fb_data brickmania_start[];
124#ifdef HAVE_LCD_COLOR 128#ifdef HAVE_LCD_COLOR
125extern const fb_data brickmania_break[]; 129extern const fb_data brickmania_break[];
126#endif 130#endif
@@ -159,17 +163,8 @@ extern const fb_data brickmania_bricks[];
159#define LEFTMARGIN 5 163#define LEFTMARGIN 5
160#define TOPMARGIN 30 164#define TOPMARGIN 30
161 165
162#define BMPHEIGHT_start 20 166#define MENU_BMPHEIGHT 20
163#define BMPWIDTH_start 112 167#define MENU_BMPWIDTH 112
164
165#define BMPHEIGHT_resume 17
166#define BMPWIDTH_resume 96
167
168#define BMPHEIGHT_help 19
169#define BMPWIDTH_help 37
170
171#define BMPHEIGHT_quit 19
172#define BMPWIDTH_quit 33
173 168
174#define BMPHEIGHT_powerup 6 169#define BMPHEIGHT_powerup 6
175#define BMPWIDTH_powerup 10 170#define BMPWIDTH_powerup 10
@@ -210,17 +205,8 @@ extern const fb_data brickmania_bricks[];
210#define LEFTMARGIN 5 205#define LEFTMARGIN 5
211#define TOPMARGIN 21 206#define TOPMARGIN 21
212 207
213#define BMPHEIGHT_start 16 208#define MENU_BMPHEIGHT 17
214#define BMPWIDTH_start 88 209#define MENU_BMPWIDTH 88
215
216#define BMPHEIGHT_resume 14
217#define BMPWIDTH_resume 78
218
219#define BMPHEIGHT_help 15
220#define BMPWIDTH_help 30
221
222#define BMPHEIGHT_quit 17
223#define BMPWIDTH_quit 30
224 210
225#define BMPHEIGHT_powerup 6 211#define BMPHEIGHT_powerup 6
226#define BMPWIDTH_powerup 10 212#define BMPWIDTH_powerup 10
@@ -277,17 +263,8 @@ extern const fb_data brickmania_bricks[];
277#define LEFTMARGIN 4 263#define LEFTMARGIN 4
278#define TOPMARGIN 10 264#define TOPMARGIN 10
279 265
280#define BMPHEIGHT_start 16 266#define MENU_BMPHEIGHT 17
281#define BMPWIDTH_start 88 267#define MENU_BMPWIDTH 88
282
283#define BMPHEIGHT_resume 14
284#define BMPWIDTH_resume 78
285
286#define BMPHEIGHT_help 15
287#define BMPWIDTH_help 30
288
289#define BMPHEIGHT_quit 17
290#define BMPWIDTH_quit 30
291 268
292#define BMPHEIGHT_powerup 6 269#define BMPHEIGHT_powerup 6
293#define BMPWIDTH_powerup 10 270#define BMPWIDTH_powerup 10
@@ -329,18 +306,8 @@ extern const fb_data brickmania_bricks[];
329#define LEFTMARGIN 1 306#define LEFTMARGIN 1
330#define TOPMARGIN 10 307#define TOPMARGIN 10
331 308
332#define BMPHEIGHT_start 9 309#define MENU_BMPHEIGHT 9
333#define BMPWIDTH_start 80 310#define MENU_BMPWIDTH 80
334
335#define BMPHEIGHT_resume 7
336#define BMPWIDTH_resume 71
337
338#define BMPHEIGHT_help 9
339#define BMPWIDTH_help 26
340
341#define BMPHEIGHT_quit 9
342#define BMPWIDTH_quit 25
343
344 311
345#define BMPHEIGHT_powerup 6 312#define BMPHEIGHT_powerup 6
346#define BMPWIDTH_powerup 7 313#define BMPWIDTH_powerup 7
@@ -378,17 +345,8 @@ extern const fb_data brickmania_bricks[];
378#define LEFTMARGIN 3 345#define LEFTMARGIN 3
379#define TOPMARGIN 21 346#define TOPMARGIN 21
380 347
381#define BMPHEIGHT_start 16 348#define MENU_BMPHEIGHT 16
382#define BMPWIDTH_start 89 349#define MENU_BMPWIDTH 89
383
384#define BMPHEIGHT_resume 13
385#define BMPWIDTH_resume 76
386
387#define BMPHEIGHT_help 14
388#define BMPWIDTH_help 28
389
390#define BMPHEIGHT_quit 14
391#define BMPWIDTH_quit 25
392 350
393#define BMPHEIGHT_powerup 6 351#define BMPHEIGHT_powerup 6
394#define BMPWIDTH_powerup 10 352#define BMPWIDTH_powerup 10
@@ -842,7 +800,6 @@ void sleep (int secs)
842 800
843} 801}
844 802
845
846#define HIGH_SCORE "brickmania.score" 803#define HIGH_SCORE "brickmania.score"
847#define MENU_LENGTH 4 804#define MENU_LENGTH 4
848int game_menu(int when) 805int game_menu(int when)
@@ -851,48 +808,117 @@ int game_menu(int when)
851 char str[10]; 808 char str[10];
852 rb->lcd_clear_display(); 809 rb->lcd_clear_display();
853#if (LCD_WIDTH != 112) && (LCD_HEIGHT != 64) 810#if (LCD_WIDTH != 112) && (LCD_HEIGHT != 64)
854 rb->lcd_bitmap(brickmania_menu_bg,0,0,BMPWIDTH_menu,BMPHEIGHT_menu); 811 rb->lcd_bitmap(brickmania_menu_bg, 0, 0, BMPWIDTH_menu, BMPHEIGHT_menu);
855#endif 812#endif
856 while (true) { 813 while (true) {
857 for(i=0;i<MENU_LENGTH;i++) { 814 for(i=0;i<MENU_LENGTH;i++) {
815#ifdef HAVE_LCD_COLOR
858 if (cur==0) 816 if (cur==0)
859 rb->lcd_bitmap(brickmania_sel_start, 817 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
860 BMPXOFS_start,BMPYOFS_start, 818 MENU_BMPHEIGHT * BM_SEL_START, MENU_BMPWIDTH,
861 BMPWIDTH_start,BMPHEIGHT_start); 819 BMPXOFS_start, BMPYOFS_start, MENU_BMPWIDTH,
820 MENU_BMPHEIGHT);
862 else 821 else
863 rb->lcd_bitmap(brickmania_start,BMPXOFS_start,BMPYOFS_start, 822 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
864 BMPWIDTH_start,BMPHEIGHT_start); 823 MENU_BMPHEIGHT * BM_START, MENU_BMPWIDTH,
824 BMPXOFS_start, BMPYOFS_start, MENU_BMPWIDTH,
825 MENU_BMPHEIGHT);
865 826
866 if (when==1) { 827 if (when==1) {
867 if (cur==1) 828 if (cur==1)
868 rb->lcd_bitmap(brickmania_sel_resume, 829 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
869 BMPXOFS_resume,BMPYOFS_resume, 830 MENU_BMPHEIGHT * BM_SEL_RESUME, MENU_BMPWIDTH,
870 BMPWIDTH_resume,BMPHEIGHT_resume); 831 BMPXOFS_resume, BMPYOFS_resume, MENU_BMPWIDTH,
832 MENU_BMPHEIGHT);
871 else 833 else
872 rb->lcd_bitmap(brickmania_resume, 834 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
873 BMPXOFS_resume,BMPYOFS_resume, 835 MENU_BMPHEIGHT * BM_RESUME, MENU_BMPWIDTH,
874 BMPWIDTH_resume,BMPHEIGHT_resume); 836 BMPXOFS_resume, BMPYOFS_resume, MENU_BMPWIDTH,
837 MENU_BMPHEIGHT);
875 838
876 } else { 839 } else {
877 rb->lcd_bitmap(brickmania_no_resume, 840 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
878 BMPXOFS_resume,BMPYOFS_resume, 841 MENU_BMPHEIGHT * BM_NO_RESUME, MENU_BMPWIDTH,
879 BMPWIDTH_resume,BMPHEIGHT_resume); 842 BMPXOFS_resume, BMPYOFS_resume, MENU_BMPWIDTH,
843 MENU_BMPHEIGHT);
880 } 844 }
881 845
882 846
883 if (cur==2) 847 if (cur==2)
884 rb->lcd_bitmap(brickmania_sel_help,BMPXOFS_help,BMPYOFS_help, 848 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
885 BMPWIDTH_help,BMPHEIGHT_help); 849 MENU_BMPHEIGHT * BM_SEL_HELP, MENU_BMPWIDTH,
850 BMPXOFS_help, BMPYOFS_help, MENU_BMPWIDTH,
851 MENU_BMPHEIGHT);
886 else 852 else
887 rb->lcd_bitmap(brickmania_help,BMPXOFS_help,BMPYOFS_help, 853 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
888 BMPWIDTH_help,BMPHEIGHT_help); 854 MENU_BMPHEIGHT * BM_HELP, MENU_BMPWIDTH,
855 BMPXOFS_help, BMPYOFS_help, MENU_BMPWIDTH,
856 MENU_BMPHEIGHT);
889 857
890 if (cur==3) 858 if (cur==3)
891 rb->lcd_bitmap(brickmania_sel_quit,BMPXOFS_quit,BMPYOFS_quit, 859 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
892 BMPWIDTH_quit,BMPHEIGHT_quit); 860 MENU_BMPHEIGHT * BM_SEL_QUIT, MENU_BMPWIDTH,
861 BMPXOFS_quit, BMPYOFS_quit, MENU_BMPWIDTH,
862 MENU_BMPHEIGHT);
893 else 863 else
894 rb->lcd_bitmap(brickmania_quit,BMPXOFS_quit,BMPYOFS_quit, 864 rb->lcd_bitmap_transparent_part(brickmania_menu_items, 0,
895 BMPWIDTH_quit,BMPHEIGHT_quit); 865 MENU_BMPHEIGHT * BM_QUIT, MENU_BMPWIDTH,
866 BMPXOFS_quit, BMPYOFS_quit, MENU_BMPWIDTH,
867 MENU_BMPHEIGHT);
868#else
869 if (cur==0)
870 rb->lcd_bitmap_part(brickmania_menu_items, 0,
871 MENU_BMPHEIGHT * BM_SEL_START, MENU_BMPWIDTH,
872 BMPXOFS_start, BMPYOFS_start, MENU_BMPWIDTH,
873 MENU_BMPHEIGHT);
874 else
875 rb->lcd_bitmap_part(brickmania_menu_items, 0,
876 MENU_BMPHEIGHT * BM_START, MENU_BMPWIDTH,
877 BMPXOFS_start, BMPYOFS_start, MENU_BMPWIDTH,
878 MENU_BMPHEIGHT);
879
880 if (when==1) {
881 if (cur==1)
882 rb->lcd_bitmap_part(brickmania_menu_items, 0,
883 MENU_BMPHEIGHT * BM_SEL_RESUME, MENU_BMPWIDTH,
884 BMPXOFS_resume, BMPYOFS_resume, MENU_BMPWIDTH,
885 MENU_BMPHEIGHT);
886 else
887 rb->lcd_bitmap_part(brickmania_menu_items, 0,
888 MENU_BMPHEIGHT * BM_RESUME, MENU_BMPWIDTH,
889 BMPXOFS_resume, BMPYOFS_resume, MENU_BMPWIDTH,
890 MENU_BMPHEIGHT);
891
892 } else {
893 rb->lcd_bitmap_part(brickmania_menu_items, 0,
894 MENU_BMPHEIGHT * BM_NO_RESUME, MENU_BMPWIDTH,
895 BMPXOFS_resume, BMPYOFS_resume, MENU_BMPWIDTH,
896 MENU_BMPHEIGHT);
897 }
898
899
900 if (cur==2)
901 rb->lcd_bitmap_part(brickmania_menu_items, 0,
902 MENU_BMPHEIGHT * BM_SEL_HELP, MENU_BMPWIDTH,
903 BMPXOFS_help, BMPYOFS_help, MENU_BMPWIDTH,
904 MENU_BMPHEIGHT);
905 else
906 rb->lcd_bitmap_part(brickmania_menu_items, 0,
907 MENU_BMPHEIGHT * BM_HELP, MENU_BMPWIDTH,
908 BMPXOFS_help, BMPYOFS_help, MENU_BMPWIDTH,
909 MENU_BMPHEIGHT);
910
911 if (cur==3)
912 rb->lcd_bitmap_part(brickmania_menu_items, 0,
913 MENU_BMPHEIGHT * BM_SEL_QUIT, MENU_BMPWIDTH,
914 BMPXOFS_quit, BMPYOFS_quit, MENU_BMPWIDTH,
915 MENU_BMPHEIGHT);
916 else
917 rb->lcd_bitmap_part(brickmania_menu_items, 0,
918 MENU_BMPHEIGHT * BM_QUIT, MENU_BMPWIDTH,
919 BMPXOFS_quit, BMPYOFS_quit, MENU_BMPWIDTH,
920 MENU_BMPHEIGHT);
921#endif
896 } 922 }
897 rb->lcd_set_drawmode(DRMODE_FG); 923 rb->lcd_set_drawmode(DRMODE_FG);
898 /* high score */ 924 /* high score */