#textdomain wesnoth

{themes/}

{core/}

#ifdef MULTIPLAYER
{multiplayer/}
#endif

{campaigns/}

#ifdef EDITOR
[textdomain]
    name="wesnoth-editor"
[/textdomain]
#endif

#ifdef TEST
{scenario-test.cfg}
{scenario-formula.cfg}
{scenario-formula-recruitment.cfg}
#endif

[textdomain]
    name="wesnoth"
[/textdomain]
[textdomain]
    name="wesnoth-units"
[/textdomain]
[textdomain]
    name="wesnoth-multiplayer"
[/textdomain]
# required  to wire it in rather early, won't work in the ifdef for the tutorial
[textdomain]
    name="wesnoth-tutorial"
[/textdomain]
# does not work when wired in only in the multiplayer file, do not ask me why...
[textdomain]
    name="wesnoth-anl"
[/textdomain]

# Include the terrain-graphics definitions after the campaigns so campaign specific
# terrains work properly.
{core/terrain-graphics.cfg}

[binary_path]
    path=data/core
[/binary_path]

[advanced_preference]
    field=compress_saves
    name=_"Compressed 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=animate_map
    name=_"Animate Map"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=startup_effect
    name=_"Show Titlescreen Animation"
    type=boolean
    default=yes
[/advanced_preference]

[advanced_preference]
    field=unit_standing_animations
    name=_"Unit Standing Animations"
    type=boolean
    default=yes
[/advanced_preference]

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

# this can be uncommented once type=int or similar is supported
#[advanced_preference]
#    field=ping_timeout
#    name=_"Ping Timeout"
#    type=int
#    default=60
#[/advanced_preference]

{game_config.cfg}

[textdomain]
    name="wesnoth-lib"
[/textdomain]

#ifdef TUTORIAL
[binary_path]
    path=data/campaigns/tutorial
[/binary_path]

[+units]
    {campaigns/tutorial/units}
[/units]

{campaigns/tutorial/scenarios}
#endif
