summaryrefslogtreecommitdiff
path: root/apps/plugins/xrick/system/sysarg_rockbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/xrick/system/sysarg_rockbox.c')
-rw-r--r--apps/plugins/xrick/system/sysarg_rockbox.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/apps/plugins/xrick/system/sysarg_rockbox.c b/apps/plugins/xrick/system/sysarg_rockbox.c
new file mode 100644
index 0000000000..fa502ff4b0
--- /dev/null
+++ b/apps/plugins/xrick/system/sysarg_rockbox.c
@@ -0,0 +1,49 @@
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Port of xrick, a Rick Dangerous clone, to Rockbox.
11 * See http://www.bigorno.net/xrick/
12 *
13 * Copyright (C) 2008-2014 Pierluigi Vicinanza
14 *
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
19 *
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
22 *
23 ****************************************************************************/
24
25#include "xrick/system/system.h"
26
27/*
28 * globals
29 */
30int sysarg_args_period = 0; /* time between each frame, in milliseconds. The default is 40. */
31int sysarg_args_map = 0;
32int sysarg_args_submap = 0;
33bool sysarg_args_nosound = false;
34const char *sysarg_args_data = NULL;
35
36/*
37 * Read and process arguments
38 */
39bool sysarg_init(int argc/*unused*/, char **argv)
40{
41 (void)argc;
42
43 /* note: "*argv" is truly a "const *" */
44 sysarg_args_data = *argv;
45
46 return true;
47}
48
49/* eof */