diff options
Diffstat (limited to 'apps/plugins/zxbox/spconf_p.h')
-rw-r--r-- | apps/plugins/zxbox/spconf_p.h | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/spconf_p.h b/apps/plugins/zxbox/spconf_p.h new file mode 100644 index 0000000000..fa7c587ace --- /dev/null +++ b/apps/plugins/zxbox/spconf_p.h | |||
@@ -0,0 +1,81 @@ | |||
1 | /* | ||
2 | * Copyright (C) 1996-1998 Szeredi Miklos | ||
3 | * Email: mszeredi@inf.bme.hu | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. See the file COPYING. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
18 | * | ||
19 | */ | ||
20 | |||
21 | #ifndef SPCONF_P_H | ||
22 | #define SPCONF_P_H | ||
23 | |||
24 | #include "spconf.h" | ||
25 | |||
26 | struct sp_options { | ||
27 | const char *option; | ||
28 | |||
29 | int argtype; | ||
30 | void *argvalp; | ||
31 | const char **enums; | ||
32 | int disp; | ||
33 | }; | ||
34 | |||
35 | extern struct sp_options spcf_options[]; | ||
36 | |||
37 | #define SA_BOOL 1 | ||
38 | #define SA_INT 2 | ||
39 | #define SA_STR 3 | ||
40 | #define SA_ENUM 4 | ||
41 | |||
42 | |||
43 | extern int showframe; | ||
44 | extern int scrmul; | ||
45 | extern int privatemap; | ||
46 | extern int use_shm; | ||
47 | |||
48 | extern int small_screen; | ||
49 | |||
50 | extern int sound_on; | ||
51 | extern int bufframes; | ||
52 | extern const char *sound_dev_name; | ||
53 | extern int sound_sample_rate; | ||
54 | extern int sound_to_autoclose; | ||
55 | extern int sound_dsp_setfrag; | ||
56 | |||
57 | extern int keyboard_type; | ||
58 | extern int cursor_type; | ||
59 | extern int color_type; | ||
60 | extern int pause_on_iconify; | ||
61 | extern int vga_pause_bg; | ||
62 | extern int sp_quick_load; | ||
63 | extern int sp_paused; | ||
64 | extern int load_immed; | ||
65 | extern int spt_auto_stop; | ||
66 | extern int spkb_allow_ascii; | ||
67 | extern int spkb_trueshift; | ||
68 | extern int spkb_funcshift; | ||
69 | |||
70 | extern void spcf_set_val(int ix, const char *val, const char *name, | ||
71 | int ctr, int fatal); | ||
72 | |||
73 | extern void spcf_set_color(int ix, const char *val, const char *name, | ||
74 | int ctr, int fatal); | ||
75 | extern void spcf_set_key(int ix, const char *val, const char *name, | ||
76 | int ctr, int fatal); | ||
77 | extern int spcf_match_keydef(const char *attr, const char *beg); | ||
78 | extern int spcf_parse_conf_line(char *line, char **attrp, char **valp); | ||
79 | |||
80 | |||
81 | #endif /* SPCONF_P_H */ | ||