summaryrefslogtreecommitdiff
path: root/apps/credits.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/credits.c')
-rw-r--r--apps/credits.c58
1 files changed, 27 insertions, 31 deletions
diff --git a/apps/credits.c b/apps/credits.c
index f40abdc517..b8630b69fb 100644
--- a/apps/credits.c
+++ b/apps/credits.c
@@ -22,37 +22,33 @@
22#include "kernel.h" 22#include "kernel.h"
23#include "button.h" 23#include "button.h"
24 24
25struct credit { 25char* credits[] = {
26 char *name; 26 "Bjorn Stenberg",
27 char *desc; 27 "Linus Nielsen Feltzing",
28}; 28 "Andy Choi",
29 29 "Andrew Jamieson",
30struct credit credits[] = { 30 "Paul Suade",
31 { "Bjorn Stenberg", "Originator, Project manager, Code" }, 31 "Joachim Schiffer",
32 { "Linus Nielsen Feltzing", "Electronics, Code" }, 32 "Daniel Stenberg",
33 { "Andy Choi", "Checksums" }, 33 "Alan Korr",
34 { "Andrew Jamieson", "Schematics, Electronics" }, 34 "Gary Czvitkovicz",
35 { "Paul Suade", "Serial port setup" }, 35 "Stuart Martin",
36 { "Joachim Schiffer", "Schematics, Electronics" }, 36 "Felix Arends",
37 { "Daniel Stenberg", "Code" }, 37 "Ulf Ralberg",
38 { "Alan Korr", "Code" }, 38 "David Hardeman",
39 { "Gary Czvitkovicz", "Code" }, 39 "Thomas Saeys",
40 { "Stuart Martin", "Code" }, 40 "Grant Wier",
41 { "Felix Arends", "Code" }, 41 "Julien Labruyere",
42 { "Ulf Ralberg", "Thread embryo" }, 42 "Nicolas Sauzede",
43 { "David Hardeman", "Initial ID3 code" }, 43 "Robert Hak",
44 { "Thomas Saeys", "Logo" }, 44 "Dave Chapman",
45 { "Grant Wier", "Code" }, 45 "Stefan Meyer",
46 { "Julien Labruyere", "Donated Archos Player" }, 46 "Eric Linenberg",
47 { "Nicolas Sauzede", "Display research" }, 47 "Tom Cvitan"
48 { "Robert Hak", "Code, FAQ, Sarcasm" },
49 { "Dave Chapman", "Code" },
50 { "Stefan Meyer", "Code" },
51 { "Eric Linenberg", "Sokoban" },
52}; 48};
53 49
54#ifdef HAVE_LCD_BITMAP 50#ifdef HAVE_LCD_BITMAP
55#define MAX_LINES 6 51#define MAX_LINES 7
56#define DISPLAY_TIME HZ*2 52#define DISPLAY_TIME HZ*2
57#else 53#else
58#define MAX_LINES 2 54#define MAX_LINES 2
@@ -68,14 +64,14 @@ void roll_credits(void)
68 lcd_clear_display(); 64 lcd_clear_display();
69 65
70#ifdef HAVE_LCD_BITMAP 66#ifdef HAVE_LCD_BITMAP
71 lcd_setmargins(0,9); 67 lcd_setmargins(0,8);
72#endif 68#endif
73 69
74 for ( i=0; i<sizeof(credits)/sizeof(struct credit); i++ ) { 70 for ( i=0; i<sizeof(credits)/sizeof(char*); i++ ) {
75#ifdef HAVE_LCD_BITMAP 71#ifdef HAVE_LCD_BITMAP
76 lcd_putsxy(0, 0, " [Credits]",0); 72 lcd_putsxy(0, 0, " [Credits]",0);
77#endif 73#endif
78 lcd_puts(0, line, credits[i].name); 74 lcd_puts(0, line, credits[i]);
79 line++; 75 line++;
80 if ( line == MAX_LINES ) { 76 if ( line == MAX_LINES ) {
81 lcd_update(); 77 lcd_update();