Remove non-existing make_decode_tables_MMX()
[mplayer.git] / cfg-mplayer.h
blobc51009050c27d9c43814e7dd288a0b98d3a55990
1 /*
2 * config for cfgparser
3 */
5 #include "cfg-common.h"
7 extern int key_fifo_size;
8 extern unsigned doubleclick_time;
9 extern int noconsolecontrols;
11 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
12 extern char *monitor_hfreq_str;
13 extern char *monitor_vfreq_str;
14 extern char *monitor_dotclock_str;
15 #endif
17 #ifdef HAVE_FBDEV
18 extern char *fb_mode_cfgfile;
19 extern char *fb_mode_name;
20 #endif
21 #ifdef HAVE_DIRECTFB
22 extern char *dfb_params;
23 #endif
24 #ifdef USE_FAKE_MONO
25 extern int fakemono; // defined in dec_audio.c
26 #endif
28 extern int volstep;
30 #ifdef HAVE_LIRC
31 extern char *lirc_configfile;
32 #endif
34 extern int vo_doublebuffering;
35 extern int vo_vsync;
36 extern int vo_fsmode;
37 extern int vo_dbpp;
38 extern int vo_directrendering;
39 extern float vo_panscan;
40 extern float vo_panscanrange;
41 /* only used at startup (setting these values from configfile) */
42 extern int vo_gamma_brightness;
43 extern int vo_gamma_saturation;
44 extern int vo_gamma_contrast;
45 extern int vo_gamma_hue;
46 extern char *vo_geometry;
47 extern int vo_ontop;
48 extern int vo_border;
49 extern int vo_keepaspect;
50 extern int vo_rootwin;
52 extern int opt_screen_size_x;
53 extern int opt_screen_size_y;
54 extern int fullscreen;
55 extern int vidmode;
57 extern int osd_level;
59 extern char *ao_outputfilename;
60 extern int ao_pcm_waveheader;
62 #ifdef HAVE_X11
63 extern char *mDisplayName;
64 extern int fs_layer;
65 extern int stop_xscreensaver;
66 extern char **vo_fstype_list;
67 #endif
68 extern int vo_nomouse_input;
69 extern int WinID;
71 #ifdef HAVE_MENU
72 extern int menu_startup;
73 extern int menu_keepdir;
74 extern char *menu_chroot;
75 #ifdef USE_FRIBIDI
76 extern char *menu_fribidi_charset;
77 extern int menu_flip_hebrew;
78 extern int menu_fribidi_flip_commas;
79 #endif
80 #endif
82 #ifdef HAVE_ZR
83 extern int vo_zr_parseoption(m_option_t* conf, char *opt, char * param);
84 extern void vo_zr_revertoption(m_option_t* opt,char* pram);
85 #endif
87 #ifdef HAVE_DXR2
88 extern m_option_t dxr2_opts[];
89 #endif
91 #ifdef HAVE_NEW_GUI
92 extern char * skinName;
93 extern int enqueue;
94 extern int guiWinID;
95 #endif
97 #ifdef HAVE_XINERAMA
98 extern int xinerama_screen;
99 #endif
101 /* from libvo/aspect.c */
102 extern float monitor_aspect;
103 extern float monitor_pixel_aspect;
105 extern int sws_flags;
106 extern int readPPOpt(void *conf, char *arg);
107 extern void revertPPOpt(void *conf, char* opt);
108 extern char* pp_help;
109 extern int enable_mouse_movements;
110 extern int use_filedir_conf;
112 m_option_t vd_conf[]={
113 {"help", "Use MPlayer with an appropriate video file instead of live partners to avoid vd.\n", CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
114 {NULL, NULL, 0, 0, 0, 0, NULL}
118 * CONF_TYPE_FUNC_FULL :
119 * allows own implementations for passing the params
121 * the function receives parameter name and argument (if it does not start with - )
122 * useful with a conf.name like 'aa*' to parse several parameters to a function
123 * return 0 =ok, but we didn't need the param (could be the filename)
124 * return 1 =ok, we accepted the param
125 * negative values: see cfgparser.h, ERR_XXX
127 * by Folke
130 m_option_t mplayer_opts[]={
131 /* name, pointer, type, flags, min, max */
133 //---------------------- libao/libvo options ------------------------
134 {"o", "Option -o has been renamed to -vo (video-out), use -vo.\n",
135 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
136 {"vo", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
137 {"ao", &audio_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
138 {"fixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
139 {"nofixed-vo", &fixed_vo, CONF_TYPE_FLAG,CONF_GLOBAL, 0, 0, NULL},
140 {"ontop", &vo_ontop, CONF_TYPE_FLAG, 0, 0, 1, NULL},
141 {"noontop", &vo_ontop, CONF_TYPE_FLAG, 0, 1, 0, NULL},
142 {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL},
143 {"border", &vo_border, CONF_TYPE_FLAG, 0, 0, 1, NULL},
144 {"noborder", &vo_border, CONF_TYPE_FLAG, 0, 1, 0, NULL},
146 {"aop", "-aop has been removed, use -af instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
147 {"dsp", "-dsp has been removed. Use -ao oss:dsp_path instead.\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
148 {"mixer", &mixer_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
149 {"mixer-channel", &mixer_channel, CONF_TYPE_STRING, 0, 0, 0, NULL},
150 {"softvol", &soft_vol, CONF_TYPE_FLAG, 0, 0, 1, NULL},
151 {"nosoftvol", &soft_vol, CONF_TYPE_FLAG, 0, 1, 0, NULL},
152 {"softvol-max", &soft_vol_max, CONF_TYPE_FLOAT, CONF_RANGE, 10, 10000, NULL},
153 {"volstep", &volstep, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
154 {"master", "Option -master has been removed, use -af volume instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
155 // override audio buffer size (used only by -ao oss, anyway obsolete...)
156 {"abs", &ao_data.buffersize, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
158 // -ao pcm options:
159 {"aofile", "-aofile has been removed. Use -ao pcm:file=<filename> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
160 {"waveheader", "-waveheader has been removed. Use -ao pcm:waveheader instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL},
161 {"nowaveheader", "-nowaveheader has been removed. Use -ao pcm:nowaveheader instead.\n", CONF_TYPE_PRINT, 0, 1, 0, NULL},
163 {"alsa", "-alsa has been removed. Remove it from your config file.\n",
164 CONF_TYPE_PRINT, 0, 0, 0, NULL},
165 {"noalsa", "-noalsa has been removed. Remove it from your config file.\n",
166 CONF_TYPE_PRINT, 0, 0, 0, NULL},
167 {"edlout", &edl_output_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
169 #ifdef HAVE_X11
170 {"display", &mDisplayName, CONF_TYPE_STRING, 0, 0, 0, NULL},
171 #endif
173 // -vo png only:
174 #ifdef HAVE_PNG
175 {"z", "-z has been removed. Use -vo png:z=<0-9> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
176 #endif
177 // -vo jpeg only:
178 #ifdef HAVE_JPEG
179 {"jpeg", "-jpeg has been removed. Use -vo jpeg:<options> instead.\n",
180 CONF_TYPE_PRINT, 0, 0, 0, NULL},
181 #endif
182 // -vo sdl only:
183 {"sdl", "Use -vo sdl:driver=<driver> instead of -vo sdl -sdl driver.\n",
184 CONF_TYPE_PRINT, 0, 0, 0, NULL},
185 {"noxv", "-noxv has been removed. Use -vo sdl:nohwaccel instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
186 {"forcexv", "-forcexv has been removed. Use -vo sdl:forcexv instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
187 // -ao sdl only:
188 {"sdla", "Use -ao sdl:driver instead of -ao sdl -sdla driver.\n",
189 CONF_TYPE_PRINT, 0, 0, 0, NULL},
191 #if defined(HAVE_FBDEV)||defined(HAVE_VESA)
192 {"monitor-hfreq", &monitor_hfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
193 {"monitor-vfreq", &monitor_vfreq_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
194 {"monitor-dotclock", &monitor_dotclock_str, CONF_TYPE_STRING, 0, 0, 0, NULL},
195 #endif
197 #ifdef HAVE_FBDEV
198 {"fbmode", &fb_mode_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
199 {"fbmodeconfig", &fb_mode_cfgfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
200 #endif
201 #ifdef HAVE_DIRECTFB
202 #if DIRECTFBVERSION > 912
203 {"dfbopts", "-dfbopts has been removed. Use -vf directfb:dfbopts=... instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
204 #endif
205 #endif
207 // force window width/height or resolution (with -vm)
208 {"x", &opt_screen_size_x, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
209 {"y", &opt_screen_size_y, CONF_TYPE_INT, CONF_RANGE, 0, 4096, NULL},
210 // set screen dimensions (when not detectable or virtual!=visible)
211 {"screenw", &vo_screenwidth, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
212 {"screenh", &vo_screenheight, CONF_TYPE_INT, CONF_RANGE|CONF_OLD, 0, 4096, NULL},
213 // Geometry string
214 {"geometry", &vo_geometry, CONF_TYPE_STRING, 0, 0, 0, NULL},
215 // set aspect ratio of monitor - useful for 16:9 TVout
216 {"monitoraspect", &monitor_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 9.0, NULL},
217 {"monitorpixelaspect", &monitor_pixel_aspect, CONF_TYPE_FLOAT, CONF_RANGE, 0.2, 9.0, NULL},
218 // video mode switching: (x11,xv,dga)
219 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1, NULL},
220 {"novm", &vidmode, CONF_TYPE_FLAG, 0, 1, 0, NULL},
221 // start in fullscreen mode:
222 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1, NULL},
223 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0, NULL},
224 // set fullscreen switch method (workaround for buggy WMs)
225 {"fsmode", "-fsmode is obsolete, avoid it and use -fstype instead.\nIf you really want it, try -fsmode-dontuse, but don't report bugs!\n", CONF_TYPE_PRINT, CONF_RANGE, 0, 31, NULL},
226 {"fsmode-dontuse", &vo_fsmode, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
227 // set bpp (x11+vm, dga, fbdev, vesa, svga?)
228 {"bpp", &vo_dbpp, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL},
229 {"colorkey", &vo_colorkey, CONF_TYPE_INT, 0, 0, 0, NULL},
230 {"nocolorkey", &vo_colorkey, CONF_TYPE_FLAG, 0, 0, 0x1000000, NULL},
231 {"double", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
232 {"nodouble", &vo_doublebuffering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
233 // wait for v-sync (vesa)
234 {"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
235 {"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
236 {"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 1.0, NULL},
237 {"panscanrange", &vo_panscanrange, CONF_TYPE_FLOAT, CONF_RANGE, -19.0, 99.0, NULL},
239 {"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},
240 {"nograbpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 1, 0, NULL},
242 {"adapter", &vo_adapter_num, CONF_TYPE_INT, CONF_RANGE, 0, 5, NULL},
243 {"refreshrate",&vo_refresh_rate,CONF_TYPE_INT,CONF_RANGE, 0,100, NULL},
244 {"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL},
245 #ifdef HAVE_X11
246 // x11,xv,xmga,xvidix
247 {"icelayer", "-icelayer has been removed. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
248 {"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL},
249 {"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL},
250 {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
251 {"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
252 #endif
253 {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0,0,-1,NULL},
255 {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, -2, 32, NULL},
257 {"brightness",&vo_gamma_brightness, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
258 {"saturation",&vo_gamma_saturation, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
259 {"contrast",&vo_gamma_contrast, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
260 {"hue",&vo_gamma_hue, CONF_TYPE_INT, CONF_RANGE, -100, 100, NULL},
261 {"keepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 0, 1, NULL},
262 {"nokeepaspect", &vo_keepaspect, CONF_TYPE_FLAG, 0, 1, 0, NULL},
264 // direct rendering (decoding to video out buffer)
265 {"dr", &vo_directrendering, CONF_TYPE_FLAG, 0, 0, 1, NULL},
266 {"nodr", &vo_directrendering, CONF_TYPE_FLAG, 0, 1, 0, NULL},
267 {"vaa_dr", "-vaa_dr has been removed, use -dr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
268 {"vaa_nodr", "-vaa_nodr has been removed, use -nodr.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
270 #ifdef HAVE_AA
271 // -vo aa
272 {"aa*", "-aa* has been removed. Use -vo aa:suboption instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL},
273 #endif
275 #ifdef HAVE_ZR
276 // -vo zr
277 {"zr*", vo_zr_parseoption, CONF_TYPE_FUNC_FULL, 0, 0, 0, &vo_zr_revertoption },
278 #endif
280 #ifdef HAVE_DXR2
281 {"dxr2", &dxr2_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
282 #endif
285 //---------------------- mplayer-only options ------------------------
287 {"use-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
288 {"nouse-filedir-conf", &use_filedir_conf, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
289 #ifdef CRASH_DEBUG
290 {"crash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
291 {"nocrash-debug", &crash_debug, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
292 #endif
293 {"osdlevel", &osd_level, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
294 {"osd-duration", &osd_duration, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
295 #ifdef HAVE_MENU
296 {"menu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
297 {"nomenu", &use_menu, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
298 {"menu-root", &menu_root, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
299 {"menu-cfg", &menu_cfg, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
300 {"menu-startup", &menu_startup, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
301 {"menu-keepdir", &menu_keepdir, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
302 {"menu-chroot", &menu_chroot, CONF_TYPE_STRING, 0, 0, 0, NULL},
303 #ifdef USE_FRIBIDI
304 {"menu-fribidi-charset", &menu_fribidi_charset, CONF_TYPE_STRING, 0, 0, 0, NULL},
305 {"menu-flip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 0, 1, NULL},
306 {"menu-noflip-hebrew", &menu_flip_hebrew, CONF_TYPE_FLAG, 0, 1, 0, NULL},
307 {"menu-flip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 1, 0, NULL},
308 {"menu-noflip-hebrew-commas", &menu_fribidi_flip_commas, CONF_TYPE_FLAG, 0, 0, 1, NULL},
309 #endif
310 #else
311 {"menu", "OSD menu support was not compiled in.\n", CONF_TYPE_PRINT,0, 0, 0, NULL},
312 #endif
314 // these should be moved to -common, and supported in MEncoder
315 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
316 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
318 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
320 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
321 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},
322 {"noframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 1, 0, NULL},
324 {"autoq", &auto_quality, CONF_TYPE_INT, CONF_RANGE, 0, 100, NULL},
326 {"benchmark", &benchmark, CONF_TYPE_FLAG, 0, 0, 1, NULL},
328 // dump some stream out instead of playing the file
329 // this really should be in MEncoder instead of MPlayer... -> TODO
330 {"dumpfile", &stream_dump_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
331 {"dumpaudio", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 1, NULL},
332 {"dumpvideo", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 2, NULL},
333 {"dumpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 3, NULL},
334 {"dumpmpsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 4, NULL},
335 {"dumpstream", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 5, NULL},
336 {"dumpsrtsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 6, NULL},
337 {"dumpmicrodvdsub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 7, NULL},
338 {"dumpjacosub", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 8, NULL},
339 {"dumpsami", &stream_dump_type, CONF_TYPE_FLAG, 0, 0, 9, NULL},
341 #ifdef HAVE_LIRC
342 {"lircconf", &lirc_configfile, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
343 #endif
345 {"gui", "The -gui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
346 {"nogui", "The -nogui option will only work as the first command line argument.\n", CONF_TYPE_PRINT, 0, 0, 0, (void *)1},
348 #ifdef HAVE_NEW_GUI
349 {"skin", &skinName, CONF_TYPE_STRING, CONF_GLOBAL, 0, 0, NULL},
350 {"enqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 1, NULL},
351 {"noenqueue", &enqueue, CONF_TYPE_FLAG, 0, 0, 0, NULL},
352 {"guiwid", &guiWinID, CONF_TYPE_INT, 0, 0, 0, NULL},
353 #endif
355 {"noloop", &loop_times, CONF_TYPE_FLAG, 0, 0, -1, NULL},
356 {"loop", &loop_times, CONF_TYPE_INT, CONF_RANGE, -1, 10000, NULL},
357 {"playlist", NULL, CONF_TYPE_STRING, 0, 0, 0, NULL},
359 // a-v sync stuff:
360 {"correct-pts", &correct_pts, CONF_TYPE_FLAG, 0, 0, 1, NULL},
361 {"no-correct-pts", &correct_pts, CONF_TYPE_FLAG, 0, 1, 0, NULL},
362 {"noautosync", &autosync, CONF_TYPE_FLAG, 0, 0, -1, NULL},
363 {"autosync", &autosync, CONF_TYPE_INT, CONF_RANGE, 0, 10000, NULL},
364 // {"dapsync", &dapsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
365 // {"nodapsync", &dapsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
367 {"softsleep", &softsleep, CONF_TYPE_FLAG, 0, 0, 1, NULL},
368 #ifdef HAVE_RTC
369 {"nortc", &nortc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
370 {"rtc", &nortc, CONF_TYPE_FLAG, 0, 0, 0, NULL},
371 {"rtc-device", &rtc_device, CONF_TYPE_STRING, 0, 0, 0, NULL},
372 #endif
374 {"term-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 1, NULL},
375 {"noterm-osd", &term_osd, CONF_TYPE_FLAG, 0, 0, 0, NULL},
376 {"term-osd-esc", &term_osd_esc, CONF_TYPE_STRING, 0, 0, 1, NULL},
377 {"playing-msg", &playing_msg, CONF_TYPE_STRING, 0, 0, 0, NULL},
379 {"slave", &slave_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
380 {"idle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 1, NULL},
381 {"noidle", &player_idle_mode, CONF_TYPE_FLAG,CONF_GLOBAL , 0, 0, NULL},
382 {"use-stdin", "-use-stdin has been renamed to -noconsolecontrols, use that instead.", CONF_TYPE_PRINT, 0, 0, 0, NULL},
383 {"key-fifo-size", &key_fifo_size, CONF_TYPE_INT, CONF_RANGE, 2, 65000, NULL},
384 {"noconsolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
385 {"consolecontrols", &noconsolecontrols, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 0, NULL},
386 {"mouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
387 {"nomouse-movements", &enable_mouse_movements, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 0, NULL},
388 {"doubleclick-time", &doubleclick_time, CONF_TYPE_INT, CONF_RANGE, 0, 1000, NULL},
390 #define MAIN_CONF
391 #include "cfg-common.h"
392 #undef MAIN_CONF
394 {"list-properties", &list_properties, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
395 {"identify", &mp_msg_levels[MSGT_IDENTIFY], CONF_TYPE_FLAG, CONF_GLOBAL, 0, MSGL_V, NULL},
396 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
397 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
398 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG|CONF_GLOBAL, 0, 0, NULL},
400 {"vd", vd_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
401 {NULL, NULL, 0, 0, 0, 0, NULL}