mail[Wesnoth-commits] r20588 - /trunk/data/core/macros/utils.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Soliton on September 19, 2007 - 02:28:
Author: soliton
Date: Wed Sep 19 02:28:07 2007
New Revision: 20588

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20588&view=rev
Log:
remove the CREATE_UNIT macro now that it's nowhere used anymore

Modified:
    trunk/data/core/macros/utils.cfg

Modified: trunk/data/core/macros/utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/utils.cfg?rev=20588&r1=20587&r2=20588&view=diff
==============================================================================
--- trunk/data/core/macros/utils.cfg (original)
+++ trunk/data/core/macros/utils.cfg Wed Sep 19 02:28:07 2007
@@ -190,33 +190,6 @@
         generate_description=yes
         random_traits=no
         upkeep=full
-    [/unit]
-#enddef
-
-#define CREATE_UNIT SIDE TYPE X Y UNIT_ID OTHER
-    # Creates a unit of TYPE belonging to SIDE at X,Y. UNIT_ID can be used
-    # when filtering on it.  For example, let's create a wose for player 1
-    # at 4,7
-    #
-    #! {CREATE_UNIT 1 "Wose" 4 7 () ()}
-    #
-    # As a second example, let's make it a female wose which can recruit and
-    # is name "Woselina":
-    #
-    #! {CREATE_UNIT 1 "Wose" 4 7 "Woselina" (
-    #  canrecruit=1
-    # )}
-    [unit]
-        side={SIDE}
-        type={TYPE}
-        x={X}
-        y={Y}
-        description={UNIT_ID}
-        user_description=" "
-
-        upkeep=full
-        animate=yes
-        {OTHER}
     [/unit]
 #enddef
 




Related Messages


Powered by MHonArc, Updated Wed Sep 19 02:40:35 2007