Alexander van Gessel
ff3b3a3623
Correct description of TRANSFORM_UNIT macro.
2008-09-16 23:24:09 +01: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
Mark de Wever
d5303889e9
Fix a typo.
2008-08-21 10:45:44 +00:00
Eric S. Raymond
e86ea79456
Better name and definition of a no-recall-list nacro, suggested by Sapient.
2008-08-21 01:53:31 +00:00
Eric S. Raymond
4eae029023
Restore some filter elements restricting to units on map...
...
...that I removed in 2008-07-13T16:27:37Z!crazy-ivanovic@gmx.net and 2008-07-13T16:37:29Z!crazy-ivanovic@gmx.net,
mistakenly believing them to be no-ops.
2008-08-20 21:30:23 +00:00
Eric S. Raymond
bedada8475
Factor out magic constant 99 in WML movement costs, renaming it UNREACHABLE.
2008-08-20 17:38:42 +00:00
Eric S. Raymond
ff13231df4
Fix cosmetic glitches found by wmllint.
2008-08-19 04:34:35 +00:00
Patrick Parker
2de535a1d6
fix a little bug with the transform unit macro
2008-07-29 04:19:15 +00:00
Patrick Parker
022206e26e
added TRANSFORM_UNIT macro, patch #1085 by AI
2008-07-29 03:41:03 +00:00
Ignacio R. Morelle
017a9263f0
Apply patch #1063 from AI0867...
...
...(ADVANCE_UNIT macro for advancing arbitrary units to arbitrary types)
2008-07-19 01:23:51 +00:00
Ignacio R. Morelle
4b42a90f34
Revert patch #1063 from 2008-05-06T00:45:50Z!shadowm@wesnoth.org
2008-05-06 01:12:25 +00:00
Ignacio R. Morelle
0f659ab0f0
Apply patch #1063
2008-05-06 00:45:50 +00:00
Eric S. Raymond
39733d0ed1
wmllint had a bug. Fix it, and commit the resulting lifts.
2008-03-17 12:12:18 +00:00
Eric S. Raymond
b2b55e5996
description= -> name in [unit]
...
This will cause unit names to be displayed incorrectly from savefiles made
since 2008-03-14T01:38:17Z!esr@thyrsus.com. It was either that or break compatibility with 1.3/1.4
savefiles.
2008-03-15 20:30:45 +00:00
Eric S. Raymond
17c9e1e0ad
user_description= -> description=
...
Code for SUF and reading unit configs has been modified
so things should work backward-compatibly.
2008-03-14 01:38:17 +00:00
Eric S. Raymond
dff0a94c41
Teach wmllint to fix up macros containing description=...
...
...filters, and do that on mainline.
2008-03-13 09:32:07 +00:00
Eric S. Raymond
c66aa1eb74
Various cleanups related to description= -> id=, mostly comment fixes.
2008-03-13 09:14:15 +00:00
Eric S. Raymond
aae5a0cb7c
description= -> id= in Standard Unit Fliters and SingleUnitWML.
...
For backward compatibility, description= is still accepted,
but this will change when it is merged with unit_description.
2008-03-13 06:22:01 +00:00
Eric S. Raymond
364a4decbd
wmlindent strikes again.
2008-03-07 21:26:44 +00:00
Eric S. Raymond
1f46aed17c
UNDEAD_UNIT -> LOYAL_UNDEAD_UNIT. Because he old name was a bit misleading.
...
Also, change to the canonical order of arguments for unit generators.
2008-02-27 03:21:26 +00:00
Eric S. Raymond
5c42bd2fc7
Give LOYAL_UNIT the canonical order of arguments for unit-creation macros.
...
It was introduced recently and is not used by UMC, so this is a safe change.
2008-02-27 02:51:07 +00:00
Eric S. Raymond
2765baafba
Get rid of MP_GENERIC_UNIT.
2008-02-27 02:20:28 +00:00
Gunter Labes
1b08410547
change NOTRAIT_UNIT to actually have no traits...
...
...and get a random name and gender
2008-02-27 01:44:05 +00:00
Eric S. Raymond
53c0d4c3e7
Move some unit macros without dependencies,
...
...in order to reduce the tangle in utils.cfg
2008-02-26 23:58:43 +00:00