Create a blank era for sp

Also, moved the "Custom" mp side to be loaded outside of the MULTIPLAYER define.
This commit is contained in:
Nathan Walker 2014-07-08 13:58:18 -05:00
parent 5a9da1aeaf
commit 0b3499cc66
3 changed files with 14 additions and 8 deletions

View file

@ -17,10 +17,17 @@
{core/}
{multiplayer/eras.cfg}
[multiplayer_side]
id=Custom
name= _"Custom"
image="units/unknown-unit.png"
{MAGENTA_IS_THE_TEAM_COLOR}
[/multiplayer_side]
#ifdef MULTIPLAYER
{multiplayer/}
#else
{era_blank.cfg}
#endif
{campaigns/}

6
data/era_blank.cfg Normal file
View file

@ -0,0 +1,6 @@
#textdomain wesnoth
[era]
id=era_blank
name= _ "No era"
description=_ "An empty era to be used for single player campaigns."
[/era]

View file

@ -1,12 +1,5 @@
#textdomain wesnoth-multiplayer
[multiplayer_side]
id=Custom
name= _"Custom"
image="units/unknown-unit.png"
{MAGENTA_IS_THE_TEAM_COLOR}
[/multiplayer_side]
#define RANDOM_SIDE
[multiplayer_side]
id=Random