Benoît Timbert
36e0ee2823
Fix a few SVN properties
2008-04-03 22:43:34 +00:00
Eric S. Raymond
659f5d1894
More suppression of spurious wmllint warnings.
2008-04-03 19:13:14 +00:00
Eric S. Raymond
6d98b75bdb
Fix various broken things in ANL picked up by wmllint and wmlscope.
2008-04-03 13:23:25 +00:00
Lari Nieminen
219ab02d6a
Optimized the way the movement restrictions on guardians and enemy leaders...
...
...are set.
2008-04-03 11:03:38 +00:00
Lari Nieminen
7aa9360b0b
Changed the player[<side>] array to individual player_<side> blocks...
...
...and cleaned up their initialization to use [set_variables].
2008-04-03 10:24:52 +00:00
Eric S. Raymond
8eb591aade
Fix an inadvertent commit.
2008-04-01 13:21:09 +00:00
Piotr Cychowski
68a6322525
Add ANL textdomain
2008-03-31 19:08:00 +00:00
Piotr Cychowski
50d48d6747
Merge ANL as per patch #936 + Some auto fixes by wmllint
2008-03-31 19:04:13 +00:00
Lari Nieminen
b5cea4b58a
Made the MP random map generator be included explicitly for the editor...
...
...so that the editor doesn't need to set the MULTIPLAYER symbol. Also
made the editor include the UMC campaigns dir, so that UMC can make
their custom terrains available to the editor.
2008-03-29 13:15:26 +00:00
Eric S. Raymond
83ae0b3bc8
Apply wmlindent.
2008-03-26 14:04:37 +00:00
Eric S. Raymond
e5e500ca60
[unit_type] unit_description -> description
2008-03-21 03:26:09 +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
4ec05d32b7
Fix up WML variable references...
...
...to track the SingleUnitWML attribute name changes. These cannot be
lifted mechanically, but wmllint warns about possible problems.
2008-03-15 21:55:05 +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
9d430b0ed9
Enable wmllint to detect places where interpreting description= as...
...
...user_description= is interpreted now would cause SUFs to break.
Fix two wacky macros that caused false positives on this test
in mainline.
2008-03-13 21:30:54 +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
5b8286d4d9
description= was being used incorrectly, and isn't needed.
2008-03-13 08:33:24 +00:00
Eric S. Raymond
36e4066648
Fix some slightly munged maps. I think this indicates a wmllint bug.
2008-03-13 08:21:22 +00:00
Eric S. Raymond
5d11edbd83
description= -> id= in SideWML.
...
description= is still accepted for backward compatibility.
2008-03-13 07:44:33 +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
15187c0e65
Enabke wmllint to check for newlines in message strings,
...
...and implement a new kind of magic comment to suppress the warning.
2008-03-10 02:42:35 +00:00
Eric S. Raymond
364a4decbd
wmlindent strikes again.
2008-03-07 21:26:44 +00:00
Benoît Timbert
7fa20f7c84
Terrain type revamp step #1 :
...
Use some proper terrain type names:
- "grassland" becomes "flat"
- "tundra" (which was displayed as "snow") becomes "frozen" (not sure
it's the optimal name here - can be changed if we find a bettter
name)
- "canyon" (which was displayed as "chasm") becomes "unwalkable"
- "cavewall" becomes "impassable"
- The renamings of the wml key used in the stats will probably stay.
- The 4 added "virtual" terrains will be axed by the next step, once
we get proper terrain type support.
- The labels might be changed (Noy had some ideas about it, it will be
easier when we have terrain types)
2008-03-07 20:50:06 +00:00
Benoît Timbert
2e623c0eb7
Revert the road hack.
...
A more complete, less instrusive fix for the bug it address is going
to follow
2008-03-07 19:31:28 +00:00
Ignacio R. Morelle
6c97aafa2e
Destroy teh Wesbowl
2008-03-07 17:41:14 +00:00
Eric S. Raymond
149d6fb932
Separate 'Road' so it's no longer an alias of Grassland;...
...
...it now has its own attribute in all movetypes in mainline,
currently with stats identical to grassland. This fixes the "Road
(Grassland)" problem in the game and editor status bars.
2008-03-04 08:54:37 +00:00
Nils Kneuper
048b9171d3
tiny fix for a unit standing in the wall,
...
...does the Wesbench_AI scenario work as intended at all?
2008-03-02 12:58:12 +00:00
Eric S. Raymond
7495ca861b
Fix some arambled map headers.
2008-03-01 23:36:41 +00:00
Eric S. Raymond
1206de9ddf
Clean up some canrecruit macros.
2008-03-01 10:40:21 +00:00
Eric S. Raymond
303a039679
Use cancrecruit={yes,no} rather than canrecruit={1,0} everywhere,
...
...because it's a good example mainline should set for UMC.
This change was done mechanically with a wmllint enhancement.
2008-03-01 08:42:40 +00:00
Gunter Labes
8b13fc93f3
revised map: Cynsaun Battlefield
2008-02-28 23:11:33 +00:00
Eric S. Raymond
92fe16e9ec
Add export-property comments to _main.cfgs.
...
These will control whether or not wmlscope expects each namespace to
export names. Presently, core exports but campaigns do not.
2008-02-27 11:11:54 +00:00
Eric S. Raymond
2765baafba
Get rid of MP_GENERIC_UNIT.
2008-02-27 02:20:28 +00:00
Eric S. Raymond
7c3d5ecc67
Don't wantthis to show up in the main reference.
2008-02-26 10:38:52 +00:00
Benoît Timbert
8d67976100
Since the old random-enemy.png was used in some places...
...
...where a dice doesn't fit and we're in RC so it's too late to break
stuff, restore the old one image and wire everywhere the new one as a
new image.
2008-02-25 17:29:06 +00:00
Gunter Labes
0d1eeb1952
* revised maps: Caves of the Basilisk, Sablestone Delta, Silverhead Crossing
2008-02-17 01:07:05 +00:00
Dimitar Ilccov
402a92211f
Added a proper usage of football-shadow.png...
...
...in Wesnoth Trunk/data/multiplayer/scenarios/2p_Wesbowl.cfg
2008-02-16 05:24:20 +00:00
Eric S. Raymond
22e1059892
Add a placeholder for the shadowed-football image.
2008-02-16 04:59:09 +00:00
Eric S. Raymond
a6a2660d36
Give the football image a more specific name.
2008-02-16 00:03:43 +00:00
Eric S. Raymond
bd5fc78ebd
Remove a now-unnecessary #undef.
2008-02-15 15:35:19 +00:00
Eric S. Raymond
9028935e3b
Move more unused stuff to attic, and another scenery tweak.
2008-02-15 02:56:20 +00:00
Eric S. Raymond
4c4f802989
More macro type checking.
...
Replace a South Guard macro that duplicates one in the core library.
2008-02-13 01:11:52 +00:00
Eric S. Raymond
4c6f5f1e3e
More macro typechecking. Clean up the terrain-types mess.
2008-02-12 11:55:52 +00:00
Eric S. Raymond
1e90674462
Extend type-checking to more macros.
2008-02-12 05:11:18 +00:00
Eric S. Raymond
0ee463c8cf
Enrich macro type checking some more and simplify the type inference rules.
...
Also head off a potential bug noted by Mordante with WML that
looks like {X_SPAN},{Y_SPAN}.
2008-02-10 09:38:07 +00:00
Eric S. Raymond
28bee542c6
More formal-argument fixups and macro type checking.
2008-02-10 08:05:32 +00:00
Eric S. Raymond
fc045b288e
Impprove reporting of type mismatches. Fix a few more formal args.
2008-02-10 05:18:39 +00:00
Eric S. Raymond
a600ade30e
Regularize use of macro formal arguments so we can do better typechecking.
2008-02-10 04:30:18 +00:00
Eric S. Raymond
ca4c995e6c
Expect integer literals from formals X and Y.
...
New magic formals XSPAN and YSPAN accept ranges. (This will enable
tighter type-ccking on macros like PLACE_IMAGE).
2008-02-10 01:58:57 +00:00