93 Commits

Author SHA1 Message Date
Eric S. Raymond
e7d337a676 Reindent mainline. 2010-09-23 13:04:56 +00:00
Eric S. Raymond
28a730d1af More wmllint/wmlscope cleanup. 2010-09-12 21:38:15 +00:00
Fabian Müller
b3e5e95db3 Macro for doing conditional operations on variables. 2010-08-31 15:50:49 +00:00
Fabian Müller
95ecd0c701 LoW: Enabled the second and third chapter of the multiplayer campaign port. 2010-08-30 22:00:01 +00:00
Eric S. Raymond
9ec6db37dd Add a needed wmlsope directive. 2010-08-30 14:04:58 +00:00
Lari Nieminen
5eb9231fd7 Fixed a broken loop in the PUT_TO_RECALL_LIST macro. 2010-08-25 13:50:10 +00:00
Lari Nieminen
ccb35966ec Converted the MOVE_UNIT macro to use the new [move_unit] tag. 2010-08-23 07:44:42 +00:00
Lari Nieminen
5370f418b2 Removed the now unneeded NEUTRAL_SIDE macro. 2010-08-10 08:47:09 +00:00
Lari Nieminen
9a60f695e5 Renamed some variables used in macros...
...and made sure that some currently uncleared variables get cleared properly.
2010-08-10 08:43:33 +00:00
Steven Panek
41c78d8c16 Even more 'format' -> 'value' conversions;...
...this should hopefully take care of all of them.
2010-05-12 00:54:56 +00:00
Steven Panek
9ef27042d4 Removed an excessive newline between QUANTIFY and ON_DIFFICULTY 2010-03-27 18:33:04 +00:00
Steven Panek
f519e977ba New macro, ON_DIFFICULTY. 2010-03-27 18:30:53 +00:00
Eric S. Raymond
c4374f87e3 More macro argument type checking. No mismarches in mainline. 2010-02-15 21:46:31 +00:00
Eric S. Raymond
380c8e86e7 More macro argument type checking. No mismatches in mainline. 2010-02-15 14:32:20 +00:00
Eric S. Raymond
75f2727548 More nacro argument type checking. No mismatches in mainline. 2010-02-11 22:45:04 +00:00
Eric S. Raymond
d72fb9cca7 More impprovements in macro type checking. No conflicts in mainline. 2010-02-11 20:26:35 +00:00
Alexander van Gessel
cd60786ee9 Revert "Deprecate the NEUTRAL_SIDE macro",
...add a note about how the alternative for NEUTRAL_SIDE.

