UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2) IP: 64.81.113.168 URI: http://wesnoth.slack.it/?UsefulWMLFragments - - - - - Index: UsefulWMLFragments =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/UsefulWMLFragments,v retrieving revision 1.19 diff -u -r1.19 UsefulWMLFragments --- UsefulWMLFragments 6 May 2005 12:10:37 -0000 1.19 +++ UsefulWMLFragments 29 Jun 2005 21:44:20 -0000 @@ -1,9 +1,16 @@ ||Useful WML Fragments|| -Currently, these are all macros that may be copied into a scenario file or another file included first by the campaign, -and then used in the scenario (or multiplayer map). Remember that a macro cannot be used at a point before it is defined. +WmlTemplates: Campaign, scenario and unit templates, for the lazy ;) -ProgrammingMacros: Definitions for some low-level macros to make it easier to write WML. +Currently, these are all macros (see PreprocessorRef) +that may be copied into a scenario file or another file included first by the campaign, +and then used in the scenario (or multiplayer map). +Remember that a macro cannot be used at a point before it is defined. + + +ProgrammingMacros: Definitions for some low-level macros to make it easier to write program-like WML. + +WmlMacros: Simple functions such as store/unstore, item triggers DroppableItem: A macro to create items that units can carry, that are left on the ground when those units die. @@ -13,12 +20,6 @@ MoveExistingUnit: A general way to move a unit from one place to another, displaying its movement. -ProbabilityBasedBranching: Do one thing with a specified percentage chance, otherwise do something else (or nothing). - -CaseBasedReasoningA: Compressed forms for deeply nested else-ifs when you want to match a specific value. - -CaseBasedReasoningB: Compressed forms for deeply nested else-ifs when you want to match an integer to one of several ranges. - BranchOnVillageType: Crude hack for branching on village type. ||See Also||
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
