6#define CONF_FILE "conf.lua"
12#define DOUBLETAP_SENSITIVITY_DEFAULT 250
13#define TIME_COMPRESSION_DEFAULT_MAX 5000.
14#define TIME_COMPRESSION_DEFAULT_MULT 200
15#define REDIRECT_FILE_DEFAULT 1
16#define SAVE_COMPRESSION_DEFAULT 1
17#define MOUSE_FLY_DEFAULT 1
18#define MOUSE_THRUST_DEFAULT 1
19#define MOUSE_DOUBLECLICK_TIME 0.5
20#define AUTONAV_RESET_DIST_DEFAULT 5000.
21#define AUTONAV_RESET_SHIELD_DEFAULT 1.
22#define MANUAL_ZOOM_DEFAULT 0
23#define ZOOM_FAR_DEFAULT 0.5
24#define ZOOM_NEAR_DEFAULT 1.0
25#define ZOOM_SPEED_DEFAULT 0.25
26#define MAP_OVERLAY_OPACITY_DEFAULT 0.3
27#define INPUT_MESSAGES_DEFAULT 5
28#define DIFFICULTY_DEFAULT NULL
30#define RESOLUTION_W_MIN 1280
31#define RESOLUTION_H_MIN 720
32#define RESOLUTION_W_DEFAULT RESOLUTION_W_MIN
33#define RESOLUTION_H_DEFAULT RESOLUTION_H_MIN
34#define FULLSCREEN_DEFAULT 0
35#define FULLSCREEN_MODESETTING 0
37#define VSYNC_DEFAULT 0
38#define SCALE_FACTOR_DEFAULT 1.
39#define NEBULA_SCALE_FACTOR_DEFAULT 4.
40#define SHOW_FPS_DEFAULT 0
41#define FPS_MAX_DEFAULT 60
42#define SHOW_PAUSE_DEFAULT 1
43#define MINIMIZE_DEFAULT 1
44#define COLORBLIND_DEFAULT 0
45#define HEALTHBARS_DEFAULT 1
46#define BG_BRIGHTNESS_DEFAULT 0.5
47#define NEBU_NONUNIFORMITY_DEFAULT 1.
48#define GAMMA_CORRECTION_DEFAULT 1.
49#define BACKGROUND_FANCY_DEFAULT 0
50#define JUMP_BRIGHTNESS_DEFAULT 1.
51#define BIG_ICONS_DEFAULT 0
52#define FONT_SIZE_CONSOLE_DEFAULT 10
53#define FONT_SIZE_INTRO_DEFAULT 18
54#define FONT_SIZE_DEF_DEFAULT 12
55#define FONT_SIZE_SMALL_DEFAULT 11
57#define USE_EFX_DEFAULT 1
58#define MUTE_SOUND_DEFAULT 0
59#define SOUND_VOLUME_DEFAULT 0.6
60#define MUSIC_VOLUME_DEFAULT 0.8
61#define ENGINE_VOLUME_DEFAULT 0.8
63#define DEV_SAVE_SYSTEM_DEFAULT "../dat/ssys/"
64#define DEV_SAVE_SPOB_DEFAULT "../dat/spob/"
65#define DEV_SAVE_MAP_DEFAULT "../dat/outfits/maps/"
72typedef struct PlayerConf_s {
180void conf_setDefaults (
void);
181void conf_setGameplayDefaults (
void);
182void conf_setAudioDefaults (
void);
183void conf_setVideoDefaults (
void);
184void conf_loadConfigPath(
void );
185int conf_loadConfig(
const char* file );
186void conf_parseCLI(
int argc,
char** argv );
187void conf_cleanup (
void);
198int conf_saveConfig(
const char* file );
Struct containing player options.
double autonav_reset_shield
double compression_velocity
double autonav_reset_dist
unsigned int repeat_delay
unsigned int doubletap_sens
double map_overlay_opacity
double nebu_nonuniformity
int translation_warning_seen