Battle for Wesnoth

Strategy

Battle for Wesnoth patch notes · May 22, 2021

Experiment

Development Patch 1.15.13

What's new in Development Patch 1.15.13: 25 changes to Battle for Wesnoth, released May 22, 2021.

Balance · 1

  • apply_to=movement now always affects vision too, unless apply_to_vision=no is given.

    movement effect on vision

Content · 7

  • A seahorse unit was added.

    seahorse unit
  • A zombie horse variation was added.

    zombie horse variation
  • Added pango_color to the wesnoth.colors table for easy use in formatted text.

    pango_color lua helper
  • Added a function that determines whether an image or sound exists.

    filesystem.have_asset lua function
  • Horses were added as units.

    horse unit
  • terrain_mask now accepts mask_file as an alternative to an inline mask, loaded from the maps/ subdirectory.

    terrain_mask mask_file option
  • Added a function that converts [binary_path] relative paths to data-relative paths.

    filesystem.resolve_asset lua function

System · 9

  • Added an ability_id_active attribute.

    ability_id_active attribute
  • The overwrite_specials attribute was reimplemented to use none, one_side or both_sides values and to select which abilities and specials are overwritten.

    overwrite_specials attribute behavior
  • Added a wesnoth.scenario data module consolidating information about the current scenario, with some new details and much information previously in wesnoth.game_config.

    scenario data module
  • Workarounds for bugs in older SDL 2.0 versions were removed, including an extra copy of the game screen made during gamemap scrolling.

    legacy sdl 2.0 workarounds removal
  • Added a more advanced way of manipulating version strings via the wesnoth.version constructor function.

    version string manipulation
  • wesnoth.have_file, wesnoth.read_file and wesnoth.image_size were moved to the new filesystem library.

    file helper functions relocated to filesystem library
  • Increased the minimum required SDL version to 2.0.8.

    minimum required sdl version
  • FPS values calculated by the :fps or :benchmark commands are now written to a file for tracking over time.

    fps value logging
  • Old image optimisation scripts were removed, as a Python rewrite exists.

    image optimisation script

UI · 4

  • The piglet and boar graphics were updated.

    piglet and boar graphic
  • The multiplayer turns over dialog now uses each team's colors when showing team names.

    multiplayer turns over dialog team coloring
  • A filter based on tags was added for add-ons.

    add-on tag filter
  • The add-ons details panel now shows the list of tags in each add-on.

    add-on details panel tag list

Fix · 4

  • GUI.pyw was made compatible with Python 3.9.

    gui.pyw python 3.9 compatibility
  • UI drawing code optimization fixes the crash when displaying the full credits.

    full credits crash
  • Fixed a regression from 1.15.5 where GUI2 listboxes broke when cleared and re-filled under certain circumstances.

    gui2 listbox clear and refill breakage
  • Fixed a regression from 1.15.5 where hidden GUI2 widgets stayed visible but could not be interacted with.

    hidden gui2 widgets remaining interactable