1
0
Fork 0
forked from len0rd/rockbox

fixed international chars

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@636 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Hak 2002-05-21 08:05:39 +00:00
parent aa11e3eae3
commit 95cdff16fc

View file

@ -17,8 +17,6 @@
* *
****************************************************************************/ ****************************************************************************/
//#ifdef __ROCKBOX_CREDITS_H__
#include "credits.h" #include "credits.h"
#include "lcd.h" #include "lcd.h"
#include "kernel.h" #include "kernel.h"
@ -27,7 +25,7 @@
struct credit credits[CREDIT_COUNT] = { struct credit credits[CREDIT_COUNT] = {
{ "[Credits]", "" }, { "[Credits]", "" },
{ "Björn Stenberg", "Originator, project manager, code" }, { "Bjorn Stenberg", "Originator, project manager, code" },
{ "Linus Nielsen Feltzing", "Electronics, code" }, { "Linus Nielsen Feltzing", "Electronics, code" },
{ "Andy Choi", "Checksums" }, { "Andy Choi", "Checksums" },
{ "Andrew Jamieson", "Schematics, electronics" }, { "Andrew Jamieson", "Schematics, electronics" },
@ -39,10 +37,10 @@ struct credit credits[CREDIT_COUNT] = {
{ "Stuart Martin", "Code" }, { "Stuart Martin", "Code" },
{ "Felix Arends", "Code" }, { "Felix Arends", "Code" },
{ "Ulf Ralberg", "Thread embryo" }, { "Ulf Ralberg", "Thread embryo" },
{ "David Härdeman", "Initial ID3 code" }, { "David Hardeman", "Initial ID3 code" },
{ "Thomas Saeys", "Logo" }, { "Thomas Saeys", "Logo" },
{ "Grant Wier", "Code" }, { "Grant Wier", "Code" },
{ "Julien Labruyére", "Donated Archos Player" }, { "Julien Labruyere", "Donated Archos Player" },
{ "Nicolas Sauzede", "Display research" }, { "Nicolas Sauzede", "Display research" },
{ "Robert Hak", "Code, FAQ, Sarcasm" }, { "Robert Hak", "Code, FAQ, Sarcasm" },
{ "Dave Chapman", "Code" }, { "Dave Chapman", "Code" },
@ -52,28 +50,35 @@ struct credit credits[CREDIT_COUNT] = {
void show_credits(void) void show_credits(void)
{ {
int i = 0; int i = 0;
int line = 0; int line = 0;
lcd_clear_display(); lcd_clear_display();
while(i < CREDIT_COUNT-1) { while(i < CREDIT_COUNT-1) {
if ((line % 4 == 0) && (line!=0)) { if ((line % 4 == 0) && (line!=0)) {
lcd_puts(0, 0, (char *)credits[0].name); lcd_puts(0, 0, (char *)credits[0].name);
lcd_update(); lcd_update();
sleep(DISPLAY_TIME); sleep(DISPLAY_TIME);
lcd_clear_display(); lcd_clear_display();
line=0; line=0;
} }
lcd_puts(0, ++line, (char *)credits[++i].name); lcd_puts(0, ++line, (char *)credits[++i].name);
} }
if ((i-1)%4 != 0) { if ((i-1)%4 != 0) {
lcd_puts(0, 0, (char *)credits[0].name); lcd_puts(0, 0, (char *)credits[0].name);
lcd_update(); lcd_update();
sleep(DISPLAY_TIME); sleep(DISPLAY_TIME);
lcd_clear_display(); lcd_clear_display();
} }
} }
//#endif