Commit graph

83373 commits

Author SHA1 Message Date
pentarctagon
5491e48ad9 allow loading .mask files 2024-05-01 13:07:48 -05:00
pentarctagon
b9d2095ec0 1.18 status in readme. 2024-04-29 22:28:34 -05:00
Subhraman Sarkar
3dec7e6c78 add icon to windows installer and uninstaller (#8817)
(cherry picked from commit 6e2cbdce54)
2024-04-29 10:11:11 +10:00
Nils Kneuper
4fbb2a5228 updated Bulgarian translation 2024-04-27 11:48:58 +02:00
Nils Kneuper
c2a4745eec updated French translation 2024-04-27 11:46:41 +02:00
Nils Kneuper
4d952bbe61 updated Norwegian translation 2024-04-27 11:45:32 +02:00
Tahsin Jahin Khalid
ebe5149dbc HttT S16: fix li'sar missing her unrenamable=yes (#8782)
* S16: fix li'sar missing her unrenamable=yes

* S16: add one more instance of unrenamable=yes
2024-04-27 12:59:29 +06:00
Pentarctagon
4dfb946fc8 Add a button to the build info dialog to rerun the migrator. (#8791)
Add-ons: checks for any that exist in the chosen other version but not in the current version.
Preferences: adds attributes that don't exist from the chosen other version's preferences that aren't in the current version's preferences. for attributes that exist in both, use the attributes from the file that was modified most recently.
Credentials: move if the credentials file doesn't exist.

Fixes #7936
2024-04-27 00:51:36 -05:00
Gunter Labes
cfb2ca9fa6
Fallback to commit hash 2024-04-26 23:24:55 +02:00
Jonathan-Kelly
320aa7bf88 SoF S7: fewer and slower enemy outriders
This is to counteract the swifter and deadlier Elvish Outrider after the 1.18 core unit balance changes.

(cherry picked from commit b3802f44ea)
2024-04-26 19:21:08 +02:00
newfrenchy83
fc87104995
Fix EI: Plague Staff Doesn't Gain Arcane Damage When Equipped After Holy Amulet
Fix #8745 by using ability instead of weapon special.
2024-04-24 12:51:45 +02:00
gfgtdf
099b6bb3e0 Fix build with boost 1.85 2024-04-22 17:54:07 -05:00
Steve Cotton
3bf9b0f811 Fix a warning in the sdl2 conftest
The argv variable was unused. The build still succeeded,
but GCC emited a warning about it.

(cherry picked from commit c7acbd243a)
2024-04-22 21:49:59 +02:00
Gunter Labes
39cc21db8e Avoid invalid pointer access on recall
Should fix #8778.

(cherry picked from commit 5ec648a1b2)
2024-04-22 20:58:45 +02:00
Steve Cotton
9632febdb5 Unit test cumulative resistance with a max_value
A surprising result on 1.18, the max_value attributes get added together.

In 1.19, 82499d0785 changes this to something
logical, using `min(each individual max_value)` and disregarding the cumulative
attributes.
2024-04-22 19:28:24 +02:00
Steve Cotton
9b2016a4af Unit test cumulative resistance with a base value
These tests clarify what "cumulative" means for non-leadership abilites,
which since Wesnoth 1.1.3 doesn't seem to fit the English word.

For cumulative abilities, if the base value from the unit is higher that
the ability's value, then the base value is used instead. In the case of
a Skeleton with 40% base resistance, "cumulative=yes" is equivalent to
"value,cumulative=40,no".

In all of these cases, a single ability's value is used; "cumulative"
doesn't mean that the values from multiple abilities interact.

This is all when using value=, not when using add= or sub=.
2024-04-22 19:28:24 +02:00
gfgtdf
5327400b96 fix linger mode when ending the scenario in end_turn event
I am not really sure whether this is actually needed or whether it
actually worked before for some other reason, in any case the new
code is simpler and safer.

Backport, fixes #8779
2024-04-20 23:45:37 +02:00
Nils Kneuper
b426ae92a5 updated Russian translation 2024-04-20 15:45:34 +02:00
Nils Kneuper
f53dbc0b58 updated French translation 2024-04-20 15:44:18 +02:00
Nils Kneuper
e6b00ad9f1 updated Bengali translation 2024-04-20 15:42:59 +02:00
Wedge009
7e802aab98 Revert "Disable the Windows CI builds"
This reverts commit ac5f821729.

(cherry picked from commit 2c04c274fa)
2024-04-20 19:14:32 +10:00
Gunter Labes
cb2b850c01 Fix scons SDL version check
0aa8dc3 converted to a runtime test and broke the scons SDL version check since
it only links which trivially makes it work for cross compilation though.
2024-04-18 06:43:21 +02:00
Dalas121
b91e5e2343 EI S12: prevent ogres from saying the final goodbye in "Evacuation" (#8761)
(cherry picked from commit 3dadec9cac)
2024-04-16 10:20:41 +10:00
pentarctagon
4dfd2903c9 Add a Community button to the title screen.
This opens a dialog with links to the forums, discord, etc, plus a donate button that links to Wesnoth's SPI page.
2024-04-15 16:59:04 -05:00
Wedge009
2f57b412b6 Check log file actually exists before enabling Log File button (#8727)
* Check log file actually exists before enabling Log File button. Resolves #8691.

* Return empty string if output file path is empty.

(cherry picked from commit c62fd51f48)
2024-04-14 16:57:19 +10:00
Charles Dang
f90af33be4 Pardon the erroneous comment
(cherry picked from commit c07d5438c7)
2024-04-14 16:57:19 +10:00
Charles Dang
a3c1bc17cc Fix idle anim rate not being saved properly (fixes #8613)
(cherry picked from commit cd6f3fade7)
2024-04-14 16:57:19 +10:00
Nils Kneuper
d39ceb1aa3 updated Czech translation 2024-04-13 11:35:04 +02:00
Nils Kneuper
b8b1972ccf updated Slovak translation 2024-04-13 11:32:30 +02:00
Nils Kneuper
6d7eb170e3 updated Ukrainian translation 2024-04-13 11:31:27 +02:00
Gunter Labes
dbc3265794
Allow git describe to fail 2024-04-11 14:16:38 +02:00
Dalas121
f884868f2a EI: remove duplicate AMLAs (#8723)
Under some circumstances, units in EI could have their custom AMLAs listed multiple times in the advancement dialog.
2024-04-09 18:54:03 -05:00
Dalas121
f2c1ca464e EI: preserve XP when Dacyn receives scripted advancements (#8716)
* EI: retain experience when Dacyn advances to twilight mage
* EI: retain experience when Dacyn advances to fallen mage
2024-04-09 18:46:38 -05:00
Dalas121
b501342d3e EI: reduce Barrow/Pyre Wight vulnerability to arcane (#8715)
* Update Undead_Horse_Barrow_Wight.cfg arcane resist
* Update Undead_Horse_Pyre_Wight.cfg arcane resist
2024-04-09 18:25:05 -05:00
Gunter Labes
a9642e41f6
Fix mismatch between what gettext.w.o and wesnoth consider core textdomains
wesnoth-anl is pretty much an extraction of wesnoth-multiplayer which is core.
2024-04-09 21:14:08 +02:00
Steve Cotton
26ead85914 Fix race condition causing moveto messages to immediately close
If a mouse click causes a delay and then a message to appear, for example
when moving a unit triggers an `[event]name=moveto`, then the message
would sometimes flash on screen and then disappear with barely enough time
to see which character's portrait was used, let alone to read it.

Although there's already logic to not be triggered by the same mouseclick that
caused the unit to move, it had a race condition if the MOUSE_UP happened
around the time the the dialog's pre_show() function was running.
2024-04-09 14:07:53 +02:00
Steve Cotton
37af71bd65 updated German translation 2024-04-07 21:52:20 +02:00
Steve Cotton
f9af941f1e Fix clicking on the sidebar going to the wrong trait
If the first trait of a unit has no name, then clicking on the units (other)
trait in the sidebar opened the wrong page in the help.
2024-04-07 08:05:30 +02:00
Steve Cotton
3ac1b686e8 Disable the Windows CI builds
Setting up vcpkg tries to build xz from source, which fails because the
entire xz repo has now been made private or taken down. The vcpkg team
have been advised not to switch to an alternative repo [1], so for now
our Windows builds will always fail.

Turn those builds off, so that we don't get familiar with seeing red
status markers on all PR's CI results.

[1] `https://github.com/microsoft/vcpkg/pull/37957` - second comment is
the vcpkg team's "We have been explicitly asked by security folks to not
change the upstream [to a different repo] for liblzma at this time."
2024-04-07 07:47:37 +02:00
Nils Kneuper
8ade92b096 updated Finnish translation 2024-04-06 15:07:11 +02:00
Nils Kneuper
4c5ff69b95 updated Ukrainian translation 2024-04-06 15:04:23 +02:00
Nils Kneuper
3cb4cc7d28 updated Bengali translation 2024-04-06 15:01:47 +02:00
Nils Kneuper
d23e0bd7bb updated Arabic translation 2024-04-06 15:00:49 +02:00
Steve Cotton
78dbf2d309 update German translation
s1m0n was in the credits for 1.16, but that was missed when his contributions
were copied to master. Fix that, along with adding his latest updates.

The fuzzy flag in -wof probably got readded by mistake when rebasing.
2024-04-06 11:27:21 +02:00
pentarctagon
f40e821c7b Add another query to the MP Activity Report queries
count by map and era
2024-04-04 14:54:59 -05:00
newfrenchy83
233295c35b
EI: Barrow Wight resistance against mixed damage type weapons
The Barrow Wight has the Shroud ability: "When defending, this unit has 50%
Fire and Arcane resistance." However, if the attack's original damage type
isn't Fire or Arcane, the Shroud ability fails to trigger. The Barrow Wight
takes massive Arcane damage (50% weakness) when defending against such attacks.

Because this is the stable branch, the API can't fix the root cause, which is
that ability filters don't consider the weapon's alternative damage type. This
adds tests to verify that the API still works as before, but changes the items
in EI that give units alternative damage types.
2024-04-04 14:15:14 +02:00
Wedge009
49d586a537 Revert "EI - show custom traits in help menu (#8652)"
This reverts commit 04d29f4e3b.
2024-04-03 16:12:45 +11:00
Subhraman Sarkar
6b1ccd9761 change horizontal scrollbar mode and update changelog
(cherry picked from commit 333b3edc42)
2024-04-03 13:03:39 +11:00
Subhraman Sarkar
3dae9a89cd add changelog and remove achievements dialog changes
(cherry picked from commit d692f6ba12)
2024-04-03 13:03:39 +11:00
Subhraman Sarkar
1a05133de7 scrollbar and height adjustments for achievements dialog
(cherry picked from commit 8c7660ce49)
2024-04-03 13:03:39 +11:00