wesnoth/data/_main.cfg
gfgtdf c2e1d71fc2 less config reloads
This removes a config reload when opening multiplayer or singleplayer
campaign selection screen after playign a campaign.

To do this we must make sure the default era for sp and for mp have the
same id becasue otherwise we might get an id not found error.
2015-06-18 16:21:28 +02:00

112 lines
1.9 KiB
INI

#textdomain wesnoth
# title screen and no_gui mode do not need terrain_graphics
#ifdef TITLE_SCREEN
#define NO_TERRAIN_GFX
#enddef
#endif
#ifdef NO_GUI
#define NO_TERRAIN_GFX
#enddef
#endif
{english.cfg}
{themes/}
{core/}
[multiplayer_side]
id=Custom
name= _"Custom"
image="units/unknown-unit.png"
{MAGENTA_IS_THE_TEAM_COLOR}
[/multiplayer_side]
#ifdef MULTIPLAYER
{multiplayer/}
#ifdef MP_TEST
{test/multiplayer/}
#endif
#else
# using different default eras in sp and mp forcesus to a config reload which we dont want.
{multiplayer/eras.cfg}
#endif
{campaigns/}
[ais]
[default_config]
{ai/utils/default_config.cfg}
[/default_config]
{ai/ais/}
#ifdef DEBUG_MODE
{ai/dev/}
#endif
[/ais]
#ifdef EDITOR
[textdomain]
name="wesnoth-editor"
[/textdomain]
#endif
#ifdef TEST
{scenario-test.cfg}
{scenario-formula.cfg}
{scenario-formula-recruitment.cfg}
{scenario-poisoning.cfg}
{scenario-leaders.cfg}
{scenario-movethrough.cfg}
{ai/scenarios/scenario-AI_Arena_small.cfg}
{ai/scenarios/scenario-test_move_to_targets.cfg}
{ai/scenarios/scenario-lua-ai.cfg}
{ai/scenarios/scenario-no_engine.cfg}
{ai/micro_ais/scenarios/}
#define DONT_RELOAD_CORE
#enddef
{test/}
#endif
[textdomain]
name="wesnoth"
[/textdomain]
[textdomain]
name="wesnoth-help"
[/textdomain]
[textdomain]
name="wesnoth-ai"
[/textdomain]
[textdomain]
name="wesnoth-units"
[/textdomain]
[textdomain]
name="wesnoth-multiplayer"
[/textdomain]
# does not work when wired in only in the multiplayer file, do not ask me why...
[textdomain]
name="wesnoth-anl"
[/textdomain]
#ifndef NO_TERRAIN_GFX
# Include the terrain-graphics definitions after the campaigns so campaign specific
# terrains work properly.
{core/terrain-graphics.cfg}
#endif
[binary_path]
path=data/core
[/binary_path]
{advanced_preferences.cfg}
{game_config.cfg}
[textdomain]
name="wesnoth-lib"
[/textdomain]