naev 0.12.5
PlayerConf_t Struct Reference

Struct containing player options. More...

#include <conf.h>

Data Fields

int loaded
char * ndata
char * datapath
char * language
int fsaa
int vsync
int width
int height
int explicit_dim
double scalefactor
double nebu_scale
int fullscreen
int modesetting
int notresizable
int borderless
int minimize
double colourblind_sim
int colourblind_type
double colourblind_correct
double game_speed
int healthbars
double bg_brightness
double nebu_nonuniformity
double nebu_saturation
double jump_brightness
int puzzle_skip
double gamma_correction
int low_memory
int max_3d_tex_size
int al_efx
int nosound
double sound
double music
double engine_vol
int fps_show
int fps_max
int pause_show
int joystick_ind
char * joystick_nam
int mesg_visible
double map_overlay_opacity
int big_icons
int always_radar
unsigned int repeat_delay
unsigned int repeat_freq
int zoom_manual
double zoom_far
double zoom_near
double zoom_speed
int font_size_console
int font_size_intro
int font_size_def
int font_size_small
char * difficulty
double compression_velocity
double compression_mult
int redirect_file
unsigned int doubletap_sens
double mouse_hide
int mouse_fly
int mouse_accel
double mouse_doubleclick
double autonav_reset_dist
double autonav_reset_shield
int devmode
int devautosave
int lua_enet
int lua_repl
int nosave
char * lastversion
int translation_warning_seen
time_t last_played
int fpu_except
char * dev_data_dir

Detailed Description

Struct containing player options.

Note
Input is not handled here.

Definition at line 94 of file conf.h.

Field Documentation

◆ al_efx

int PlayerConf_t::al_efx

Should EFX extension be used? (only applicable for OpenAL)

Definition at line 139 of file conf.h.

◆ always_radar

int PlayerConf_t::always_radar

Radar is always visible.

Definition at line 160 of file conf.h.

◆ autonav_reset_dist

double PlayerConf_t::autonav_reset_dist

Enemy distance condition for resetting autonav.

Definition at line 191 of file conf.h.

◆ autonav_reset_shield

double PlayerConf_t::autonav_reset_shield

Shield condition for resetting autonav speed.

Definition at line 193 of file conf.h.

◆ bg_brightness

double PlayerConf_t::bg_brightness

How much to darken the background stuff.

Definition at line 127 of file conf.h.

◆ big_icons

int PlayerConf_t::big_icons

Use big icons or not.

Definition at line 159 of file conf.h.

◆ borderless

int PlayerConf_t::borderless

Whether to disable window decorations.

Definition at line 119 of file conf.h.

◆ colourblind_correct

double PlayerConf_t::colourblind_correct

Whether to enable colourblindness simulation.

Definition at line 124 of file conf.h.

◆ colourblind_sim

double PlayerConf_t::colourblind_sim

Whether to enable colourblindness simulation.

Definition at line 121 of file conf.h.

◆ colourblind_type

int PlayerConf_t::colourblind_type

Type of colourblindness.

Definition at line 122 of file conf.h.

◆ compression_mult

double PlayerConf_t::compression_mult

Maximum time multiplier.

Definition at line 183 of file conf.h.

◆ compression_velocity

double PlayerConf_t::compression_velocity

Velocity to compress to.

Definition at line 182 of file conf.h.

◆ datapath

char* PlayerConf_t::datapath

Path for user data (saves, screenshots, etc.).

Definition at line 100 of file conf.h.

◆ dev_data_dir

char* PlayerConf_t::dev_data_dir

Path where most data should be.

Definition at line 209 of file conf.h.

◆ devautosave

int PlayerConf_t::devautosave

Developer mode autosave.

Definition at line 196 of file conf.h.

◆ devmode

int PlayerConf_t::devmode

Developer mode.

Definition at line 195 of file conf.h.

◆ difficulty

char* PlayerConf_t::difficulty

Global difficulty setting.