This reverts commit 2010-01-26T19:08:37Z!ai0867@gmail.com.
2010-01-27 01:28:29 +01:00
Alexander van Gessel
bd8bdca90e Deprecate the NEURTRAL_SIDE macro 2010-01-26 20:08:37 +01:00
Gunter Labes
ce72dc82db only use listings for actual code examples 2010-01-13 09:26:05 +00:00
Guillaume Melquiond
9f9146f180 Cleared missing variable. (Fix for bug #15004) 2009-12-28 08:03:39 +00:00
Eric S. Raymond
57dd65255d Reindent mainline. Most of these changes are tab expansions. 2009-12-21 20:23:34 +00:00
Alexander van Gessel
96da7ef3ab Simplify some WML 2009-12-07 00:57:56 +01:00
Fabian Müller
54a43a8145 Added a macro to core that moves all units by an offset.
Fixed bugs in LoW14.
2009-12-02 20:29:49 +00:00
Steven Panek
9d493e2691 Added LOOKUP_INDEX and LOOKUP_VALUE to core. 2009-10-27 22:09:00 +00:00
Ignacio R. Morelle
2f75a1794f Introduce the NO_INCOME macro to mainline. 2009-10-25 16:27:29 +00:00
Ignacio R. Morelle
234dd067cd SCATTER_IMAGE and SCATTER_UNITS should not use RANDOM...
...as the caller may be using $random already as a macro
parameter. This is a gratuitous fix to an issue that would be
correctly solved if mainline macros used a well defined variable
naming convention for the lack of the scope concept.
2009-09-27 19:11:47 +00:00
Alexander van Gessel
19aac9c54d Document REPEAT macro (bug #13231) 2009-03-21 17:33:13 +01:00
Eric S. Raymond
51c13fb819 Pre-1.6 reindent and whitespace cleanup. 2009-03-01 12:56:14 +00:00
Lari Nieminen
7490ce5a9c More fixing. 2009-01-31 21:56:28 +00:00
Lari Nieminen
6088ca7145 Fixed the FORCE_CHANCE_TO_HIT macro a bit. 2009-01-31 21:39:58 +00:00
Eric S. Raymond
718cbdfa78 thespaceinvader's big portrait rationalization. 2009-01-31 00:15:02 +00:00
Lari Nieminen
7a70d97a93 A new macro for invisibly forcing a specific CTH in combat. 2009-01-30 17:56:34 +00:00
Lari Nieminen
62057c7d51 Removed a macro which doesn't seem to work. 2008-12-11 21:44:04 +00:00
Eric S. Raymond
4861e50155 Reindent mainline in preparation for 1.6. 2008-12-08 17:45:47 +00:00
Lari Nieminen
2bd8986eea Fixed the NO_SCROLL_TO_AI_LEADER macro. 2008-12-07 19:08:12 +00:00
Fabian Müller
9c23db6184 moved all village ownership related macros from utils.cfg to side-utils.cfg 2008-12-02 17:52:24 +00:00
Eric S. Raymond
eaf04d8ef4 Refactor STARTING_VILLAGES and STARTING_VILLAGES_AREA...
...so the capture code is available outside prestart events, e.g. when
an allied side is subsumed and you want the player to get its villages
as well as its units.
2008-12-01 20:01:44 +00:00
Ignacio R. Morelle
5cf8c5dd2d Fixed some WML variable leaks
Removed an unneeded CLEAR_VARIABLE (unneded since the action is
bundled with a NEXT macro)
2008-11-12 09:48:55 +00:00
Lari Nieminen
daec179c59 Made SCATTER_UNITS handle running out of valid spots better. 2008-10-31 10:40:54 +00:00
Eric S. Raymond
dcbc274671 Remove uneeded VICTORY_AND_DEFEAT_MUSIC macro, and fix a whitespace glitch. 2008-10-30 20:16:07 +00:00
Lari Nieminen
1eecbeb8e9 Moved the SCATTER_UNITS macro to core. 2008-10-30 13:54:38 +00:00
Lari Nieminen
6f8d44cea9 Made SoF support both the old and new carryover systems...
...(choice given in the difficulty menu).
2008-09-26 21:01:37 +00:00
Lari Nieminen
f581e18f8b Added a macro that helps campaigns support both gold carryover systems...
...concurrently.
2008-09-26 17:46:25 +00:00
Eric S. Raymond
b31c324728 Fulfil the rest of bug #12180. Reindent appropriately. 2008-08-28 23:07:44 +00:00
Eric S. Raymond
08f09eda6f Give wmlindent a capability to declare indenters.
Pre-declare {FOREACH and {NEXT.

Write declarations in the one place they're presently needed, Sceptre of Fire.

Reindent the data tree accordingly.

This partly addresses the feature request in bug #12180.
2008-08-28 20:19:50 +00:00
Eric S. Raymond
318486ce4b Reindent most of the data tree in preparation for making wmlindent smarter. 2008-08-28 17:57:00 +00:00
Eric S. Raymond
ecb1b560aa Typo fix. 2008-08-20 21:15:46 +00:00
Patrick Parker
a11019838a add missing index for a real fix 2008-08-11 06:24:07 +00:00
Patrick Parker
138a235ff0 allow FULL_HEAL to work on more than one unit, as intended. 2008-08-11 06:22:33 +00:00
Ignacio R. Morelle
a7b3efcefc Fixed FULL_HEAL macro,
...which was not doing anything due to a missing [unstore_unit]
2008-08-10 20:57:21 +00:00