Author: esr
Date: Mon Apr 16 07:50:15 2007
New Revision: 16864

URL: http://svn.gna.org/viewcvs/wesnoth?rev=16864&view=rev
Log:
Add documentation for more macros.

Modified:
    trunk/data/abilities.cfg
    trunk/data/amla.cfg

Modified: trunk/data/abilities.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/abilities.cfg?rev=16864&r1=16863&r2=16864&view=diff
==============================================================================
--- trunk/data/abilities.cfg (original)
+++ trunk/data/abilities.cfg Mon Apr 16 07:50:15 2007
@@ -1,6 +1,7 @@
 #abilities
 
 #define ABILITY_HEALS
+# Canned definition of the heal+4 ability to be included in an [abilities] 
clause.
        [heals]
                value=4
                id=healing
@@ -20,6 +21,8 @@
 #enddef
 
 #define ABILITY_CURES
+# Canned definition of the cure ability (which entails heal+8) to be included 
+# in an [abilities] clause..
        [heals]
                value=8
                id=healing
@@ -51,6 +54,8 @@
 #enddef
 
 #define ABILITY_REGENERATES
+# Canned definition of the Regenerate ability to be included in an [abilities]
+# clause.
        [regenerate]
                value=8
                id=regenerates
@@ -63,6 +68,8 @@
 #enddef
 
 #define ABILITY_STEADFAST
+# Canned definition of the Steadfast ability to be included in an [abilities]
+# clause.
        [resistance]
                id=steadfast
                multiply=2
@@ -80,6 +87,8 @@
 #enddef
 
 #define ABILITY_LEADERSHIP_LEVEL_1
+# Canned definition of the Leadership (level 1) ability to be included in an 
+# [abilities] clause.
        [leadership]
                id=leadership
                value=25
@@ -100,6 +109,8 @@
 #enddef
 
 #define ABILITY_LEADERSHIP_LEVEL_2
+# Canned definition of the Leadership (level 2) ability to be included in an 
+# [abilities] clause.
        [leadership]
                id=leadership
                value=50
@@ -132,6 +143,8 @@
 #enddef
 
 #define ABILITY_LEADERSHIP_LEVEL_3
+# Canned definition of the Leadership (level 3) ability to be included in an 
+# [abilities] clause.
        [leadership]
                id=leadership
                value=75
@@ -176,6 +189,8 @@
 #enddef
 
 #define ABILITY_LEADERSHIP_LEVEL_4
+# Canned definition of the Leadership (level 4) ability to be included in an 
+# [abilities] clause.
        [leadership]
                id=leadership
                value=100
@@ -232,6 +247,8 @@
 #enddef
 
 #define ABILITY_LEADERSHIP_LEVEL_5
+# Canned definition of the Leadership (level 5) ability to be included in an 
+# [abilities] clause.
        [leadership]
                id=leadership
                value=125
@@ -300,6 +317,8 @@
 #enddef
 
 #define ABILITY_SKIRMISHER
+# Canned definition of the Skirmisher ability to be included in an [abilities]
+# clause.
        [skirmisher]
                id=skirmisher
                name= _ "skirmisher"
@@ -310,6 +329,8 @@
 #enddef
 
 #define ABILITY_ILLUMINATES
+# Canned definition of the Illuminates ability to be included in an 
+# [abilities] clause.
        [illuminates]
                id=illumination
                value=25
@@ -325,6 +346,8 @@
 #enddef
 
 #define ABILITY_TELEPORT
+# Canned definition of the TELEPORT ability to be included in an 
+# [abilities] clause.
        [teleport]
                id=teleport
                name= _ "teleport"
@@ -334,6 +357,8 @@
 #enddef
 
 #define ABILITY_AMBUSH
+# Canned definition of the Ambush ability to be included in an 
+# [abilities] clause.
        [hides]
                id=ambush
                name= _ "ambush"
@@ -357,6 +382,8 @@
 #enddef
 
 #define ABILITY_NIGHTSTALK
