8#define CONF_FILE "conf.lua"
14#define DOUBLETAP_SENSITIVITY_DEFAULT \
16#define REDIRECT_FILE_DEFAULT \
18#define MOUSE_HIDE_DEFAULT \
20#define MOUSE_FLY_DEFAULT \
22#define MOUSE_ACCEL_DEFAULT \
24#define MOUSE_DOUBLECLICK_TIME \
26#define MANUAL_ZOOM_DEFAULT \
28#define ZOOM_FAR_DEFAULT 0.5
29#define ZOOM_NEAR_DEFAULT 1.0
30#define ZOOM_SPEED_DEFAULT \
32#define MAP_OVERLAY_OPACITY_DEFAULT \
34#define INPUT_MESSAGES_DEFAULT 5
35#define DIFFICULTY_DEFAULT NULL
37#define RESOLUTION_W_MIN \
39#define RESOLUTION_H_MIN \
41#define RESOLUTION_W_DEFAULT RESOLUTION_W_MIN
42#define RESOLUTION_H_DEFAULT RESOLUTION_H_MIN
43#define FULLSCREEN_DEFAULT 0
44#define FULLSCREEN_MODESETTING \
47#define VSYNC_DEFAULT 0
48#define SCALE_FACTOR_DEFAULT 1.
49#define NEBULA_SCALE_FACTOR_DEFAULT \
51#define SHOW_FPS_DEFAULT 0
52#define FPS_MAX_DEFAULT 60
53#define SHOW_PAUSE_DEFAULT 1
54#define MINIMIZE_DEFAULT 1
55#define COLOURBLIND_SIM_DEFAULT \
57#define COLOURBLIND_TYPE_DEFAULT \
60#define COLOURBLIND_CORRECT_DEFAULT \
62#define GAME_SPEED_DEFAULT 1.
63#define HEALTHBARS_DEFAULT 1
64#define BG_BRIGHTNESS_DEFAULT \
66#define NEBU_NONUNIFORMITY_DEFAULT \
68#define NEBU_SATURATION_DEFAULT \
70#define PUZZLE_SKIP_DEFAULT \
73#define GAMMA_CORRECTION_DEFAULT 1.
74#define JUMP_BRIGHTNESS_DEFAULT 0.8
75#define BIG_ICONS_DEFAULT 0
76#define FONT_SIZE_CONSOLE_DEFAULT 10
77#define FONT_SIZE_INTRO_DEFAULT 18
78#define FONT_SIZE_DEF_DEFAULT 12
79#define FONT_SIZE_SMALL_DEFAULT 11
80#define LOW_MEMORY_DEFAULT 0
81#define MAX_3D_TEX_SIZE 256
83#define USE_EFX_DEFAULT 1
84#define MUTE_SOUND_DEFAULT 0
85#define SOUND_VOLUME_DEFAULT 0.7
86#define MUSIC_VOLUME_DEFAULT 0.8
87#define ENGINE_VOLUME_DEFAULT 0.8
94typedef struct PlayerConf_s {
216void conf_setDefaults(
void );
217void conf_setGameplayDefaults(
void );
218void conf_setAudioDefaults(
void );
219void conf_setVideoDefaults(
void );
220void conf_loadConfigPath(
void );
221int conf_loadConfig(
const char *file );
222int conf_parseCLI(
int argc,
char **argv );
223void conf_cleanup(
void );
234int conf_saveConfig(
const char *file );
Struct containing player options.
double colourblind_correct
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