Content · 4
Added a [screen_fade] interface action giving a smooth screen fade that also covers units.
screen fade interface actionAdded wesnoth.interface.screen_fade, which applies a colour overlay to the display, fading over a given duration.
screen fade lua functionAdded animations for the Nightgaunt unit.
nightgaunt animationUpdated sprites for several Loyalist units.
loyalist sprite
System · 14
Large rendering engine changes enable hardware acceleration for most components, greatly increasing performance and decreasing CPU and GPU usage.
rendering engine hardware accelerationEvents now support filter conditions written in the Wesnoth Formula Language via a filter_formula key.
event filter conditionAll features of the event tag are now available from the Lua API.
event tag feature availabilitywesnoth.remove_event_handler was renamed to wesnoth.game_events.remove for consistency.
event handler removal function namewesnoth.fire_event_by_id was renamed to wesnoth.game_events.fire_by_id.
fire event by id function nameThe fire_event tag supports a subtag for passing arbitrary information, such as damage to attack events or former owner to village capture events.
fire_event arbitrary data passingMinimum required SDL version increased to 2.0.10 on non-macOS platforms.
minimum sdl versionwesnoth.game_event.add is the primary API; the other registration functions are shortcuts for common use cases.
event registration shortcutwesnoth.current.event_context now has a data attribute containing the full event data, including former owner in village capture events.
event context data attributewesnoth.game_events.fire (renamed from wesnoth.fire_event) now supports passing event-specific data such as damage or previous owner.
fire event data passingAdded new Lua functions to register game events: add, add_menu, add_repeating and add_wml under wesnoth.game_events.
lua game event registration functionVariable interpolation in an event name can now expand to multiple event names, split on commas before and after interpolation.
event name variable interpolationMinimum required SDL increased to 2.0.22 and minimum macOS version to 10.12 due to needing an SDL fix.
minimum sdl and macos versionBoth the action and the filter for events can now be a native Lua function.
lua action and filter type
Fix · 8
Fixed a replay out-of-sync problem on the victory event in scenario S8 of Under the Burning Suns campaign.
replay out-of-sync on victory eventFixed being unable to interact with units when Scroll Lock is active.
unit interaction with scroll lockFixed Warden and Arbiter animations popping on water tiles.
animation popping on water tileFixed a replay out-of-sync problem on the victory event in scenario S4 of The South Guard campaign.
replay out-of-sync on victory eventFixed the Bezoar artifact being bugged and broken in World Conquest.
broken artifactImplemented a workaround for bad SDL rectangle drawing in some versions.
sdl rectangle drawingFixed the addon manager UI blanking incorrectly.
addon manager ui blankingRendering engine changes resolved issues #1291, #1350, #1605, #1755, #2059, #2458, #2618, #2865, #3238, #3255, #3421, #3592, #3798, #3937, #4210, #4460, #4877, #5115, #5420 and #5494.
long-standing rendering issue
General · 1
Translations were updated for eight languages.
general


