Anonymissimus
0278e8b181
Fixed array index out-of-bounds problem and uncleared variables...
...
...in SCATTER_IMAGE and improved its code.
2011-02-11 18:26:10 +00:00
Eric S. Raymond
e8bb04ce29
wmlscope/wmllint cleanup. Mainline is clean.
2010-09-12 21:03:54 +00:00
Eric S. Raymond
02c1e610c4
Partial wmllint/wmlscope cleanup.
2010-09-12 11:11:05 +00:00
Guillaume Melquiond
9311e5d74d
Cleaned constant.
2010-09-10 21:29:40 +00:00
Lari Nieminen
70a58cdf9c
Added a new SCATTER_EMBELLISHMENTS...
...
...macro which can be used, unsurprisingly, to randomly scatter embellishments.
2010-09-09 19:07:11 +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
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
Eric S. Raymond
364a4decbd
wmlindent strikes again.
2008-03-07 21:26:44 +00:00
Mark de Wever
52824b354e
And another version of the same bug as my previous commit.
2008-02-16 07:37:29 +00:00
Eric S. Raymond
617894178e
More minor errors caughtb by wmlscope.
2008-02-15 23:27:05 +00:00
Eric S. Raymond
75f84a9e80
Implementing SCATTER_IMAGE turns out to be simpler than I thought;...
...
...MAP_DIMENSIONS is not needed.
2008-02-15 23:18:36 +00:00
Eric S. Raymond
d58b192981
The alpha hack I had in mind won't work, so remove a macro argument.
2008-02-15 22:46:01 +00:00
Eric S. Raymond
7ffdd45d16
Fix bug noted by zookeeper.
2008-02-15 17:36:33 +00:00
Eric S. Raymond
01a8954706
RANDOM_FEATURE_PLACEMENT_ON works,
...
...but my attempt to write RANDOM_FEATURE_PLACEMENT with the map
dimensions as implicit arguments completely failed. Maybe one of the
real WML wizards can do better.
2008-02-15 15:37:46 +00:00
Eric S. Raymond
7065e5a6a9
Corrected version of RANDOM_FEATURE_PLACEMENT_ON.
2008-02-15 07:38:08 +00:00
Eric S. Raymond
bc30893edd
Added RANDOM_FEATURE_PLACEMENT_ON.
2008-02-15 06:06:13 +00:00
Eric S. Raymond
0fd8975c94
More macro type checking. 94% of calls in mainline are now checked.
2008-02-13 02:04:50 +00:00
Eric S. Raymond
52001c6ca7
Introduce terrain= as a synonym for letter= in the [terrain] tag.
...
Change all instances in mainline. (We'll drop letter= in 1.5.)
2008-02-12 12:51:01 +00:00
Eric S. Raymond
4c6f5f1e3e
More macro typechecking. Clean up the terrain-types mess.
2008-02-12 11:55:52 +00:00
Lari Nieminen
47d650ff82
Updated the example WML for MODIFY_TERRAIN
...
(it was using old terrain letters). Also removed the example from
MODIFY_TERRAIN_MASK (feel free to restore it if you want to figure out
how to write the mask in terrain strings).
2007-09-01 16:31:56 +00:00
Nils Kneuper
c19e3c2311
added a default textdomain definition to all .cfg files
2007-07-06 09:00:49 +00:00
Eric S. Raymond
5f58e50664
Reindented all macros except utils.cfg,
...
that has unbalanced FOREACH/NEXT in it and will need to be
hand-checked.
2007-06-29 11:19:19 +00:00
Eric S. Raymond
21b24e2a9b
Move macros into a 'maxros' directory under core.
2007-05-16 01:04:29 +00:00