Commit graph

782 commits

Author SHA1 Message Date
ln-zookeeper
0dd2e96584 Prevent extraneous "="'s from appearing in some AI controller menus 2016-08-15 12:10:16 +03:00
Ignacio R. Morelle
6464c6e1b8 Fix WML variable leak in RECRUIT_UNIT_VARIATIONS 2015-08-09 01:52:35 -03:00
aquileia
a0f115db09 Make x-offset of chill wave directional 2015-01-30 15:46:48 +01:00
ln-zookeeper
e4f94adc07 Fix SCATTER_UNITS placing units on map borders 2014-07-12 13:10:59 +03:00
ln-zookeeper
8a7e4d6993 Fix RECRUIT_UNIT_VARIATIONS not ensuring full hp 2014-05-14 00:23:16 +03:00
David Mikos
b7d22fea3b AnimationWML: Fix sound timings for drake fire animation macros 2014-04-17 06:49:09 +09:30
David Mikos
0fa9a0b598 Chill tempest animation for lich/ancient lich. 2014-03-17 07:50:39 +10:30
ln-zookeeper
5a5368d6f0 Fixed some variables not being cleared 2014-02-18 19:39:22 +02:00
ln-zookeeper
a2e1c2c9e9 Fixed issues reported by mattsc. 2014-02-01 23:00:31 +02:00
mattsc
1f93899652 New macros AI_SAVE_GOLD and AI_SAVE_GOLD_DEFAULT
… to make enabling gold saving for the AI simpler in a scenario now
that it is not the default any more.
2014-01-25 20:29:15 -08:00
Ignacio R. Morelle
73b27c9c10 Merge two consecutive [clear_variable] actions in the IF_ALLIED WML macro 2014-01-13 02:46:25 -03:00
Ignacio R. Morelle
a7b25cad6f Reduce TRANSFER_VILLAGE_OWNERSHIP macro implementation to a single WML action 2014-01-13 02:30:42 -03:00
Ignacio R. Morelle
003aa541f0 Clear state variables used by the LIMIT_RECRUITS WML macro on victory 2014-01-13 02:21:36 -03:00
Groggy Dice
6e47a1818d ai.cfg: fix "#ifdef MEDIUM" to NORMAL in attack_depth
Though this may be in vain, as I read on the wiki that attack_depth is not
working with the RCA ai and is deprecated. While this bug might break
attack_depth on one difficulty level, it shouldn't have broken it entirely,
so this is probably not the reason it doesn't seem to be working.
2014-01-03 11:09:00 -05:00
mattsc
d5e27a2e3f Correct the example given for MODIFY_AI_ADD_ASPECT
The [facet] tag is needed, but was not shown.
2013-12-27 10:20:24 -08:00
mattsc
12c73569ca AI macros: update comments for display on wiki reference page
This is for the auto-generated page at
http://www.wesnoth.org/macro-reference.html
2013-12-26 20:00:45 -08:00
fendrin
2709197594 Refactored the time of day schedule related images and macros.
This moves the after the fall schedule into core to grant that the
debian package wesnoth-editor does not depend on wesnoth-utbs.

Also, the images now life in their own subdirectories.

Wmllint has been updated to take care about the changed paths.
2013-12-22 07:32:12 +01:00
Alexander van Gessel
7eea4c5fb9 Import khalifate from wesnoth-umc-dev r19414 2013-12-22 01:55:00 +01:00
Groggy Dice
6ec0163f6e add RECALL_XY macro to core
Many UMC projects have a macro for this function, but the name isn't
standardized (RECALLXY and RECALL_POS are also in use). However, regardless
of name, all these macros follow the "id x y" order, so for compatibility
I have kept that order. UMC authors started with a RECALL macro and added
coordinates, while the unit-generating macros have to organize a lot of
extra fields that are irrelevant to [recall].
2013-12-20 04:51:59 -05:00
Groggy Dice
29bc800600 add RECALL to core unit macros
Many UMC projects already have a RECALL macro.
2013-12-20 04:51:55 -05:00
Bär Halberkamp
5fd6eb5bbe Revert "Fixed the FIRE_BURST_SMALL macro only showing the last frame"
It seems to be c++ related, and not in the WML, and therefore the commit wasn't really a solution