+# Canned definition of the Nightstalk ability to be included in an 
+# [abilities] clause.
        [hides]
                id=nightstalk
                name= _ "nightstalk"
@@ -379,6 +406,8 @@
 #enddef
 
 #define ABILITY_SUBMERGE
+# Canned definition of the Submerge ability to be included in an 
+# [abilities] clause.
        [hides]
                id=submerge
                name= _ "submerge"
@@ -407,6 +436,8 @@
 #weapons specials
 
 #define WEAPON_SPECIAL_BERSERK
+# Canned definition of the Submerge ability to be included in an 
+# [specials] clause.
                [berserk]
                        id=berserk
                        name= _ "berserk"
@@ -417,6 +448,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_BACKSTAB
+# Canned definition of the Backstab ability to be included in an 
+# [specials] clause.
                [damage]
                        id=backstab
                        name= _ "backstab"
@@ -429,6 +462,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_PLAGUE_TYPE TYPE
+# Canned definition of the Plague ability to be included in an 
+# [specials] clause (with type specifier).
                [plague]
                        id=plague({TYPE})
                        name= _ "plague"
@@ -437,7 +472,10 @@
                        type={TYPE}
                [/plague]
 #enddef
+
 #define WEAPON_SPECIAL_PLAGUE
+# Canned definition of the Submerge ability to be included in an 
+# [specials] clause (without type specifier).
                [plague]
                        id=plague
                        name= _ "plague"
@@ -447,6 +485,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_SLOW
+# Canned definition of the Slow ability to be included in an 
+# [specials] clause.
                [slow]
                        id=slow
                        name= _ "slows"
@@ -456,6 +496,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_STONE
+# Canned definition of the Stone ability to be included in an 
+# [specials] clause.
                [stones]
                        id=stones
                        name= _ "stones"
@@ -465,6 +507,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_MARKSMAN
+# Canned definition of the Marksman ability to be included in an 
+# [specials] clause.
                [chance_to_hit]
                        id=marksman
                        name= _ "marksman"
@@ -477,6 +521,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_MAGICAL
+# Canned definition of the Magical (targeting) ability to be included in an 
+# [specials] clause.
                [chance_to_hit]
                        id=magical
                        name= _ "magical"
@@ -488,6 +534,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_SWARM
+# Canned definition of the Swarm ability to be included in an 
+# [specials] clause.
                [attacks]
                        id=swarm
                        name= _ "swarm"
@@ -497,6 +545,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_CHARGE
+# Canned definition of the Charge ability to be included in an 
+# [specials] clause.
                [damage]
                        id=charge
                        name= _ "charge"
@@ -509,6 +559,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_DRAIN
+# Canned definition of the Drain ability to be included in an 
+# [specials] clause.
                [drains]
                        id=drains
                        name= _ "drains"
@@ -518,6 +570,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_FIRSTSTRIKE
+# Canned definition of the First-strike ability to be included in an 
+# [specials] clause.
                [firststrike]
                        id=firststrike
                        name= _ "firststrike"
@@ -527,6 +581,8 @@
 #enddef
 
 #define WEAPON_SPECIAL_POISON
+# Canned definition of the Poison ability to be included in an 
+# [specials] clause.
                [poison]
                        id=poison
                        name= _ "poison"

Modified: trunk/data/amla.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/amla.cfg?rev=16864&r1=16863&r2=16864&view=diff
==============================================================================
--- trunk/data/amla.cfg (original)
+++ trunk/data/amla.cfg Mon Apr 16 07:50:15 2007
@@ -1,7 +1,7 @@
 #this file contains macros for After Max Level Advancement (AMLA)
 
-#macro to define AMLA adding HP
 #define AMLA_TOUGH HP_ADVANCE
+# Canned definition of an AMLA adding HP.
 [advancement]
 strict_amla=yes
 max_times=100
@@ -21,8 +21,8 @@
 [/advancement]
 #enddef
 
-#macro to define AMLA full healing
 #define AMLA_NECROHEAL
+# Canned definition of an AMLA that does full healing.
 [advancement]
 strict_amla=yes
 max_times=100


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to