summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/credits.c79
-rw-r--r--apps/credits.h35
2 files changed, 114 insertions, 0 deletions
diff --git a/apps/credits.c b/apps/credits.c
new file mode 100644
index 0000000000..f210d1ffa8
--- /dev/null
+++ b/apps/credits.c
@@ -0,0 +1,79 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Robert Hak <rhak at ramapo.edu>
11 *
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.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20//#ifdef __ROCKBOX_CREDITS_H__
21
22#include "credits.h"
23#include "lcd.h"
24#include "kernel.h"
25
26#define DISPLAY_TIME 200
27
28struct credit credits[CREDIT_COUNT] = {
29 { "[Credits]", "" },
30 { "Björn Stenberg", "Originator, project manager, code" },
31 { "Linus Nielsen Feltzing", "Electronics, code" },
32 { "Andy Choi", "Checksums" },
33 { "Andrew Jamieson", "Schematics, electronics" },
34 { "Paul Suade", "Serial port setup" },
35 { "Joachim Schiffer", "Schematics, electronics" },
36 { "Daniel Stenberg", "Code" },
37 { "Alan Korr", "Code" },
38 { "Gary Czvitkovicz", "Code" },
39 { "Stuart Martin", "Code" },
40 { "Felix Arends", "Code" },
41 { "Ulf Ralberg", "Thread embryo" },
42 { "David Härdeman", "Initial ID3 code" },
43 { "Thomas Saeys", "Logo" },
44 { "Grant Wier", "Code" },
45 { "Julien Labruyére", "Donated Archos Player" },
46 { "Nicolas Sauzede", "Display research" },
47 { "Robert Hak", "Code, FAQ, Sarcasm" },
48 { "Dave Chapman", "Code" },
49 { "Stefan Meyer", "Code" },
50};
51
52void show_credits(void)
53{
54 int i = 0;
55 int line = 0;
56
57 lcd_clear_display();
58
59 while(i < CREDIT_COUNT-1) {
60 if ((line % 4 == 0) && (line!=0)) {
61 lcd_puts(0, 0, (char *)credits[0].name);
62 lcd_update();
63 sleep(DISPLAY_TIME);
64 lcd_clear_display();
65 line=0;
66 }
67 lcd_puts(0, ++line, (char *)credits[++i].name);
68 }
69
70 if ((i-1)%4 != 0) {
71 lcd_puts(0, 0, (char *)credits[0].name);
72 lcd_update();
73 sleep(DISPLAY_TIME);
74 lcd_clear_display();
75 }
76
77}
78
79//#endif
diff --git a/apps/credits.h b/apps/credits.h
new file mode 100644
index 0000000000..d109e55dde
--- /dev/null
+++ b/apps/credits.h
@@ -0,0 +1,35 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Robert Hak <rhak at ramapo.edu>
11 *
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.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
20#ifndef __ROCKBOX_CREDITS_H__
21#define __ROCKBOX_CREDITS_H__
22
23#define CREDIT_COUNT 21
24
25struct credit {
26 const char *name;
27 const char *desc;
28};
29
30/* Show who worked on the project */
31void show_credits(void);
32
33#endif
34
35