#textdomain wesnoth
[advanced_preference]
    field=compress_saves
    name= _ "Compress saved games"
    type=combo
    default=gzip
    [option]
        id=gzip
        name= _ "save_compression^Gzip"
        description= _ "save_compression_desc^Default compression, faster"
    [/option]
    [option]
        id=bzip2
        name= _ "save_compression^Bzip2"
        description= _ "save_compression_desc^Best compression, slower"
    [/option]
    [option]
        id=none
        name= _ "save_compression^No"
        description= _ "save_compression_desc^Large plain text files"
    [/option]
[/advanced_preference]

[advanced_preference]
    field=ask_delete
    name= _ "Confirm deleting saves"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=mouse_scrolling
    name= _ "Mouse scrolling"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=middle_click_scrolls
    name= _ "Middle-click scrolling"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=scroll_when_mouse_outside
    name= _ "Keep scrolling when mouse leaves window"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=show_combat
    name= _ "Show combat"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=lobby_auto_open_whisper_windows
    name= _ "Auto-open whisper windows in lobby"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=lobby_playerlist_group_players
    name= _ "Group players in lobby"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=scroll_to_action
    name= _ "Follow unit actions"
    description= _ "Choose whether the map view should scroll to a unit when an action or move is animated"
    type=boolean
    default=yes
[/advanced_preference]

#[advanced_preference]
#    field=dummy_slider
#    name="Dummy Slider"
#    type=int
#    default=42
#    min=0
#    max=50
#[/advanced_preference]

[advanced_preference]
    field=chat_message_aging
    name= _ "Chat message aging"
    description= _ "Number of minutes to wait before clearing an ingame chat message. Set to 0 to disable."
    type=int
    default=20
    min=0
    max=60
    step=1
[/advanced_preference]

[advanced_preference]
    field=use_twelve_hour_clock_format
    name= _ "Use 12-hour clock format"
    type=boolean
    default=no
[/advanced_preference]

[advanced_preference]
    field=confirm_load_save_from_different_version
    name= _ "Confirm loading saves from a different version"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=show_all_units_in_help
    name= _ "Show all unit types in help"
    description= _ "Show all unit types in the help (requires restart). This does not alter the list of encountered units"
    type=boolean
    default=no
[/advanced_preference]

[advanced_preference]
    field=editor_max_recent_files
    name= _ "Editor recent files limit"
    description= _ "The maximum number of items to display on the Recent Files menu in the editor"
    type=int
    default=10
    min=1
    max=64
    step=1
[/advanced_preference]

[advanced_preference]
    field=color_cursors
    name= _ "Show color cursors"
    description= _ "Use colored mouse cursors"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=advanced_graphic_options
    name= _ "Graphics scaling options"
    type=custom
[/advanced_preference]

[advanced_preference]
    field=orb_color
    name= _ "Customize orb colors"
    type=custom
[/advanced_preference]

[advanced_preference]
    field=logging
    name= _ "Logging"
    type=custom
[/advanced_preference]

[advanced_preference]
    field=damage_prediction_allow_monte_carlo_simulation
    name= _ "Allow damage calculation with Monte Carlo simulation"
    description= _ "Allow the damage calculation window to simulate fights instead of using exact probability calculations"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=show_halos
    name= _ "Show haloing effects"
    description= _ "Show special unit graphical effects"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=show_deprecation
    name= _ "Show deprecation messages in-game"
    description= _ "Show warnings about deprecated API in the in-game chat area. These messages will still be shown in the log, even if this is disabled. In addition, the deprecation log-domain controls how many messages are printed."
    type=boolean
    default=no
[/advanced_preference]

[advanced_preference]
    field=use_prng
    name= _ "Use experimental PRNG combat"
    description= _ "Enables more determinstic chance-to-hit calculations. This is an experimental feature designed to bring the observed hit/miss rate more in line with the displayed percentages.

Note: this option only affects singleplayer, and the ‘Save random seed’ option must also be enabled when creating a game for this to work."
    type=boolean
    default=no
[/advanced_preference]

#ifdef __UNUSED__
[advanced_preference]
    field=joystick_support_enabled
    name= _ "Joystick support"
    type=boolean
    default=no
[/advanced_preference]

[advanced_preference]
    field=joystick_num_scroll_xaxis
    name= _ "Joystick: number of the scroll X-axis joystick"
    type=int
    default=0
    min=-1
    max=3
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_scroll_xaxis_num
    name= _ "Joystick: number of the scroll X-axis"
    type=int
    default=0
    min=0
    max=7
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_num_scroll_yaxis
    name= _ "Joystick: number of the scroll Y-axis joystick"
    type=int
    default=0
    min=-1
    max=3
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_scroll_yaxis_num
    name= _ "Joystick: number of the scroll Y-axis"
    type=int
    default=1
    min=0
    max=7
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_scroll_deadzone
    name= _ "Joystick: deadzone of the scrolling stick"
    type=int
    default=1500
    min=0
    max=16000
    step=500
[/advanced_preference]

[advanced_preference]
    field=joystick_num_cursor_xaxis
    name= _ "Joystick: number of the cursor X-axis joystick"
    type=int
    default=0
    min=-1
    max=3
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_cursor_xaxis_num
    name= _ "Joystick: number of the cursor X-axis"
    type=int
    default=3
    min=0
    max=7
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_num_cursor_yaxis
    name= _ "Joystick: number of the cursor Y-axis joystick"
    type=int
    default=0
    min=-1
    max=3
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_cursor_yaxis_num
    name= _ "Joystick: number of the cursor Y-axis"
    type=int
    default=4
    min=-1
    max=7
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_cursor_deadzone
    name= _ "Joystick: deadzone of the cursor stick"
    type=int
    default=1500
    min=0
    max=16000
    step=500
[/advanced_preference]

[advanced_preference]
    field=joystick_num_mouse_xaxis
    name= _ "Joystick: number of the mouse X-axis joystick"
    type=int
    default=-1
    min=-1
    max=3
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_mouse_xaxis_num
    name= _ "Joystick: number of the mouse X-axis"
    type=int
    default=0
    min=0
    max=7
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_num_mouse_yaxis
    name= _ "Joystick: number of the mouse Y-axis joystick"
    type=int
    default=-1
    min=-1
    max=3
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_mouse_yaxis_num
    name= _ "Joystick: number of the mouse Y-axis"
    type=int
    default=1
    min=0
    max=7
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_mouse_deadzone
    name= _ "Joystick: deadzone of the mouse stick"
    type=int
    default=1500
    min=0
    max=16000
    step=500
[/advanced_preference]

[advanced_preference]
    field=joystick_num_thrusta_axis
    name= _ "Joystick: number of the thrust axis joystick"
    type=int
    default=0
    min=-1
    max=3
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_thrusta_axis_num
    name= _ "Joystick: number of the thrust axis"
    type=int
    default=2
    min=0
    max=7
    step=1
[/advanced_preference]

[advanced_preference]
    field=joystick_thrusta_deadzone
    name= _ "Joystick: deadzone of the thruster"
    type=int
    default=1500
    min=0
    max=16000
    step=500
[/advanced_preference]
#endif
