2013-07-06 04:37:13 +00:00
|
|
|
/*
|
2013-06-11 07:08:15 +00:00
|
|
|
* Apple // emulator for Linux: Configuration defines
|
|
|
|
*
|
|
|
|
* Copyright 1994 Alexander Jean-Claude Bottema
|
|
|
|
* Copyright 1995 Stephen Lee
|
|
|
|
* Copyright 1997, 1998 Aaron Culliney
|
|
|
|
* Copyright 1998, 1999, 2000 Michael Deutschmann
|
|
|
|
*
|
|
|
|
* This software package is subject to the GNU General Public License
|
2013-07-06 04:37:13 +00:00
|
|
|
* version 2 or later (your choice) as published by the Free Software
|
2013-06-11 07:08:15 +00:00
|
|
|
* Foundation.
|
|
|
|
*
|
2013-07-06 04:37:13 +00:00
|
|
|
* THERE ARE NO WARRANTIES WHATSOEVER.
|
2013-06-11 07:08:15 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PREFS_H
|
|
|
|
#define PREFS_H
|
|
|
|
|
2014-10-19 19:54:03 +00:00
|
|
|
#include "common.h"
|
2013-06-11 07:08:15 +00:00
|
|
|
|
2013-12-07 06:55:00 +00:00
|
|
|
typedef enum joystick_mode_t {
|
2014-11-09 21:13:27 +00:00
|
|
|
JOY_PCJOY = 0,
|
2013-12-07 06:55:00 +00:00
|
|
|
#ifdef KEYPAD_JOYSTICK
|
|
|
|
JOY_KPAD,
|
|
|
|
#endif
|
|
|
|
NUM_JOYOPTS
|
|
|
|
} joystick_mode_t;
|
|
|
|
|
|
|
|
typedef enum color_mode_t {
|
|
|
|
COLOR_NONE = 0,
|
|
|
|
/*LAZY_COLOR, deprecated*/
|
|
|
|
COLOR,
|
|
|
|
/*LAZY_INTERP, deprecated*/
|
|
|
|
COLOR_INTERP,
|
|
|
|
NUM_COLOROPTS
|
|
|
|
} color_mode_t;
|
|
|
|
|
2014-01-04 22:24:55 +00:00
|
|
|
typedef enum a2_video_mode_t {
|
|
|
|
VIDEO_FULLSCREEN = 0,
|
|
|
|
VIDEO_1X,
|
|
|
|
VIDEO_2X,
|
|
|
|
NUM_VIDOPTS
|
|
|
|
} a2_video_mode_t;
|
|
|
|
|
2015-06-02 05:25:29 +00:00
|
|
|
extern char system_path[PATH_MAX];
|
|
|
|
extern char disk_path[PATH_MAX];
|
2013-06-11 07:08:15 +00:00
|
|
|
|
|
|
|
extern int apple_mode; /* undocumented instructions or //e mode */
|
2013-12-07 06:55:00 +00:00
|
|
|
extern int sound_volume;
|
|
|
|
extern color_mode_t color_mode;
|
2014-01-04 22:24:55 +00:00
|
|
|
extern a2_video_mode_t a2_video_mode;
|
2013-06-11 07:08:15 +00:00
|
|
|
|
|
|
|
/* generic joystick settings */
|
2013-12-07 06:55:00 +00:00
|
|
|
extern joystick_mode_t joy_mode;
|
2013-12-28 21:54:26 +00:00
|
|
|
|
2013-06-11 07:08:15 +00:00
|
|
|
/* functions in prefs.c */
|
|
|
|
extern void load_settings(void);
|
2013-11-27 20:43:58 +00:00
|
|
|
extern bool save_settings(void);
|
2013-06-11 07:08:15 +00:00
|
|
|
|
|
|
|
#endif /* PREFS_H */
|