52 Commits

Author SHA1 Message Date
Steven Panek
180a84327a Deprecated FLOATING_TEXT. 2010-11-24 07:07:49 +00:00
Anonymissimus
0d0d036ea0 3 more [wml_message] macros, overlooked to move... 2010-10-21 18:13:18 +00:00
Anonymissimus
537e899cd4 Moved the {DEBUG...} macro from interface-utils.cfg to debug-utils.cfg. 2010-10-21 16:09:20 +00:00
Steven Panek
3a6eb75ee8 Renamed [removeitem] to [remove_item]; deprecated [removeitem]. 2010-10-01 23:42:21 +00:00
Steven Panek
2edd28418a Deprecated SET_LABEL_PERSISTENT and SET_IMAGE_AND_LABEL_PERSISTENT. 2010-09-21 22:07:41 +00:00
Lari Nieminen
724e666ed6 Greatly simplify the CLEAR_FOG and UNCLEAR_FOG macros...
...now that [hide_unit] accepts a SUF.
2010-08-06 14:08:27 +00:00
Guillaume Melquiond
a1b37948b7 Fixed broken fog when multiple clearers are used.
Bug introduced by 2010-03-05T00:06:52Z!Majora700@gmail.com. (Patch #1796 by Anonymissimus.)
2010-08-02 05:39:25 +00:00
Eric S. Raymond
0ffe997718 [colour_adjust] -> [color_adjust]
colour= -> color
2010-06-19 06:50:26 +00:00
Steven Panek
e63a3cc167 Moved the [clear_variable] codeblocks in UNCLEAR_FOG to CLEAR_FOG. 2010-03-05 00:06:52 +00:00
Steven Panek
e751f11209 Made it so that UNCLEAR_FOG smites new_fog_clearer. 2010-03-04 23:52:42 +00:00
Eric S. Raymond
557370e9ae Comment trips up wmllint in a way that demonstrates its not needed. 2010-03-03 15:21:34 +00:00
Eric S. Raymond
07ba362908 Address bug #15524: spelling error: persistant -> persistent. 2010-03-03 14:16:15 +00:00
Eric S. Raymond
c62c55e1a2 More macro argument typechecking. No mismatches in mainline. 2010-02-12 00:25: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
0aa99781cf Reindent mainline. 2009-11-23 14:39:03 +00:00
Ignacio R. Morelle
d9c29930c6 Revert ([part] caption= in storyscreens)...
...and replace with the mainline CAPTION macro. Converted existing
mainline WML.

Reverts 2009-08-14T08:44:26Z!guillaume.melquiond@gmail.com, 2009-08-14T08:44:41Z!guillaume.melquiond@gmail.com, 2009-08-16T13:24:39Z!guillaume.melquiond@gmail.com

Also, replaced the former color (*green*!?) with the usual color used in
character messages.
2009-08-17 12:15:49 +00:00
Eric S. Raymond
770b17e98d Encapsulate some Pango markup in WHISPER and ASIDE macros...
...so these conventions can be tweaked without changing translatable
strings.
2009-03-29 22:11:52 +00:00
Eric S. Raymond
1248d14605 Address bug #13007.
Ordinarily I'd be worried about the risk of UMC breakage from renaming
macros, but one of these was broken for a long time until recently so
we're probably not increasing any lossage here.
2009-02-21 12:47:05 +00:00
Eric S. Raymond
a039554559 Address bug #13006. 2009-02-16 18:12:51 +00:00
Ignacio R. Morelle
8ff15e743c It may be better to mention that messages are output to the in-game chat...
...too (INFO, WARNING, ERROR and DEBUG documentation).
2009-01-12 18:36:10 +00:00
Ignacio R. Morelle
dd5263ee23 Mention usage of :log in the DEBUG, LOG and WARNING macros'
documentation, and remove useless indications in ERROR's documentation
(the 'error' log level cannot be cancelled).
2009-01-12 18:35:25 +00:00
Ignacio R. Morelle
7ebc1d69bd Add the DEBUG macro to accompany LOG, ERROR and WARNING. 2009-01-12 18:32:35 +00:00
Ignacio R. Morelle
db120a6d4e Updated the LOG, WARNING and ERROR macros' documentation...
...since the 'notifs' logdomain has been replaced with 'wml'.
2009-01-12 18:21:55 +00:00
Ignacio R. Morelle
171b224422 Upgraded WML after deprecation of [debug_message]. 2009-01-12 18:10:02 +00:00
Lari Nieminen
6acba79288 Removed the hideously bloaty HIGHLIGHT_UNIT macro.
Might be added back in later if implemented in a more sane manner.
2009-01-11 15:03:42 +00:00
Steven Panek
8cd8bef5a0 Added macro REDRAW.
It is obviously used to replace [redraw] codeblocks. Yay for laziness.
2008-12-06 19:53:58 +00:00
Eric S. Raymond
011576c478 Use the new cave-in.ogg where appropriate.
Now that we have both rumble.ogg and cave-in.ogg as sound effects,
deprecate TREMOR and instead use a new QUAKE macro that is explicit
about the sound effect requested.
2008-11-30 13:41:29 +00:00
Ignacio R. Morelle
bfd012c729 Moved FAKE_UNIT_MOVE macro from scenario-utils.cfg to interface-utils.cfg
Removed excessive verbosity (and wiki non-awareness) from comments.

Renamed a few parameters
2008-11-12 09:50:42 +00:00
Eric S. Raymond
76abc35ca6 wmllint now does translation-mark and doublespace checks outside scenrio tags.
This diff fixes some glitches found that way and tells wmllint to ignore
various edge cases.  A few cannot_use_message=NONE instances are removed,
as this simplifies the check and zookeeper says it's safe.
2008-10-09 17:46:10 +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
Ignacio R. Morelle
3a9c227a6f Added LOG, ERROR and WARNING, [debug_message]-based macros 2008-08-10 20:58:08 +00:00
Lari Nieminen
836ad7d695 Cleaned up a few macro references. 2008-05-17 10:32:23 +00:00
Eric S. Raymond
f62d7491e0 Deprecate SET_IMAGE, move PLACE_IMAGE. 2008-03-16 19:11:26 +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
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
Eric S. Raymond
50b729ce29 DiD: Use the FADE macros just moved into core,
...rather than hand-rolled equivalents.
2008-02-26 22:35:17 +00:00
Eric S. Raymond
504d14f4c1 Incorporate fade macros from WML Dialog Tools. 2008-02-26 15:47:36 +00:00
Eric S. Raymond
34d528064a Macro and documentation-comment cleanup; remove some unused cruft. 2008-02-14 13:21:03 +00:00
Eric S. Raymond
608ded4239 More macro typechecking improvements. 2008-02-14 04:56:52 +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
a600ade30e Regularize use of macro formal arguments so we can do better typechecking. 2008-02-10 04:30:18 +00:00
Eric S. Raymond
b1b2435d40 Reindent the mainline content to uniiform whitespace. 2008-01-24 00:16:42 +00:00
Lari Nieminen
4929525216 Remove a bunch of unused macros. 2007-11-27 10:59:39 +00:00
Eric S. Raymond
85c578ddb4 Fix the documentastion comment in SCROLL and add SCROLL_TO for contrast.
Suggestion by Shadow_Master.
2007-10-03 19:47:57 +00:00
Lari Nieminen
b3707841bb Add a CLEAR_FOG macro...
...for temporarily (for the duration of an event) clearing fog from
specific locations. Requires a helper unit, so also added a separate
dir for these kind of fake units in the units directory.
2007-09-17 17:00:56 +00:00
Lari Nieminen
b3606b9ab6 Added a HIGHLIGHT_UNIT macro for flashing units
...in the same way HIGHLIGHT_IMAGE does. Not to generally be used in mainline.
2007-09-17 15:27:59 +00:00
Lari Nieminen
ca7fd818be Made HIGHLIGHT_ITEM one blink longer...
...and use halo= instead of image= for the blinking (so that the
blinking gets drawn on top of units and fog).
2007-09-13 08:03:51 +00:00
Lari Nieminen
3274583c15 Added a HIGHLIGHT_IMAGE macro...
...as a generic way of highlighting a moveto target or other important
location with a fancy blinking effect.
2007-09-09 17:34:36 +00:00
Nils Kneuper
c19e3c2311 added a default textdomain definition to all .cfg files 2007-07-06 09:00:49 +00:00