81382 Commits

Author SHA1 Message Date
doofus-01
4646f5c720
Update changelog.md 2022-11-19 16:50:33 -08:00
doofus-01
94cc48427f
1.17 dunefolk falconer portrait (#7061)
* adding dunefolk falconer portrait
2022-11-19 16:45:43 -08:00
Andrei BENCSIK
2534c6184e Refactor autodetect_game_data_dir into function
the code that does autodetection looked like it could be put inside a
function - add a function that explains what it does

avoid some string copying and move where possible

use scoped ifs (c++17) to limit scope of local variables
2022-11-19 12:34:14 +01:00
Tahsin Jahin Khalid
fa21978458
HttT S14: give Relgorn his missing traits
Note: he only appears for 1 scenario, and in an ending cutscene. Does not affect balance or difficulty.
2022-11-19 15:26:24 +08:00
Steve Cotton
e3deff8bfd Make undo work again, undeprecate on_event()
Fixes #6898. The issue is that non-WML events added through the new events API
always disable undo with no equivalent of WML's `[allow_undo]`. The long-term
fix is to add a way to do that; however until that's available then listeners
for `moveto` need to use the old `on_event` API. The old `on_event` API can't
be deprecated yet, and this is enforced by our unit tests (the build fails if
there are unexpected deprecation warnings during the tests).

Reverts most of 7e234f8833282424b3535b9c334c751748f7222b. Does not revert files
that only listen for non-undoable events such as `die` or `new turn`.

Reverts the deprecation part of #5663's 8cd133263058a5df85f64988e348d2cf54d13a48.
2022-11-19 05:23:30 +01:00
Andrei BENCSIK
aa3d399f9d use emplace_back()'s return to swap string 2022-11-19 05:22:31 +01:00
Andrei BENCSIK
03a70c5a2d Simple refactor in read_argv
use argc to reserve space in the args vector
remove explicit constructor used in `push_back` vs `emplace_back`
2022-11-19 05:22:31 +01:00
Nils Kneuper
22c304f336 updated French translation 2022-11-19 02:10:12 +01:00
Pentarctagon
2fa3f32eec Changelog update. 2022-11-18 09:57:54 -06:00
Tahsin Jahin Khalid
f33480e3c0 HttT S14: give Relgorn his missing traits 2022-11-17 15:58:24 +08:00
Jonathan-Kelly
eac522597d Slightly reduce merfolk forest and hill move cost
From 5 to 4. Makes moving them from one water body to another somewhat less tedious. Likewise makes merfolk units a bit more viable on maps with separated waterways.
2022-11-16 22:39:29 -06:00
Tahsin Jahin Khalid
06297cfdc6
Make Nightblade the default advancement for Slayer
Make Nightblade the default advancement for Slayer
2022-11-17 12:03:26 +08:00
Wedge009
ced504a97f LoW S9: Remove standard enemies-defeated as a victory condition.
Resolves #7130.
2022-11-16 11:54:01 +11:00
Jonathan-Kelly
1ba0a11a18 Make Nightblade the default advancement for Slayer 2022-11-14 17:22:25 -05:00
Wedge009
bdc236e0a0 Disable saving of replays for story-only scenarios.
Resolves #6180.
Resolves #7123.
2022-11-14 19:54:05 +11:00
doofus-01
b0d327ea3c
1.17 - standing animations for zombies (#7102)
* standing animation for default walking corpse

* mounted (horseman) WC standing anim

* default soulless standing animation

* mounted soulless standing anim
2022-11-13 16:47:22 -08:00
Pentarctagon
b1587223a1 Add some more unit test documentation.
Also split some larger tests into multiple smaller tests.
2022-11-13 16:35:06 -06:00
Wedge009
765cf1e79f Add screenshots directory to game version dialogue.
Resolves #7096.
2022-11-12 20:34:33 -06:00
Nils Kneuper
540b3a1fe3 updated Czech translation 2022-11-12 19:43:05 +01:00
Nils Kneuper
4edc8ef73e updated French translation 2022-11-11 18:39:59 +01:00
Iris Morelle
b6f8d971e7 Use std::size_t instead of int for generic iteration
This was caught through a mishap with -Wshorten-64-to-32 on Xcode,
and seems like a disaster waiting to happen with a sufficiently
large input ("this will never happen" kinda stuff waiting to be
proven wrong).
2022-11-09 14:19:35 +01:00
doofus-01
3f4eebc177
1.17 Horses updates (#7072)
* update great horse

* update white horse

* update dark horse
2022-11-06 12:45:20 -08:00
Nils Kneuper
2a56e6957a Polish translation: removed some "\v" that should not occur 2022-11-06 11:16:41 +01:00
Nils Kneuper
fc291a1fef updated Polish translation 2022-11-06 11:15:10 +01:00
Nils Kneuper
2fc6ab051b updated French translation 2022-11-06 10:48:07 +01:00
newfrenchy83
69ebfc6da6 Fix "Chance to hit" not translated in tooltip 2022-11-06 15:07:03 +11:00
Pentarctagon
0ac49cf126 Update vcpkg baseline. 2022-11-05 20:49:36 -05:00
doofus-01
4c61f07812
add missing terrain type alias to elevation markers (#7092) 2022-11-05 15:28:32 -07:00
Kingofd
4b8d4f1fb5
Adding language filter option in addon menu (#7048)
Resolves #1063
2022-11-05 12:04:55 -05:00
loonycyborg
27cb68b769
Update msys2 base docker image 2022-11-05 19:32:52 +03:00
Nils Kneuper
2d18e97efe updated Portuguese (Brazil) translation 2022-11-05 10:58:48 +01:00
Steve Cotton
b18b0e0f55 Add unit tests for [break] and [return] during [fire_event]
Fixes #7084.
2022-11-05 06:21:30 +01:00
Charles Dang
0f47405a96 Removed image::set_zoom
Unused
2022-11-04 18:56:07 -04:00
Pentarctagon
9efc202d33 Have langcode_to_string() look at all languages.
Previously by default langcode_to_string() would only look at languages based on them meeting the minimum percent translated to be selectable by default from the main menu. This is incorrect since an add-on's translation has no relation to the state of the translation of mainline.
2022-11-03 16:18:42 -05:00
Wedge009
26adbf4416 wmllint: As requested, adding recognition of WebP image labels.
Extension of #7079.
2022-11-03 11:26:30 +11:00
Wedge009
c8a0f9b9ca DM S21: Show Delfador crossing at the Ford of Abez and take a route to Weldyn via Tath.
Resolves #7081

[ci skip]
2022-11-03 11:16:56 +11:00
Wedge009
2010ffdbba
wmllint: Ignore labels for translation if a PNG extension is found (#7079)
* wmllint: Ignore labels for translation if a PNG extension is found.

Resolves #6995.
2022-11-03 11:16:37 +11:00
Wedge009
80b33deb9b SoF S9: Separate Toomak's last breath message from the events following his death. 2022-11-03 11:15:55 +11:00
Pentarctagon
16b900c273 Add documentation to more WML unit tests. 2022-11-02 15:16:23 -05:00
Pentarctagon
5d174a3493 Update lobby tab text. Resolves #7056 2022-11-01 19:24:05 -05:00
Pentarctagon
d98d5bea2f Add some more tests for config's attribute handling. 2022-11-01 13:28:21 -05:00
Wedge009
29a2add33f zombie-rat.png -> zombie-rat.webp 2022-11-01 22:57:48 +11:00
Wedge009
dc2ccab119 Correct non-standard spacing.
[ci skip]
2022-11-01 22:55:07 +11:00
Wedge009
0d87d022bc UtBS: Add missing text domain.
[ci skip]
2022-11-01 22:35:00 +11:00
Wedge009
7ab7abc22e WC: Mark OK button for translation. 2022-11-01 15:49:09 +11:00
Dou1622
a667740fe5
Fix wmllint translation mark errors (#6966)
* Fix wmllint translation mark errors

* Added wesnoth-help domain

* Try to give better labels for the WC map generator settings which are now marked for translation.

Co-authored-by: Wedge009 <wedge009@wedge009.net>
2022-11-01 13:40:49 +11:00
demario
ce06a1b81a Fix male Dark Horse name 2022-11-01 13:36:35 +11:00
Wedge009
893eb26315 DM S16: Show Delfador taking a more direct route to Weldyn.
Resolves #7067

[ci skip]
2022-11-01 09:36:18 +11:00
Dou1622
858f2d2496
Fix unknown speaker errors (#7016)
* Fix unknown speaker or id errors

Co-authored-by: Wedge009 <wedge009@wedge009.net>
2022-10-31 08:17:51 +11:00
Nils Kneuper
0b4de7180a updated French translation 2022-10-29 12:20:02 +02:00