newfrenchy83
1cb2393b42
fix anerror
2021-05-02 19:40:48 -05:00
newfrenchy83
ad95696b4a
Fix teaching_anim not implmmented in variation_id=sceptre of Httt Princes and Battle Princess
...
I have forget to pull this in variation scpeter of unit_type
2021-05-02 19:40:48 -05:00
Celtic Minstrel
059dabcb6a
Do a pass of macro documentation
...
- Adds a bunch of documentation
- Fixes some incorrect or inaccurate documentation
- Moves some documentation so that wmlscope actually picks it up
- Excludes some internal macros from being documented
2020-11-22 12:24:43 -05:00
Elvish_Hunter
30d9697ab5
wmlindent run on macros/deprecated-utils.cfg
2020-11-19 12:53:29 +01:00
Elvish_Hunter
044901fd01
Fixed a deprecation comment to match a regex used in wmlscope
2020-11-19 11:37:06 +01:00
gfgtdf
b21c110f30
run wmlindent
2020-10-19 23:53:52 +02:00
josteph
fff2f13f7f
Bump deprecation level of old early finish / carryover macros
2019-10-20 00:09:11 +00:00
josteph
b821da1cff
Revert "Removed deprecated objective text macros"
...
This reverts commit 97acce20643ba757e11fdf0cfa35994224ccda63.
2019-10-19 23:56:57 +00:00
Charles Dang
97acce2064
Removed deprecated objective text macros
...
[ci skip]
These are incorporated into the objectives dialog automatically. They lack a deprecation
notice, but they should be given level 3 status on the 1.14 branch.
2019-10-19 18:12:21 +11:00
Charles Dang
871e857771
Begone, MENU_IMG_TXT!
...
[ci skip]
This utilized the deprecated DescriptionWML syntax.
2019-10-19 18:06:02 +11:00
Charles Dang
021339bcc5
Removed macros deprecated at level 2 and 3
...
[ci skip]
2019-10-19 18:01:33 +11:00
gfgtdf
5cb93694c6
move loyal overlays to the loyal trait
...
since the recent changes to overlays= in particular 1a7724e5472,
e71033374c35 and b2cd1cf6c [unit]overlays= is no longer the
recommended way to add an overlay and the use of the
apply_to=overlay effect is reccomended instead, so adding it
to the [trait] is the most natural option here.
this in particular fixes #4058 . Also people simply forgetting the
IS_LOYAL macro was a not-so-uncommon cause of bugs.
In some cases people want to give the LOYAL trait without giving the
loyal overlays for those cases i added a optional OVERLAY parameter to
the {TRAIT_LOYAL} macro, also heroes should now use {TRAIT_LOYAL_HERO}
instead which uses the hero overlay. The IS_LOYAL and IS_HERO macros are
no longer needed in combination with those traits.
2019-08-25 20:36:35 +02:00
gfgtdf
5b73c34798
overlays=".." -> {IS_LOYAL}
2019-08-24 22:19:58 +02:00
Celtic Minstrel
bd2bf467a3
Add missing deprecation messages for deprecated macros
...
This also bumps ON_SIGHTING to level 2.
(cherry picked from commit f550f2d6f54778ae44560b3e1e2602064d63a9de)
2018-10-28 02:53:03 +00:00
pentarctagon
0c69e40d52
Remove deprecated Khalifate references.
...
(cherry-picked from commit 994e6efa796681e0952d4aeb623adcf3cf75d1ef)
2018-10-07 03:18:07 +00:00
Celtic Minstrel
1cbe8d9170
Generalize the deprecated unit macro used for the khalifate
...
This moves a string from one file to another, but I checked:
the textdomain was the same in both files.
So, it doesn't break the string freeze.
2018-03-04 22:03:17 -05:00
Charles Dang
91e0bb4911
Fixed some remaining uses of deprecated Khalifate names
...
[ci skip]
Also "colour"->"color"
2018-02-13 05:45:31 +11:00
Celtic Minstrel
ae50be5bbe
Add #deprecated preprocessor directive for marking macros deprecated
2018-02-12 00:09:48 -05:00
sigurdfdragon
264167edcf
Macros: Fixup DEPRECATE_ACTION_MACRO
2018-02-03 12:39:03 -05:00
pentarctagon
5b31b87f6a
MP: Renames the Khalifate to Dunefolk.
...
Part of an effort to make the faction better fit into Wesnoth. See:
https://forums.wesnoth.org/viewtopic.php?f=12&t=47643
https://forums.wesnoth.org/viewtopic.php?f=12&t=47703
2018-01-19 17:28:40 -05:00
Charles Dang
a2653980b7
Core: wmlindent pass
...
[ci skip]
2017-09-12 19:52:10 +11:00
Celtic Minstrel
c734f56922
Update the DEPRECATED macro and [deprecated_message] ActionWML to understand deprecation levels
2017-08-14 12:36:10 -04:00
gfgtdf
e859c1da00
update mainline for [cancel_action]
2017-07-25 21:19:05 +02:00
ln-zookeeper
8bbe4189ed
Reverted FOREACH, NEXT and REPEAT to their original forms
...
This is because the changes (9fb175c9d6) possibly break some existing uses for no reason.
2017-03-22 19:45:21 +02:00
Severin Glöckner
c0a2812829
Moved {SOUND:POISON} and {SOUND:SLOW} to deprecated-utils
...
These sounds are played now by default.
[ci skip]
2017-03-09 01:51:27 +02:00
Severin Glöckner
7d0ca75085
moved DRAKE_FLYING_ANIM to deprecated-utils.cfg
2016-11-03 22:59:30 +01:00
Charles Dang
491fa91906
Deprecated FOREACH and NEXT
...
These feature unbalanced WML and have been replaced by proper tags.
2016-08-06 11:08:48 +11:00
Charles Dang
ea1bb2b31c
Deprecate MAKE_AI_SIDE_PERSISTENT
...
This macro was obviously simplified in the past (see unused parameter) and is no longer needed.
2016-08-06 10:47:02 +11:00
Celtic Minstrel
b295aab4ba
Deprecate {MAGENTA_IS_THE_TEAM_COLOR}
...
The magenta colour is now the default flag_rgb colour if one is not specified.
2016-08-05 00:49:39 -04:00
Charles Dang
dd0b2104a5
Deprecated MENU_IMG_TXT and MENU_IMG_TXT2
2015-10-01 21:10:27 +11:00
Celtic Minstrel
f54d6b5d28
Rewrite leadership ability as a single macro using $other_unit
...
Note: It's no longer supported to use the macro in a unit with a non-matching level,
for example giving a 2nd-level unit 4th-level leadership.
2015-09-19 02:14:38 -04:00
Charles Dang
0dfe2a21d9
Deprecate ANIMATED_CAMPFIRE and ANIMATED_BRAZIER
...
Both of these have been replaced with embellishment overlay terrains
2015-08-17 10:41:46 +11:00
Charles Dang
768a418137
Deprecate ON_SIGHTING
...
Since sighted events now work, this macro is no longer necessary
2015-08-12 06:12:13 +11:00
Elvish_Hunter
c642e5327a
wmlindent run
2015-05-29 11:40:07 +02:00
Charles Dang
117068790c
Deprecated LOYAL_UNDEAD_UNIT
2015-04-22 00:09:52 +11:00
Charles Dang
711c4fe690
Deprecate STORY_PART_SPEECH
2015-04-17 19:04:31 +11:00
Charles Dang
95d7bcdce6
Deprecate MESSAGE
...
This was deprecated once before because of wmllint issues, then reverted. I don't know whether
said wmllint issues still exist, but this time it's being deprecated because we no longer
wish to support this kind of macro.
2015-03-29 08:08:36 +11:00
Charles Dang
e945b99bc5
Deprecate obsolete objective macros
...
The functionality of these macros is now handled internally by the objectives dialog,
and no longer need to be included manually
2015-03-25 03:35:15 +11:00
aquileia
dbc3b3c8e4
Deprecate MISSILE_FRAME_FIREBALL
2015-01-31 23:41:57 +01:00
Charles Dang
b357a39882
Improved DEPRECATE comment
2015-02-01 04:35:51 +11:00
Charles Dang
a7c4f23b2f
Moved deprecated EARLY_FINISH_BONUS_CAPTION to the proper place
2015-02-01 04:26:06 +11:00
Anonymissimus
791e90a2c9
Revert "Deprecate the macro MESSAGE."
...
This reverts 2012-01-29T22:52:34Z!anonymissimus@arcor.de.
Since I got beaten to it.
2012-01-29 23:41:31 +00:00
Anonymissimus
982aa77399
Deprecate the macro MESSAGE.
...
Translatable message strings passed to it cannot be spellchecked by
wmllint, and we don't wanna encourage this. Was already used nowhere in
mainline.
2012-01-29 22:52:34 +00:00
Ignacio R. Morelle
53e260ca6b
Ran wmlindent in mainline except for data/gui
2011-08-02 00:01:08 +00:00
Eric S. Raymond
5e39fa1ae2
Scheduled removal of depercated macros.
2011-06-15 05:44:10 +00:00
Steven Panek
cc5198da7c
Deprecated REDRAW.
2010-11-28 11:22:44 +00:00
Steven Panek
9aa2403897
Deprecated ITM_GLOWING_BRAZIER.
2010-11-28 09:51:24 +00:00
Steven Panek
55214bc67f
Deprecated RECALL_OR_CREATE_UNIT and RECALL_OR_CREATE.
2010-11-25 10:22:11 +00:00
Steven Panek
8dfad246d7
Deprecated ITM_BOOK1 and ITM_TREE1.
2010-11-25 10:13:05 +00:00
Steven Panek
f105dbd5d1
Deprecated AMLA_TOUGH.
2010-11-25 10:04:52 +00:00