82746 Commits

Author SHA1 Message Date
Steve Cotton
162c65bedb WoF S01: Improve po hints 2024-01-19 11:41:09 +01:00
Steve Cotton
6ffc6051a6 WoF S12: Leave the epilogue much more open-ended
The replaced first line added facts into canon that didn't need to be there.
Also, that text felt too similar to some real-world racism, which is why I'm
pushing this change during the string freeze.

In discussion during review, the last two lines felt more like the start of
another story than part of WoF itself.
2024-01-19 11:41:09 +01:00
Gunter Labes
f8d8b1b161
Allow overriding tmpout 2024-01-18 22:29:16 +01:00
Toom
c3bc1f3bbe
Show accuracy/parry as weapon specials in html, fixes #7895 (#8259) 2024-01-18 22:01:53 +01:00
Gunter Labes
df359880e4
Double check executables were produced 2024-01-18 11:47:34 +01:00
Toom
2056be55a3
Support [harm_unit]experience values kill/attack/defend/fight/yes/no (#8231) 2024-01-18 11:32:18 +01:00
pentarctagon
1f50e0f2d2 fixup again 2024-01-17 21:02:42 -06:00
Toom
815af53a75 Add warning when [modification]type is not set, re #3415 2024-01-17 19:48:44 -06:00
pentarctagon
0052d26e54 fixup CI's strict usage
it should only be disabled for wesnothd/campaignd, not for everything
2024-01-17 19:38:12 -06:00
Severin Glöckner
d6d2a4f996 systemd: drop _ prefix from username
man 5 sysuses.d recommends:
It is strongly recommended to pick user and group names that are unlikely to clash with normal users created by the administrator.
A good scheme to guarantee this is by prefixing all system and group names with the underscore, and avoiding too generic names.

Looks better without underscore. wesnoth is unique enough to not clash, most daemons on Arch don't have an underscore either.

The group is created implicitely when the user is created.
2024-01-18 01:27:01 +01:00
gfgtdf
8039781676 fix unit:to_map(loc) #8229
lua_unit::put_map already removes the unit previously on that tile, and doing it here causes an error when the unit was on that tile already.
2024-01-18 00:58:57 +01:00
pentarctagon
34c8753878 forgot to remove this too 2024-01-17 08:56:46 -06:00
pentarctagon
e521b6414f deprecated method in mariadbpp 2024-01-17 00:38:11 -06:00
pentarctagon
453dbc685f Enable stricter checks for debug builds.
Use _GLIBCXX_DEBUG, _GLIBCXX_DEBUG_PEDANTIC, and _GLIBCXX_ASSERTIONS for the debug Ubuntu build.
2024-01-17 00:38:11 -06:00
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