summaryrefslogtreecommitdiff
path: root/apps/plugins/bounce.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-06 22:58:02 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-06 22:58:02 +0000
commitf894a4c2691fbde1758a05407cb5eadcaec4a6c8 (patch)
tree46cb7ce63c794020175ab251cf0299663be8bf3c /apps/plugins/bounce.c
parent1076eb1d2720b88757616f642be0c39c6a3b76df (diff)
downloadrockbox-f894a4c2691fbde1758a05407cb5eadcaec4a6c8.tar.gz
rockbox-f894a4c2691fbde1758a05407cb5eadcaec4a6c8.zip
4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/bounce.c')
-rw-r--r--apps/plugins/bounce.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/bounce.c b/apps/plugins/bounce.c
index 98dcd5ff66..676d8fe169 100644
--- a/apps/plugins/bounce.c
+++ b/apps/plugins/bounce.c
@@ -309,8 +309,8 @@ static int scrollit(void)
309 for(i=0, yy=y, xx=x; i< LETTERS_ON_SCREEN; i++) { 309 for(i=0, yy=y, xx=x; i< LETTERS_ON_SCREEN; i++) {
310 letter = rock[(i+textpos) % rocklen ]; 310 letter = rock[(i+textpos) % rocklen ];
311 311
312 rb->lcd_bitmap((char *)char_gen_12x16[letter-0x20], 312 rb->lcd_mono_bitmap((char *)char_gen_12x16[letter-0x20],
313 xx, table[yy&(TABLE_SIZE-1)], 11, 16); 313 xx, table[yy&(TABLE_SIZE-1)], 11, 16);
314 yy += YADD; 314 yy += YADD;
315 xx+= LCD_WIDTH/LETTERS_ON_SCREEN; 315 xx+= LCD_WIDTH/LETTERS_ON_SCREEN;
316 } 316 }
@@ -399,9 +399,9 @@ static int loopit(void)
399 for(i=0, yy=y, xx=x; 399 for(i=0, yy=y, xx=x;
400 i<rocklen; 400 i<rocklen;
401 i++, yy+=values[NUM_YDIST].num, xx+=values[NUM_XDIST].num) 401 i++, yy+=values[NUM_YDIST].num, xx+=values[NUM_XDIST].num)
402 rb->lcd_bitmap((char *)char_gen_12x16[rock[i]-0x20], 402 rb->lcd_mono_bitmap((char *)char_gen_12x16[rock[i]-0x20],
403 xtable[xx&(TABLE_SIZE-1)], table[yy&(TABLE_SIZE-1)], 403 xtable[xx&(TABLE_SIZE-1)],
404 11, 16); 404 table[yy&(TABLE_SIZE-1)], 11, 16);
405 rb->lcd_update(); 405 rb->lcd_update();
406 rb->lcd_set_drawmode(DRMODE_SOLID); 406 rb->lcd_set_drawmode(DRMODE_SOLID);
407 407