This reverts commit 22dd990a45.
2013-12-04 22:22:06 +01:00
Bär Halberkamp
22dd990a45 Fixed the FIRE_BURST_SMALL macro only showing the last frame 2013-12-04 22:18:28 +01:00
fendrin
d788be99b6 Simplified time of day schedule macros. 2013-11-27 02:16:17 +01:00
David Mikos
42e706ec6f AnimationWML: simplify DEFENSE_ANIM_DIRECTIONAL_RANGE macro 2013-11-10 15:53:01 +10:30
David Mikos
6409d08243 AnimationWML: simplify core DEFENSE macro WML 2013-11-10 15:47:11 +10:30
David Mikos
5ba836e80b AnimationWML: add 'base_score' to filtered DEFENSE* macros. Fixes fencer 'hit' animation. 2013-11-10 13:10:46 +10:30
David Mikos
32e3b82327 AnimationWML: fix MISSILE_FRAME_FIREBALL_XY macro position for certain directions. 2013-11-10 01:52:40 +10:30
David Mikos
bdbd9e577b AnimationWML: make use of new parallel 'if' support for chill wave macro. 2013-11-10 00:47:16 +10:30
mattsc
d1d18146f1 Revert previous commit and add wmllint spellcheck exception 2013-11-02 17:59:31 -07:00
mattsc
fae77eec5a Change Micro AI engine macro deprecation message string
... so that wmllint won't complain about the spelling of the macro name
macro MACRO_NAME.
2013-11-02 17:47:10 -07:00
mattsc
c214c12611 ExpAI: add retreating and village hunting CAs 2013-11-01 09:36:26 -07:00
mattsc
d9aa43ef44 ExpAI: fix the name= value of Place Healers CA
It doesn't really matter for anything in practice, but should be done
right.
2013-11-01 09:35:43 -07:00
mattsc
76e22a3d6a Experimental AI: add a simple move to enemy CA
Set up to run if nothing else is available.
In a separate file for use as a stand-alone CA in an AI
2013-10-31 21:19:44 -07:00
mattsc
c4c0c553ec Remove RCA_STAGE macro
The transport engine code in SotBE S6 was the last place to use this
macro.  Not needed any more now that external CAs are available.
2013-10-27 17:02:39 -07:00
mattsc
afa9235fa1 MAI engine deprecation macro: add side=1 to dummy unit
This will be ignored since the [unit] tag is used inside a [side[ tag,
but this way wmllint is happy.
2013-10-26 19:18:46 -07:00
mattsc
354fb361d4 Micro AIs: remove all the MAI engine macros
They are not needed any more now that all MAIs were switched to using
external CAs.  For the time being, we keep the macros in place, but
they now only display deprecation messages and have no actual
functionality.
2013-10-26 18:57:08 -07:00
mattsc
b7e2b4df18 Animal MAI engine macros: update ids in the [ai] tags
This doesn't really affect anything, but should be done for consistency
anyway.
2013-10-22 13:00:15 -07:00
mattsc
ca1c99160a Add deprecation message for MICRO_AI_GUARDIAN macro 2013-10-22 12:52:52 -07:00
mattsc
7e06b3cf35 Guardian MAIs: add individual engine macros for each AI
... so that only the code for the guardian AI used is loaded.
2013-10-22 12:52:51 -07:00
mattsc
d2ecec4db1 Micro AIs: split up Guardian MAI engine file
... into a separate file for each animal AI. This is a first step
toward separating the guardian MAIs, as keeping them together is not
needed any more.
2013-10-22 12:52:50 -07:00
mattsc
a41a9fd3fb Add deprecation message for MICRO_AI_ANIMALS macro 2013-10-22 08:49:46 -07:00
mattsc
e730d94591 Animals MAIs: add individual engine macros for each AI
... so that only the code for the animal AI used is loaded.
2013-10-22 08:29:48 -07:00
mattsc
361e56c6a1 Micro AIs: split up Animals MAI engine file
... into a separate file for each animal AI.  This is a first step
toward separating the animal MAIs, as keeping them together is not
needed any more.
2013-10-21 20:15:09 -07:00
Bär Halberkamp
2649efb76a updated MISSILE_FRAME_CHILL_WAVE macro 2013-10-19 01:26:37 +02:00
Bär Halberkamp
0ddcaa06c7 Macrofied the chill wave and shadow wave projectiles 2013-10-19 01:19:37 +02:00
Bär Halberkamp
e170492c33 ran wmlindent 2013-10-16 23:05:43 +02:00
David Mikos
ab7e800851 AnimationWML: fix west attack for new MISSILE_FRAME_FIREBALL_XY macro. Cheers Zookeeper. 2013-10-14 19:12:23 +10:30
David Mikos
8d1b7dafc8 AnimationWML: New MISSILE_FRAME_FIREBALL_XY macro for red mage line. 2013-10-13 15:59:54 +10:30
David Mikos
cad93470b0 AnimationWML: minor animation macro cleanup. 2013-10-12 12:00:53 +10:30
David Mikos
39ed562bf3 AnimationWML: remove now redundant blank-hexes from some halo animations. 2013-10-12 00:54:42 +10:30