Definition at line 181 of file conf.h.

◆ doubletap_sens

unsigned int PlayerConf_t::doubletap_sens

Double tap key sensibility (used for afterburn and cooldown).

Definition at line 185 of file conf.h.

◆ engine_vol

double PlayerConf_t::engine_vol

Sound level for engines (relative).

Definition at line 143 of file conf.h.

◆ explicit_dim

int PlayerConf_t::explicit_dim

Dimension is explicit.

Definition at line 112 of file conf.h.

◆ font_size_console

int PlayerConf_t::font_size_console

Console monospaced font size.

Definition at line 175 of file conf.h.

◆ font_size_def

int PlayerConf_t::font_size_def

Default large font size.

Definition at line 177 of file conf.h.

◆ font_size_intro

int PlayerConf_t::font_size_intro

Intro text font size.

Definition at line 176 of file conf.h.

◆ font_size_small

int PlayerConf_t::font_size_small

Default small font size.

Definition at line 178 of file conf.h.

◆ fps_max

int PlayerConf_t::fps_max

Maximum FPS to limit to.

Definition at line 147 of file conf.h.

◆ fps_show

int PlayerConf_t::fps_show

Whether or not FPS should be shown

Definition at line 146 of file conf.h.

◆ fpu_except

int PlayerConf_t::fpu_except

Enable FPU exceptions?

Definition at line 206 of file conf.h.

◆ fsaa

int PlayerConf_t::fsaa

Full Scene Anti-Aliasing to use.

Definition at line 106 of file conf.h.

◆ fullscreen

int PlayerConf_t::fullscreen

Whether or not game is fullscreen.

Definition at line 116 of file conf.h.

◆ game_speed

double PlayerConf_t::game_speed

Speed of the game.

Definition at line 125 of file conf.h.

◆ gamma_correction

double PlayerConf_t::gamma_correction

How much gamma correction to do.

Definition at line 132 of file conf.h.

◆ healthbars

int PlayerConf_t::healthbars

Whether or not to show health bars next to pilots.

Definition at line 126 of file conf.h.

◆ height

int PlayerConf_t::height

Height of the window to use.

Definition at line 111 of file conf.h.

◆ joystick_ind

int PlayerConf_t::joystick_ind

Index of joystick to use.

Definition at line 153 of file conf.h.

◆ joystick_nam

char* PlayerConf_t::joystick_nam

Name of joystick to use.

Definition at line 154 of file conf.h.

◆ jump_brightness

double PlayerConf_t::jump_brightness

Intensity to fade to/from when jumping.

Definition at line 130 of file conf.h.

◆ language

char* PlayerConf_t::language

Language to use.

Definition at line 103 of file conf.h.

◆ last_played

time_t PlayerConf_t::last_played

Date the game was last played.

Definition at line 203 of file conf.h.

◆ lastversion

char* PlayerConf_t::lastversion

The last version the game was ran in.

Definition at line 200 of file conf.h.

◆ loaded

int PlayerConf_t::loaded

Configuration file has been loaded (not an actual option).

Definition at line 96 of file conf.h.

◆ low_memory

int PlayerConf_t::low_memory

Low memory mode.

Definition at line 133 of file conf.h.

◆ lua_enet

int PlayerConf_t::lua_enet

Enable the lua-enet library.

Definition at line 197 of file conf.h.

◆ lua_repl

int PlayerConf_t::lua_repl

Enable the experimental CLI based on lua-repl.

Definition at line 198 of file conf.h.

◆ map_overlay_opacity

double PlayerConf_t::map_overlay_opacity

Map overlay opacity.

Definition at line 158 of file conf.h.

◆ max_3d_tex_size

int PlayerConf_t::max_3d_tex_size

How large to make the textures in low memory mode.

Definition at line 134 of file conf.h.

◆ mesg_visible

int PlayerConf_t::mesg_visible

Amount of visible messages.

Definition at line 157 of file conf.h.

