82682 Commits

Author SHA1 Message Date
doofus-01
a0aef5550d
Update changelog.md 2024-01-15 15:49:51 -08:00
Gunter Labes
1a47a9943f
Remove confusing lowercase comparison
If case insensitive handling is wanted here then it needs to show all matches not just an arbitrary first one.

Since this forwards to searchlog which properly matches case insensitively anyway that does not seem particularly useful though.
2024-01-15 22:28:29 +01:00
P. J. McDermott
fc4d11b2cb systemd: Run as _wesnoth:_wesnoth
systemd 246+ logs a warning message, because running as "nobody" is
unsafe:
https://github.com/systemd/systemd/blob/v246/NEWS#L106-L113

Prefix names with underscore, as recommended by systemd documentation:
https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html
2024-01-15 21:33:26 +01:00
doofus-01
1ecd4f4d59
1.18 - various minor monster updates (#8195)
* various minor monster sprite updates

* small fixes to wolf portraits, jumping spider portraits

* NE anims for jumping spider

* adding zombie fish, zombie bug
2024-01-15 12:25:38 -08:00
Wedge009
991d9a353f
EI S12: Ran-Lar appears to be renamed Rakkha in #7815. Resolves #8242. (#8244) 2024-01-14 18:25:26 -08:00
Toom
27e5dd50d2 Update all units of type and side after selection with is_game_override 2024-01-14 10:04:31 -06:00
pentarctagon
0c0f9ba997 Fix attempting to erase end() in the boost unit tests.
In that test current_addon_ is "", so when run locally with add-ons installed it results in it attempting to erase dirs_.end().
2024-01-13 13:44:56 -06:00
Pentarctagon
987827b475
Prevent wesnoth from crashing after campaign credits (#8235)
Fixes #7395
2024-01-13 11:15:50 -06:00
Nils Kneuper
7c4ac03be2 updated Slovak translation 2024-01-13 14:33:22 +01:00
Nils Kneuper
14afe85822 updated French translation 2024-01-13 14:32:53 +01:00
Nils Kneuper
92a6f85ed0 updated Czech translation 2024-01-13 14:20:23 +01:00
Nils Kneuper
015e6acad3 updated Arabic translation 2024-01-13 14:15:28 +01:00
Wedge009
f700b251ba EI S4: Safyam is supposed to be female (resolves #8233). 2024-01-12 19:52:19 +11:00
Wedge009
76034387ce UtBS S6a: Avoid Dust Devil speaking (resolves #8192). 2024-01-12 19:52:02 +11:00
TheFlamelet
1c30866f37
TRoW S08: Fix enemy starting locations for Clearwater Port
Commit dd42e4d4e4 changed the enemy side numbers in the scenario file. However the map file starting locations were not updated accordingly.
2024-01-08 19:27:16 +01:00
pentarctagon
26de1195e3 add a bunch of attacks tests 2024-01-08 12:04:45 -06:00
Gunter Labes
1930008332 Make "faction" and "faction_name" inputs work 2024-01-08 08:31:01 +01:00
Gunter Labes
bd2c250386 Remove "name" input of removed attribute 2024-01-08 08:31:01 +01:00
Gunter Labes
ceadb1aafd Make "undead" input work again 2024-01-08 08:31:01 +01:00
doofus-01
937d5cbd9e
1.18 Peasant animations (#8194)
* add peasant death anim

* N/S directional peasant attack frames

* update copyrights
2024-01-07 12:10:57 -08:00
Steve Cotton
441a2cf5e4 Check that every file in copyrights.csv has a license and author
Improve the error messages about the input file needing sorting,
to avoid confusion when successfully creating a sorted output
from an unsorted input.
2024-01-07 15:22:37 +01:00
Celtic Minstrel
b9ff0c51fe Schema: Fix declaring guard_x/y/loc as required keys in stationed_guard MicroAI (they are optional) 2024-01-06 21:35:40 -05:00
Severin Glöckner
932dca3982 show_narration: use label column if only given a string
This matches behaviour in 1.14
2024-01-07 00:00:00 +01:00
Celtic Minstrel
219be073a3 Lua: Fix error when calling wesnoth.print_attributes on a GUI2 widget
This not only fixes the error in the GUI2 widget __dir metamethod,
but also makes the system swallow any errors in said metamethod.
A Lua warning is output if such an error arises.
2024-01-06 12:03:03 -05:00
Steve Cotton
3e3913da82 updated German translation
Thanks Aurelix.
2024-01-06 15:24:02 +01:00
Nils Kneuper
c255620b76 updated Finnish translation 2024-01-06 14:09:29 +01:00
Nils Kneuper
a2a9cdfab1 updated French translation 2024-01-06 14:07:25 +01:00
Nils Kneuper
919ff3cb5a updated Italian translation 2024-01-06 14:05:44 +01:00
Nils Kneuper
cc00a827af updated Arabic translation 2024-01-06 14:03:30 +01:00
Steve Cotton
0d1592bab2 Add po hints for "taught" in the attack dialog 2024-01-05 16:11:55 +01:00
Steve Cotton
9e426d766e UtBS: Units with tailwind have green orbs and rest heal
In UtBS, at the start of the player's turn any units that are next to a
Quenoth Shaman get +1 move (or +2 for some of the L2/L3 shamans).

Without this fix, the buffed units have an orange orb instead of the green
unmoved orb, and don't rest heal next turn (unless the player moves them a
little to make the moves remaining exactly match the max).

The buffed units can move a little and still rest heal; this makes the buff
a little stronger, and the lore explanation is that the shamans can fix the
wounds well enough that a little movement is okay.
2024-01-05 11:07:37 +01:00
Steve Cotton
bc64ea75c5 Fix some multiline po: comments
Multiline comments need the `po:` prefix on each line, otherwise that
line is ignored. This fixes all occurances of this.

Any lines which have nothing after the `po:` are still ignored, so I
haven't added it to the paragraph-break lines. The resulting .pot file
doesn't have paragraphs.
2024-01-05 10:19:44 +01:00
Charles Dang
cdfeb73df6 Replace utils::set_split with utils::split_set
They did the same thing.
2024-01-05 02:29:33 -05:00
Charles Dang
2de180a901 GUI2/Pane: fixed compilation with C++20
C++20 makes aggregate initialization more restrictive. Any user-defined, rather than just use-provided,
constructor is forbidden for an aggregate class, including defaulted ones.
2024-01-04 13:53:07 -05:00
Charles Dang
574f9ded13
Simplified scale IPF implementations (#8200) 2024-01-04 13:50:47 -05:00
Steve Cotton
7c14bee3f8 Add tests for [harm_unit]
This is testing experience=yes and experience=no, with the expectation that
some new values for that attribute will be added afterwards.

Adds a new generic macro ASSERT_UNIT_HP_XP. Looking thorugh the ability tests,
ASSERT_UNIT_HP (without the XP) could be a heavily-used macro, but it wouldn't
be used by this particular commit, so I'm not adding it in this commit.
2024-01-04 17:50:49 +01:00
Gunter Labes
3e41aa0dc5
Confine special handling to only the affected platforms 2024-01-03 16:51:40 +01:00
P. J. McDermott
13d5682487 Save horizontal scrolling inversion check in static variable
Avoids two to four function calls on each SDL_MouseWheelEvent.

Also update code comment and changelog entry based on @vgaming's report
of issue #3362 being fixed.

Slightly improves commit ab4001d.  Tested again with SDL 2.0.14 and
2.28.5.
2024-01-01 16:00:54 -06:00
Pentarctagon
d4b1e7e6c4
Add some more abilities' tests (hides, skirmisher, teleport) 2024-01-01 12:34:08 +01:00
newfrenchy83
fb4ac0b5fb
fix leveling for Kaleh and Nym in Utbs (#8152) 2023-12-31 14:11:05 -06:00
Rafael Silva
61b2e8eb4f
make wml_tag::iterator copy assignable (#8174)
This makes iterators based on this class to meet LegacyInputIterator requirements, allowing them to be used with STL algorithms such as MSVC's `std::find_if`.
2023-12-31 12:16:03 -05:00
doofus-01
508c627543
1.18 - Revise new skeleton sprites (#8156)
* replace skeleton rider, bone knight, and death squire sprites

* update squire to use axe

* fix death knight attack icon

* sprite palette cleanup
2023-12-31 08:33:12 -08:00
gfgtdf
bca7a60852
WC: Fix mapgen always spwaning 3 bonus points in first scenario 2023-12-30 21:35:27 +01:00
doofus-01
963029dd7c
1.18 - graphics for elder falcon (#8165)
* portrait for elder falcon

* elder falcon attack anims

* fix a couple typos in Falcon attack anim

* elder falcon defense anims

* update copyrights.csv (twice, as per the new policy)
2023-12-29 05:44:15 -08:00
P. J. McDermott
7453a942d6 Add changelog entry for horizontal scrolling fix (PR #8137) 2023-12-28 11:14:15 -06:00
Steve Cotton
e07acf71dc Check that copyrights.csv is sorted by filename
When the tool finds new or changed files, it puts them at the top of
the output .csv file for easy editing. However, this means that those
lines move when update_copyrights is run again. It also means that any
two PRs touching images are likely to have merge conflicts, as they'll
change line 2 of copyrights.csv.

Make the CI fail unless the file has been sorted again after editing.
2023-12-28 13:01:11 +01:00
Charles Dang
6bb8c56241
IPF: improve memory safety when constructing mod queue (#8164)
Previously, the mod parser returned a raw to-heap pointer. Once added to a mod queue, it would then
be owned by a shared_ptr (overkill). This makes it so the mod executors are managed by unique_ptrs
for their entire lifetime.
2023-12-27 23:41:33 -05:00
Steve Cotton
356e20f359 EI S04b: Add changelog for fixing the turn limit
S04b's "time over" event triggered on turn 22, even after the turn limit gets
extended. fcfc5dedf553e9ab1fa26a010f19b13586296380 is a fix for the issue, but
I merged it without noticing the lack of info in the commit message.

Thanks to user Emperor for the bug report.
2023-12-28 02:52:29 +01:00
Charles Dang
831ee619e5 MP Match History: display an em dash if a data field is empty 2023-12-27 17:49:30 -05:00
Charles Dang
2836afe644 MP Lobby: increased padding in tab bar 2023-12-27 17:22:55 -05:00