UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050610 Firefox/1.0.4 (Debian package 1.0.4-3) IP: 64.81.113.168 URI: http://wesnoth.slack.it/?WmlMacros - - - - - Index: WmlMacros =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/WmlMacros,v retrieving revision 1.3 diff -u -r1.3 WmlMacros --- WmlMacros 1 Jul 2005 19:42:17 -0000 1.3 +++ WmlMacros 9 Jul 2005 15:08:27 -0000 @@ -24,6 +24,16 @@ [/unstore_unit] {CLEAR_VARIABLE {NAME}_store} #enddef + #define UNSTORE_ARRAY ARRAY + {FOREACH {ARRAY} i} + [unstore_unit] + variable={ARRAY}[$i] + [/unstore_unit] + [clear_variable] + variable={ARRAY}[$i] + [/clear_variable] + {NEXT i} + #enddef #define CHANGE_KEEP_TYPE SIDE LETTER [event] name=prestart
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
