Skip to content

Commit

Permalink
Update changelog and release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Oct 26, 2016
1 parent 2931516 commit 8e992d0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
9 changes: 7 additions & 2 deletions RELEASE_NOTES
Expand Up @@ -40,8 +40,13 @@ Tunnel functionality was expanded and the default behavior was altered in order
[/rasection]


[rasection="scenario_generation=cave deprecated"]
scenario_generation=cave is now deprecated and will be removed in 1.14 or 1.15, scenarios that previously used scenario_generation=cave shoudl use map_generation=lua with ´create_map = << params = ...; return wesnoth.dofile("lua/cave_map_generator.lua") >>´ instead
[rawarn="Deprecations and breaking changes"]
[list]
[*]The built-in cave map generator (used with [c]scenario_generation=cave[/c]) is now deprecated and will be removed in 1.14 or 1.15. Scenarios that previously used it should change to the new Lua cave map generator. To do this, use [c]map_generation=lua[/c] with [c]create_map = << params = ...; return wesnoth.dofile("lua/cave_map_generator.lua") >>[/c].
[*]The AI functions that return aspects (eg, [c]get_aggression()[/c]) are now deprecated. Use the [c]ai.aspects[/c] table instead to fetch these aspects. As an exception, [c]ai.get_attacks()[/c] is not deprecated and works the same as before. (AI get_* functions that do not return aspects, such as [c]get_targets()[/c], are unaffected.)
[*]The metatables used by the [i]helper.lua[/i] module are now protected from external access. If anyone used [c]getmetatable()[/c] to alter these metatables, their code will no longer work. (You shouldn't have been doing that in the first place, though.)
[/list]

[/rasection]


Expand Down
14 changes: 12 additions & 2 deletions changelog
Expand Up @@ -82,6 +82,9 @@ Version 1.13.5+dev:
* The following dialogs have been converted to GUI2: Unit Recall, Unit List,
Game Stats, MP Create, MP Game Lobby, Faction Select, Unit Advance.
* Improved UI responsiveness.
* Tab completion in the Lua console is improved. It can now handle paths
containing square brackets (though it won't complete them) and will not
offer keys that are not valid identifiers.
* WML Engine:
* Added ignore_special_locations=yes|no, default no, to [terrain_mask] to
ignore the special locations given in the mask, leaving all those on the
Expand Down Expand Up @@ -152,8 +155,7 @@ Version 1.13.5+dev:
Consult http://www.lua.org/ for a full change list and updated documenation.
* bit32 functions removed
* utf8 support added
* Added new functions wesnoth.fire_event_by_id and fire_event_by_name. The
old function wesnoth.fire_event is now an alias for wesnoth.fire_event_by_name
* Added new function wesnoth.fire_event_by_id to fire an event with a given ID.
* Added new function wesnoth.remove_modifications, which removes applied
modifications of the chosen type from a unit. The most efficient use is to
remove all modifications with a specific duration value.
Expand Down Expand Up @@ -186,6 +188,14 @@ Version 1.13.5+dev:
gettext plurals.
* New matches function in team and unit attack metatables, which test if the
side or weapon matches a filter.
* helper.lua metatables are now protected from external access; getmetatable()
will return a descriptive string instead of the metatable.
* ai.aspects.attacks no longer returns a full attacks analysis. Instead it
returns a table with "own" and "enemy" keys containing the valid units
for attackers and targets. The function ai.get_attacks() still returns the
full attack analysis.
* Aspect fetcher functions (eg ai.get_aggression()) are now deprecated in favour
of the ai.aspects table.
* Networking
* Ported campaignd to use boost.asio instead of SDL_net.
* Removed unit tests for old networking stack. This was the last part that
Expand Down

0 comments on commit 8e992d0

Please sign in to comment.