#textdomain wesnoth
{themes/}

{core/}

#The editor needs the multiplayer included since the random maps are defined there
{multiplayer/}
#ifdef EDITOR
[textdomain]
    name="wesnoth-editor"
[/textdomain]
#else
{campaigns/}
{scenario-test.cfg}
[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]
#endif

[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=animate_map
    name=_"Animate Map"
    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]
    [server]
        name=_"Official Wesnoth Server"
        address=server.wesnoth.org:15000
    [/server]
    [server]
        name=_"Alternate Wesnoth Server"
        address=games.tuxfamily.org:15000
    [/server]
    [server]
        name=_"Alternate Wesnoth Server"
        address=wesnoth.debian.net:15000
    [/server]

    base_income=2
    village_income=1
    poison_amount=8
    rest_heal_amount=2
    recall_cost=20
    kill_experience=8

    title="maps/mainmenu.png"
    logo="misc/logo.png"
    icon="wesnoth-icon.png"
    title_music="main_menu_new.ogg"
    lobby_music="silence.ogg"
    victory_music="victory.ogg"
    defeat_music="defeat.ogg"

#ifdef TINY
    buttons_x=760
    buttons_y=330
    buttons_padding=4
    logo_x=160
    logo_y=40
    tip_x=100
    tip_y=500
    tip_width=495
    tip_padding=4
#else
    #ifdef SMALL_GUI
        buttons_x=760
        buttons_y=210
        buttons_padding=20
        logo_x=85
        logo_y=20
        tip_x=30
        #does this option do anything at all?!?
        tip_y=500
        tip_width=620
        tip_padding=20
    #else
        buttons_x=760
        buttons_y=330
        buttons_padding=20
        logo_x=292
        logo_y=120
        tip_x=100
        tip_y=500
        tip_width=495
        tip_padding=20
    #endif
#endif

    lobby_refresh=2000

    map_image="maps/wesnoth.png"
    sidebar_image="misc/rightside.png"
    sidebar_image_bottom="misc/rightside-bottom.png"

#ifdef TINY
    energy_image="misc/bar-energy-tinygui.png"
#else
    energy_image="misc/bar-energy.png"
#endif

    moved_ball_image="misc/ball-moved.png"
    unmoved_ball_image="misc/ball-unmoved.png"
    partmoved_ball_image="misc/ball-partmoved.png"
    enemy_ball_image="misc/ball-enemy.png"
    ally_ball_image="misc/ball-ally.png"
    hp_bar_scaling=0.6
    xp_bar_scaling=0.5

    flag_image="flags/flag-1.png:150,flags/flag-2.png:150,flags/flag-3.png:150,flags/flag-4.png:150"
    flag_icon_image="flags/flag-icon.png"
    flag_rgb=flag_green
    defense_color_scale="ff0500,ff3700,ff6900,ff9b00,ffcd00,ffff00,cdff00,9bff00,69ff00,37ff00,05ff00"

    cross_image="misc/cross.png"
    dot_image="misc/dot.png"

    footprint_prefix="footsteps/foot-normal,footsteps/foot-medium,footsteps/foot-slow"
    footprint_teleport_enter="footsteps/teleport-in.png"
    footprint_teleport_exit="footsteps/teleport-out.png"

    missile_n_image=projectiles/missile-n.png
    missile_ne_image=projectiles/missile-ne.png

    terrain_mask_image="terrain/alphamask.png"
    grid_image="terrain/grid.png"
    unreachable_image="terrain/darken.png"
    void_image="terrain/void.png"
    fog_image="terrain/fog.png"

    observer_image="misc/eye.png"
    tod_bright_image="misc/tod-bright.png"
    download_campaign_image=""

    level_image="misc/icon-advance.png"

    ellipsis_image="misc/icon-ellipsis.png"

    {core/team-colors.cfg}
[/game_config]

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

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

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

{campaigns/tutorial/scenarios}
#endif
