Author: anonymissimus
Date: Fri Mar 25 02:08:37 2011
New Revision: 48997
URL: http://svn.gna.org/viewcvs/wesnoth?rev=48997&view=rev
Log:
New macros ERA_DEFAULT and ERA_HEROES to ease things for UMC era authors which
add to/modify the default eras.
Modified:
trunk/data/multiplayer/eras.cfg
Modified: trunk/data/multiplayer/eras.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/multiplayer/eras.cfg?rev=48997&r1=48996&r2=48997&view=diff
==============================================================================
--- trunk/data/multiplayer/eras.cfg (original)
+++ trunk/data/multiplayer/eras.cfg Fri Mar 25 02:08:37 2011
@@ -139,10 +139,9 @@
[/event]
#enddef
-[era]
- id=era_default
- name= _ "Default"
-
+# These macros make things easier for UMC eras which are additions to or
modifications of the default eras.
+# If anything gets changed or added to the default eras, please do it in the
code included in these macros.
+#define ERA_DEFAULT
{RANDOM_SIDE}
{multiplayer/factions/loyalists-default.cfg}
{multiplayer/factions/rebels-default.cfg}
@@ -153,12 +152,16 @@
{QUICK_4MP_LEADERS}
{TURNS_OVER_ADVANTAGE}
+#enddef
+
+[era]
+ id=era_default
+ name= _ "Default"
+
+ {ERA_DEFAULT}
[/era]
-[era]
- id=era_heroes
- name= _ "Age of Heroes"
-
+#define ERA_HEROES
{RANDOM_SIDE}
{multiplayer/factions/loyalists-aoh.cfg}
{multiplayer/factions/rebels-aoh.cfg}
@@ -169,4 +172,11 @@
{QUICK_4MP_LEADERS}
{TURNS_OVER_ADVANTAGE}
+#enddef
+
+[era]
+ id=era_heroes
+ name= _ "Age of Heroes"
+
+ {ERA_HEROES}
[/era]
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits