Update RELEASE_NOTES
Clarify some things in the deprecation section and fix typos
This commit is contained in:
parent
44d6bd9332
commit
65ecc87274
1 changed files with 10 additions and 8 deletions
|
@ -95,14 +95,16 @@ A new [tt]$other_unit[/tt] variable is accessible in some unit filters. This can
|
|||
A number of new WML tags have been added for different types of loops as well as loop flow control. The new looping tags are [tt][for][/tt], [tt][foreach][/tt], and [tt][repeat][/tt], while the flow control tags are [tt][continue][/tt], [tt][break][/tt], and [tt][return][/tt]. The [tt]{FOREACH}[/tt] and [tt]{REPEAT}[/tt] macros have been altered to make use of these new loops, which fixes an issue whereby the [tt]{REPEAT}[/tt] macro would not work correctly if nested in itself.
|
||||
[/rasection]
|
||||
|
||||
[rasection="Wml/lua compability changes and deprecations"]
|
||||
- [advance] was changed to [advancement] in modifications
|
||||
- {FOREACH} and {NEXT} how use [for] tags this is only important for user who use on these tag wthout the other
|
||||
- the interface of wesnoth.synchronize_choice for choices from multiple sides has changed.
|
||||
- wesnoth.get_unit(underlying_id) was removed
|
||||
- Changed wesnoth.put_unit so that the unit is passed as the first parameter
|
||||
- [team] share_view=yes/no, share_maps=yes/no was replaced with share_vision=all/shroud/none
|
||||
- The menu items syntax in campaigns difficulcy and in [message][option] is not deprecated
|
||||
[rasection="WML/Lua compatibility changes and deprecations"]
|
||||
[list]
|
||||
[*][tt][advance][/tt] was changed to [tt][advancement][/tt] in modifications; as a result, AMLA definition macros (such as [tt]{AMLA_DEFAULT}[/tt]) can now be used to create units that have already taken certain advancements
|
||||
[*][tt]{FOREACH}[/tt] and [tt]{NEXT}[/tt] now use [tt][for][/tt] tags; this is only important for users who used one of these tags without the other, such as a custom loop macro closed by [tt]{NEXT}[/tt]
|
||||
[*]The interface of [tt]wesnoth.synchronize_choice[/tt] for choices from multiple sides has changed.
|
||||
[*][tt]wesnoth.get_unit(underlying_id)[/tt] was removed; this was pretty useless since there was no reliable way to obtain the underlying_id
|
||||
[*]Changed [tt]wesnoth.put_unit[/tt] so that the unit is passed as the first parameter; the original order is still supported, but is deprecated. In addition, calling [tt]wesnoth.put_unit[/tt] without a unit (ie, with just a location) is deprecated in favor of a new [tt]wesnoth.erase_unit[/tt] function.
|
||||
[*][side] share_view=yes/no, share_maps=yes/no were replaced with share_vision=all/shroud/none
|
||||
[*]The menu item syntax (eg [tt]&image.png=Peasant=Easy[/tt]) in campaign difficulty and in [message][option] is now deprecated
|
||||
[/list]
|
||||
[/rasection]
|
||||
|
||||
==========
|
||||
|
|
Loading…
Add table
Reference in a new issue