425 Commits

Author SHA1 Message Date
Lari Nieminen
3a3db9ee96 Ensure that the ai controller variables don't get carried over...
...to the next scenario.
2009-01-25 18:23:30 +00:00
Eric S. Raymond
db9b3aba17 wmllint pacification. 2009-01-18 04:00: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
d47ee300a5 Fixed the controller not getting fired for the right side...
...after selecting a location to protect.
2009-01-12 13:50:45 +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
Lari Nieminen
e6a7bc5600 New simple macro for giving drakes a different standing frame on water,
...chasm etc., wired into the glider.
2009-01-02 13:04:58 +00:00
Lari Nieminen
e4ca33de68 Fixed some bad ordering of stuff. 2009-01-01 19:36:53 +00:00
Eric S. Raymond
9500eb1d54 Clean up macro argument type mismatches. 2009-01-01 17:52:38 +00:00
Eric S. Raymond
d4d762fd3e Add AFFIX type to the macro type checker (name may change to VAR_AFFIX later). 2009-01-01 17:01:05 +00:00
Fabian Müller
423f342994 Adds a stub macro AI_LOCATION to the ai_controller.
This is called in LoW::7 and will be implemented later.
2008-12-31 20:57:50 +00:00
Eric S. Raymond
69d295eb38 Fix glitches detected by wmllint. 2008-12-31 20:24:14 +00:00
Eric S. Raymond
e973c0a5ad Remove old deprecated macros. 2008-12-31 15:55:37 +00:00
Ignacio R. Morelle
e3892370e7 Add Ryan Reilly's (Rain) music piece...
...from http://www.wesnoth.org/forum/viewtopic.php?p=327901#p327901

I named it Suspense since nobody replied to my request for a better name.

Wire it into /data/core/macros/sound-utils.cfg for the default playlist.
2008-12-30 16:38:58 +00:00
Alexander van Gessel
f368eff99c Add newline at end of file. (pacify wmllint) 2008-12-30 14:49:54 +01:00
Eric S. Raymond
2eced3b63d Address bug #12794. 2008-12-29 10:44:00 +00:00
Lari Nieminen
23d8eae674 Added a defend location order (disabled by default since it crashes a lot). 2008-12-26 17:10:11 +00:00
Lari Nieminen
7e57b8dec1 Made LIMIT_CONTEMPORANEOUS_RECRUITS able to handle...
...a comma-separated list of sides.
2008-12-26 10:14:41 +00:00
Lari Nieminen
ceee1ffb46 Removed a silly forgotten piece of debug code...
...and prevented some unfortunate line-wrapping in menu option text.
2008-12-25 20:53:17 +00:00
Lari Nieminen
dff3eefc0f Various tweaks and fixes. 2008-12-25 14:26:53 +00:00
Lari Nieminen
f6f2f51e24 Various little tweaks. 2008-12-24 22:26:40 +00:00
Lari Nieminen
c99a4f6897 Added my version of the ai controller to core.
Needs some WML changes and better default values.
2008-12-24 20:21:20 +00:00
Steven Panek
0a4157b5e9 [[NAMED_NOTRAIT_UNIT]]
* Removed instance of generate_name=yes from macro NAMED_NOTRAIT_UNIT,
  as it was conflicting with the presence of name=.

* Made the example for NAMED_NOTRAIT_UNIT correct.
2008-12-21 21:21:51 +00:00
Gunter Labes
5b3dff29e5 updated the healthy trait description 2008-12-14 23:37:19 +00:00
Lari Nieminen
62057c7d51 Removed a macro which doesn't seem to work. 2008-12-11 21:44:04 +00:00
Lari Nieminen
3301aae2a5 Two new carryover note macros. 2008-12-11 19:59:05 +00:00
Lari Nieminen
ec210a3b5b Oops, forgot to commit one new macro. 2008-12-11 17:57:43 +00:00
Mark de Wever
8bf7cbad4a Fix a typo. 2008-12-08 21:23:51 +00:00
Eric S. Raymond
4861e50155 Reindent mainline in preparation for 1.6. 2008-12-08 17:45:47 +00:00
Eric S. Raymond
132b04ace7 Rewrite macro for storm trident lightning effect so it's more generally useful. 2008-12-08 17:27:03 +00:00
Richard Kettering
25209ab400 New storm trident that uses the new animations.
A known bug in the previous version and in this version is that the
unit disappears when the lightning is cast.
2008-12-08 03:53:14 +00:00
Lari Nieminen
2bd8986eea Fixed the NO_SCROLL_TO_AI_LEADER macro. 2008-12-07 19:08:12 +00:00
Fabian Müller
e5225549c1 Added macros for handling persistent ai sides. 2008-12-07 16:59:20 +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
Fabian Müller
195f04be10 Added a macro that assigns all villages on the map to a specified side. 2008-12-04 15:45:55 +00:00
Eric S. Raymond
781e50826b Minor documentation-comment revisions. 2008-12-02 20:59:20 +00:00
Fabian Müller
e409785705 Added more village ownership macros to side-utils.cfg.
ESR_ please review the language.

zookeeper please review the code.
2008-12-02 20:48:46 +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
Fabian Müller
db7de5f49a Renamed sidelimit-utils.cfg to side-utils.cfg. 2008-12-02 17:38:40 +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
Fabian Müller
d1236cc6c6 Reverted 2008-12-01T14:55:49Z!fabianmueller5@gmx.de because of multiplayer balancing issues. 2008-12-01 15:50:21 +00:00
Fabian Müller
e881e171d3 Non living creatures/mechanicals are from now on excluded from being healed. 2008-12-01 14:55:49 +00:00
Eric S. Raymond
195fdd947f Add to some documentation. 2008-11-30 20:06:12 +00:00
Lari Nieminen
0193fd7eca Added a new macro for replacing the current playlist. 2008-11-30 19:20:18 +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
Fabian Müller
3aca9c4d18 modernized the LIMIT_CONTEMPORANEOUS_RECRUITS macro 2008-11-29 21:20:07 +00:00
Alexander van Gessel
3f85673d5a Switch [kill] from locations to unit types and ids,
...this should fix a missing story-character bug.
2008-11-28 18:49:34 +01:00