diff options
Diffstat (limited to 'src/emu/emuopts.h')
-rw-r--r-- | src/emu/emuopts.h | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/src/emu/emuopts.h b/src/emu/emuopts.h new file mode 100644 index 00000000000..982f2556826 --- /dev/null +++ b/src/emu/emuopts.h @@ -0,0 +1,158 @@ +/*************************************************************************** + + emuopts.h + + Options file and command line management. + + Copyright (c) 1996-2007, Nicola Salmoria and the MAME Team. + Visit http://mamedev.org for licensing and usage restrictions. + +***************************************************************************/ + +#pragma once + +#ifndef __EMUOPTS_H__ +#define __EMUOPTS_H__ + +#include "mamecore.h" +#include "options.h" + + + +/*************************************************************************** + CONSTANTS +***************************************************************************/ + +/* option priorities */ +#define OPTION_PRIORITY_CMDLINE OPTION_PRIORITY_HIGH +#define OPTION_PRIORITY_INI OPTION_PRIORITY_NORMAL + + +/* core options */ +#define OPTION_GAMENAME OPTION_UNADORNED(0) + +/* core configuration options */ +#define OPTION_READCONFIG "readconfig" + +/* core search path options */ +#define OPTION_ROMPATH "rompath" +#ifdef MESS +#define OPTION_HASHPATH "hashpath" +#endif +#define OPTION_SAMPLEPATH "samplepath" +#define OPTION_ARTPATH "artpath" +#define OPTION_CTRLRPATH "ctrlrpath" +#define OPTION_INIPATH "inipath" +#define OPTION_FONTPATH "fontpath" + +/* core directory options */ +#define OPTION_CFG_DIRECTORY "cfg_directory" +#define OPTION_NVRAM_DIRECTORY "nvram_directory" +#define OPTION_MEMCARD_DIRECTORY "memcard_directory" +#define OPTION_INPUT_DIRECTORY "input_directory" +#define OPTION_STATE_DIRECTORY "state_directory" +#define OPTION_SNAPSHOT_DIRECTORY "snapshot_directory" +#define OPTION_DIFF_DIRECTORY "diff_directory" +#define OPTION_COMMENT_DIRECTORY "comment_directory" + +/* core filename options */ +#define OPTION_CHEAT_FILE "cheat_file" + +/* core state/playback options */ +#define OPTION_STATE "state" +#define OPTION_AUTOSAVE "autosave" +#define OPTION_PLAYBACK "playback" +#define OPTION_RECORD "record" +#define OPTION_MNGWRITE "mngwrite" +#define OPTION_WAVWRITE "wavwrite" + +/* core performance options */ +#define OPTION_AUTOFRAMESKIP "autoframeskip" +#define OPTION_FRAMESKIP "frameskip" +#define OPTION_SECONDS_TO_RUN "seconds_to_run" +#define OPTION_THROTTLE "throttle" +#define OPTION_SLEEP "sleep" +#define OPTION_SPEED "speed" +#define OPTION_REFRESHSPEED "refreshspeed" + +/* core rotation options */ +#define OPTION_ROTATE "rotate" +#define OPTION_ROR "ror" +#define OPTION_ROL "rol" +#define OPTION_AUTOROR "autoror" +#define OPTION_AUTOROL "autorol" +#define OPTION_FLIPX "flipx" +#define OPTION_FLIPY "flipy" + +/* core artwork options */ +#define OPTION_ARTWORK_CROP "artwork_crop" +#define OPTION_USE_BACKDROPS "use_backdrops" +#define OPTION_USE_OVERLAYS "use_overlays" +#define OPTION_USE_BEZELS "use_bezels" + +/* core screen options */ +#define OPTION_BRIGHTNESS "brightness" +#define OPTION_CONTRAST "contrast" +#define OPTION_GAMMA "gamma" +#define OPTION_PAUSE_BRIGHTNESS "pause_brightness" + +/* core vector options */ +#define OPTION_ANTIALIAS "antialias" +#define OPTION_BEAM "beam" +#define OPTION_FLICKER "flicker" + +/* core sound options */ +#define OPTION_SOUND "sound" +#define OPTION_SAMPLERATE "samplerate" +#define OPTION_SAMPLES "samples" +#define OPTION_VOLUME "volume" + +/* core input options */ +#define OPTION_CTRLR "ctrlr" +#define OPTION_MOUSE "mouse" +#define OPTION_JOYSTICK "joystick" +#define OPTION_LIGHTGUN "lightgun" +#define OPTION_MULTIKEYBOARD "multikeyboard" +#define OPTION_MULTIMOUSE "multimouse" +#define OPTION_PADDLE_DEVICE "paddle_device" +#define OPTION_ADSTICK_DEVICE "adstick_device" +#define OPTION_PEDAL_DEVICE "pedal_device" +#define OPTION_DIAL_DEVICE "dial_device" +#define OPTION_TRACKBALL_DEVICE "trackball_device" +#define OPTION_LIGHTGUN_DEVICE "lightgun_device" +#define OPTION_POSITIONAL_DEVICE "positional_device" +#define OPTION_MOUSE_DEVICE "mouse_device" +#define OPTION_JOYSTICK_MAP "joystick_map" +#define OPTION_JOYSTICK_DEADZONE "joystick_deadzone" +#define OPTION_JOYSTICK_SATURATION "joystick_saturation" +#define OPTION_STEADYKEY "steadykey" +#define OPTION_OFFSCREEN_RELOAD "offscreen_reload" + +/* core debugging options */ +#define OPTION_VERBOSE "verbose" +#define OPTION_LOG "log" +#define OPTION_DEBUG "debug" +#define OPTION_DEBUGSCRIPT "debugscript" + +/* core misc options */ +#define OPTION_BIOS "bios" +#define OPTION_CHEAT "cheat" +#define OPTION_SKIP_GAMEINFO "skip_gameinfo" + + + +/*************************************************************************** + GLOBALS +***************************************************************************/ + +extern const options_entry mame_core_options[]; + + + +/*************************************************************************** + FUNCTION PROTOTYPES +***************************************************************************/ + +core_options *mame_options_init(const options_entry *entries); + +#endif /* __EMUOPTS_H__ */ |