17 #ifndef PREFERENCES_HPP_INCLUDED
18 #define PREFERENCES_HPP_INCLUDED
int joystick_mouse_xaxis_num()
bool disable_auto_moves()
void _set_turbo(bool ison)
int joystick_thrustb_axis_num()
bool set_sound(bool ison)
void set_show_enemy_orb(bool show_orb)
std::string unmoved_color()
void _set_fullscreen(bool ison)
int joystick_mouse_yaxis_num()
void _set_grid(bool ison)
void _set_resolution(const std::pair< int, int > &res)
void set_moved_color(const std::string &color_id)
int joystick_num_mouse_xaxis()
bool minimap_draw_units()
void set_allied_color(const std::string &color_id)
void set_unmoved_color(const std::string &color_id)
void set_show_standing_animations(bool value)
GLenum GLenum GLenum GLenum GLenum scale
void _set_maximized(bool ison)
int mouse_scroll_threshold()
Gets the threshold for when to scroll.
void disable_preferences_save()
void set_show_unmoved_orb(bool show_orb)
int joystick_thrusta_axis_num()
void _set_color_cursors(bool value)
void set_disable_loadingscreen_animation(bool value)
void set_scroll_speed(const int new_speed)
bool minimap_movement_coding()
int joystick_num_cursor_yaxis()
void save_turbo_speed(const double speed)
void enable_mouse_scroll(bool value)
void clear(const std::string &key)
int joystick_thrustb_deadzone()
GLuint const GLfloat * val
int joystick_num_mouse_yaxis()
void set(const std::string &key, bool value)
int joystick_num_thrustb_axis()
unsigned int sample_rate()
bool confirm_load_save_from_different_version()
void set_sound_volume(int vol)
int joystick_num_scroll_xaxis()
int joystick_num_cursor_xaxis()
void save_sound_buffer_size(const size_t size)
Keyboard shortcuts for game actions.
void set_use_twelve_hour_clock_format(bool value)
int joystick_cursor_yaxis_num()
bool minimap_draw_villages()
int joystick_thrusta_deadzone()
bool joystick_support_enabled()
void set_enemy_color(const std::string &color_id)
void toggle_minimap_draw_units()
int joystick_scroll_yaxis_num()
GLsizei const GLfloat * value
void set_font_scaling(int scale)
void set_music_volume(int vol)
int font_scaled(int size)
void set_show_fps(bool value)
void set_partial_color(const std::string &color_id)
void erase(const std::string &key)
std::pair< int, int > resolution()
void set_show_partial_orb(bool show_orb)
void set_core_id(const std::string &core_id)
Modify, read and display user preferences.
void toggle_minimap_draw_terrain()
void set_bell_volume(int vol)
bool show_standing_animations()
void set_animate_map(bool value)
int joystick_scroll_xaxis_num()
void _set_idle_anim(const bool ison)
void set_show_moved_orb(bool show_orb)
void set_draw_delay(int value)
void toggle_minimap_draw_villages()
int joystick_num_thrusta_axis()
void set_UI_volume(int vol)
void set_child(const std::string &key, const config &val)
void save_sample_rate(const unsigned int rate)
size_t sound_buffer_size()
std::string allied_color()
void add_alias(const std::string &alias, const std::string &command)
std::string moved_color()
void toggle_minimap_terrain_coding()
bool middle_click_scrolls()
void toggle_minimap_movement_coding()
bool set_UI_sound(bool ison)
void set_scroll_to_action(bool ison)
void set_ellipses(bool ison)
const config & get_child(const std::string &key)
int joystick_cursor_xaxis_num()
int joystick_cursor_threshold()
void set_language(const std::string &s)
bool mouse_scroll_enabled()
bool disable_loadingscreen_animation()
std::string partial_color()
bool have_setting(const std::string &key)
bool minimap_draw_terrain()
bool set_music(bool ison)
int joystick_scroll_deadzone()
bool set_turn_bell(bool ison)
int joystick_mouse_deadzone()
int joystick_cursor_deadzone()
A config object defines a single node in a WML file, with access to child nodes.
const config & get_alias()
int joystick_num_scroll_yaxis()
void set_animate_water(bool value)
void _set_idle_anim_rate(const int rate)
GLsizei const GLcharARB ** string
bool use_twelve_hour_clock_format()
void set_show_allied_orb(bool show_orb)
std::string enemy_color()
bool minimap_terrain_coding()
void set_disable_auto_moves(bool value)