◆ minimize

int PlayerConf_t::minimize

Whether to minimize on focus loss.

Definition at line 120 of file conf.h.

◆ modesetting

int PlayerConf_t::modesetting

Whether to use modesetting for fullscreen.

Definition at line 117 of file conf.h.

◆ mouse_accel

int PlayerConf_t::mouse_accel

Whether mouse flying controls acceleration.

Definition at line 189 of file conf.h.

◆ mouse_doubleclick

double PlayerConf_t::mouse_doubleclick

How long to consider double-clicks for.

Definition at line 190 of file conf.h.

◆ mouse_fly

int PlayerConf_t::mouse_fly

Whether middle clicking enables mouse flying or not.

Definition at line 188 of file conf.h.

◆ mouse_hide

double PlayerConf_t::mouse_hide

Time to hide mouse.

Definition at line 187 of file conf.h.

◆ music

double PlayerConf_t::music

Sound level for music.

Definition at line 142 of file conf.h.

◆ ndata

char* PlayerConf_t::ndata

Ndata path to use.

Definition at line 99 of file conf.h.

◆ nebu_nonuniformity

double PlayerConf_t::nebu_nonuniformity

How much to darken the nebula stuff.

Definition at line 128 of file conf.h.

◆ nebu_saturation

double PlayerConf_t::nebu_saturation

Saturation value of the nebula.

Definition at line 129 of file conf.h.

◆ nebu_scale

double PlayerConf_t::nebu_scale

Downscaling factor for the expensively rendered nebula.

Definition at line 114 of file conf.h.

◆ nosave

int PlayerConf_t::nosave

Disables conf saving.

Definition at line 199 of file conf.h.

◆ nosound

int PlayerConf_t::nosound

Whether or not sound is on.

Definition at line 140 of file conf.h.

◆ notresizable

int PlayerConf_t::notresizable

Whether or not the window is resizable.

Definition at line 118 of file conf.h.

◆ pause_show

int PlayerConf_t::pause_show

Whether pause status should be shown.

Definition at line 150 of file conf.h.

◆ puzzle_skip

int PlayerConf_t::puzzle_skip

Whether or not to allow skipping puzzles for free.

Definition at line 131 of file conf.h.

◆ redirect_file

int PlayerConf_t::redirect_file

Redirect output to files.

Definition at line 184 of file conf.h.

◆ repeat_delay

unsigned int PlayerConf_t::repeat_delay

Time in ms before start repeating.

Definition at line 163 of file conf.h.

◆ repeat_freq

unsigned int PlayerConf_t::repeat_freq

Time in ms between each repeat once started repeating.

Definition at line 164 of file conf.h.

◆ scalefactor

double PlayerConf_t::scalefactor

Amount to reduce resolution by.

Definition at line 113 of file conf.h.

◆ sound

double PlayerConf_t::sound

Sound level for sound effects.

Definition at line 141 of file conf.h.

◆ translation_warning_seen

int PlayerConf_t::translation_warning_seen

No need to warn about incomplete game translations again.

Definition at line 201 of file conf.h.

◆ vsync

int PlayerConf_t::vsync

Whether or not to use vsync.

Definition at line 107 of file conf.h.

◆ width

int PlayerConf_t::width

Width of the window to use.

Definition at line 110 of file conf.h.

◆ zoom_far

double PlayerConf_t::zoom_far

Maximum in-game zoom to use should be less then zoom_near.

Definition at line 169 of file conf.h.

◆ zoom_manual

int PlayerConf_t::zoom_manual

Zoom is under manual control.

Definition at line 168 of file conf.h.

◆ zoom_near

double PlayerConf_t::zoom_near

Minimum in-game zoom to use.

Definition at line 171 of file conf.h.

◆ zoom_speed

double PlayerConf_t::zoom_speed

Maximum zoom speed change.

Definition at line 172 of file conf.h.


The documentation for this struct was generated from the following file: