mail[Wesnoth-commits] r33975 - /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 AI0867 on March 21, 2009 - 17:33:
Author: ai0867
Date: Sat Mar 21 17:33:13 2009
New Revision: 33975

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33975&view=rev
Log:
Document REPEAT macro (bug #13231)

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=33975&r1=33974&r2=33975&view=diff
==============================================================================
--- trunk/data/core/macros/utils.cfg (original)
+++ trunk/data/core/macros/utils.cfg Sat Mar 21 17:33:13 2009
@@ -106,6 +106,12 @@
 # wmlindent: closer "{NEXT "
 
 #define REPEAT NUMBER BODY_WML
+    # Macro to execute some WML a defined number of times.
+    #
+    # Example that causes screen to quake 5 times:
+    #! {REPEAT 5 (
+    #!     {QUAKE "rumble.ogg"}
+    #! )}
     {VARIABLE REPEAT_i 0}
 
     [while]




Related Messages


Powered by MHonArc, Updated Sat Mar 21 18:20:34 2009