1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2002 by Robert Hak <rhak at ramapo.edu>
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
27 "Linus Nielsen Feltzing",
62 #ifdef HAVE_LCD_BITMAP
64 #define DISPLAY_TIME HZ*2
67 #define DISPLAY_TIME HZ
70 void roll_credits(void)
75 int numnames
= sizeof(credits
)/sizeof(char*);
79 #ifdef HAVE_LCD_BITMAP
83 for ( i
=0; i
< numnames
; i
+= MAX_LINES
)
86 #ifdef HAVE_LCD_BITMAP
87 lcd_putsxy(0, 0, " [Credits]",0);
89 for(line
= 0;line
< MAX_LINES
&& line
+i
< numnames
;line
++)
91 lcd_puts(0, line
, credits
[line
+i
]);
96 /* abort on keypress */
99 sleep(DISPLAY_TIME
/10);
100 if (button_get(false))