Index: apps/plugins/starfield.c =================================================================== RCS file: /cvsroot/rockbox/apps/plugins/starfield.c,v retrieving revision 1.6 diff -r1.6 starfield.c 72a73,84 > #if LCD_DEPTH > 1 > static const unsigned colors[] = { > #ifdef HAVE_LCD_COLOR > LCD_RGBPACK(255, 0, 0), LCD_RGBPACK(255, 255, 0), LCD_RGBPACK(0, 255, 0), > LCD_RGBPACK(0, 255, 255), LCD_RGBPACK(255, 0, 255), LCD_RGBPACK(0, 0, 255) > #else > LCD_LIGHTGRAY, LCD_LIGHTGRAY, LCD_DARKGRAY, > LCD_DARKGRAY, LCD_BLACK, LCD_BLACK > #endif > }; > #endif > 79a92,94 > #if LCD_DEPTH > 1 > int color; > #endif 87a103,105 > #if LCD_DEPTH > 1 > star->color=rb->rand() % (sizeof(colors) / sizeof(unsigned)); > #endif; 119a138,140 > #if LCD_DEPTH > 1 > rb->lcd_set_foreground(colors[star->color]); > #endif