80011 Commits

Author SHA1 Message Date
Gunter Labes
e8e5387069 Improve empty value checks 2022-02-15 19:49:30 +01:00
Gunter Labes
ef2205aa62 Fix comment handling if the value is empty (fixes #6514) 2022-02-15 19:49:30 +01:00
Wedge009
c3aaabd26c Spelling correction.
[ci skip]
2022-02-15 22:23:14 +11:00
Wedge009
4c88909396 Set Chantal's side to have shroud so that share_vision has the intended effect when the player finds her. 2022-02-15 22:08:03 +11:00
Wedge009
f983a998a2 Replace deprecated share_maps and share_view with share_vision.
Closes #6496.

share_maps=yes -> share_vision=shroud
share_view=yes -> share_vision=all
2022-02-15 22:08:03 +11:00
Iris Morelle
3c3e0c28f7
wam: Add the 1.17.x campaignd to port list 2022-02-14 23:00:56 -03:00
Iris Morelle
6582f38948
campaignd: Set the correct port for 1.17.x 2022-02-14 23:00:31 -03:00
Iris Morelle
baf6f5d30a
server: Fix set-but-unused variable warnings 2022-02-14 22:55:59 -03:00
Amir Hassan
6b41eae4e5
reintroduced usage of time_cfg[current_time] in replace_schedule functions #5757 (#6495) 2022-02-13 13:51:41 -05:00
Tahsin Jahin Khalid
9197811d23
Units: set attack icon for the Orcish Nightblade
forward ported from 1.16
2022-02-13 19:25:51 +06:00
Descacharrado
cd287c0b0a Added attack icon to the nightblade's kick 2022-02-13 06:07:00 +06:00
Nils Kneuper
c0d1293757 updated Czech translation 2022-02-12 13:07:55 +01:00
Gunter Labes
933c273b99
Remove excessive newline 2022-02-11 10:54:58 +01:00
newfrenchy83
7cb419f834 remove only_active argument to weapon_specials()
Includes the correction to the docs.

(cherry picked from commits 3fe24cade94b23c8b60616d41b865ad6dd513571
and e348e6da6b6a6a645071dfb9acda2eb4b3a9b0a5)
2022-02-11 06:54:07 +01:00
Steve Cotton
6ccac5a5e8 Change [filter_weapon] to not depend on attack_type::weapon_specials
This changes it to use the function that attack_type::get_value already uses,
thus removing a call to attack_type::weapon_specials. The latter is being
refactored by newfrenchy83, and questions about the effect of that refactor on
this code delayed the review on his PR.

This code is part of the object used for [filter_weapon]formula=, however the
implementation of that filter creates exactly one attack_type_callable, so
doesn't trigger this code. For testing I called it via a debugger.
2022-02-10 06:36:48 +01:00
loonycyborg
c6f9a96a09
Update flatpak build dockerfile 2022-02-09 18:28:38 +03:00
loonycyborg
35211181b4
flatpak: update freedesktop runtime version to 21.08. Fixes #6497 2022-02-09 11:51:27 +03:00
Steve Cotton
6d6d38e5bb Add-ons manager: handle the selected add-on changing in small-screen mode
Fix another instance of issue #3059, where code assumes that all parts of the
add-ons manager's UI are accessible, an assumption that fails when the dialog
uses a stacked widget to handle small window sizes.

The up and down arrow keys select the previous or next add-on in the list,
even when the small-window layout is hiding the list. That feels like a feature
rather than a bug, as it's useful and an understandable UX; however it needs
the fix in this commit so that on_addon_select() doesn't throw an exception
and close the dialog. The new code is the same as the fix that 050feb623b
applied to on_selected_version_change, traversing the stacked widget to get the
info.

(cherry picked from commit 6a72b2e5114619e7736de97d47a1407254f8fa8a)
2022-02-08 17:43:07 +01:00
Pentarctagon
c4a7fce80a
Add additional logging. 2022-02-07 09:38:44 -06:00
MJ
bb0206d1bf Update about.cfg (wesnoth#6475) 2022-02-07 04:09:32 +01:00
doofus-01
7019d0831c
forwardport #6477 (#6487)
* icy stone walls variation for Xos, based on adjacent terrain, not new code

* more variations for rocks, rubble, and snowbits
2022-02-06 16:02:24 -08:00
Celtic Minstrel
759b040069 fix whitespace
The whitespace-fixing script seems to be slightly different depending on the platform.
Even though it produces no effect in the CI, it made these changes locally on my Mac.
I'm committing them now so as to avoid unrelated files being changed in other pull requests.
2022-02-06 00:05:09 -05:00
loonycyborg
dcacc5d3b0
servers: exception safety fix for async_send_doc_queued() 2022-02-06 04:12:38 +03:00
Nils Kneuper
6d4d58522b updated Russian translation 2022-02-05 13:47:14 +01:00
Nils Kneuper
ec1845810e updated Portuguese (Brazil) translation 2022-02-05 13:14:52 +01:00
Pentarctagon
342090a922
Don't name the unused variable. 2022-02-04 15:42:08 -06:00
Pentarctagon
65373b85cf
Log if a forced_unwind exception is caught in game destructor. 2022-02-04 13:40:52 -06:00
loonycyborg
0c4153bc84
servers: log more diagnostic information on caught std::exception 2022-02-04 21:30:18 +03:00
Pentarctagon
0a20217bc8 Make the adhoc add-on download check more detailed.
Originally this simply checked for whether the add-on's directory existed to avoid downloading the same add-on multiple times when migrating from one major release to another. However this then causes add-ons to not get updated when joining a multiplayer game where to person joining has the add-on (so the directory exists) but needs an updated version of it.

Fixes #6383
2022-02-03 12:18:37 +01:00
Pentarctagon
fe55f310a9
Missed renaming this. 2022-02-02 23:15:21 -06:00
Steve Cotton
556c66e4d0 Refactor the backstab unit test
Based on Pentarctagon's documentation addition, and also improving
the encapsulation of the test to take a boolean value for whether
the ability should be active instead of the expected damage total.
2022-02-02 20:46:37 +01:00
Steve Cotton
3439d069d0 Fix deprecation of [advancefrom], mark as already removed
The existing code searched for `[units][advancefrom]` instead of
`[unit_type][advancefrom]`, so wasn't triggering. It was planned
for removal in 1.17, so simply mark it as already-removed in 1.15.3.

The deprecation warning is shown on stdout/stderr, but not in the
in-game UI, so it's generally not visible to players. I think it
would be better if it was visible, but OTOH it's something that's
easy for someone to check all add-ons for with a simple grep.

(cherry picked from commit f2fa807e6107c63aa9b38f36e5ad8a8fcfacf9a9)
2022-02-02 12:00:48 +01:00
Tahsin Jahin Khalid
3c58ffde2a world conquest, artifacts = substitute value= with add=
fixes banner not stacking with leadership
2022-02-02 00:10:20 +01:00
Alexander Lacson
9faaea1b28 Update about.cfg
Add max_torch as miscellaneous contributor.
2022-01-31 23:48:49 +01:00
Bruno Macabeus
3035a1a1e3
Add /clear chat command (#6457) 2022-01-30 21:18:19 +01:00
doofus-01
23a210ab80
various small sprite updates (#6452) (#6459)
* flip water serpent defense frames

* fix layering issue with lizard tail

* update sea-serpent attack icon

* NE anims for swamp lizard
2022-01-29 04:08:42 -08:00
Nils Kneuper
6b2d466bce updated Czech translation 2022-01-29 11:21:21 +01:00
newfrenchy83
6ba2ae1076 update codeblock projectfiles 2022-01-27 11:41:29 -06:00
Steve Cotton
30a87e1391
Temporarily re-introduce the SPECIAL_NOTES macro (#6463)
While this will be deleted before 1.18, at the moment UMC authors
are still working on 1.16. While the 1.17 branch is being used for
new development in the engine, I think it's more useful to be able
to run 1.16 UMCs that test engine edge cases rather than force the
UMCs to be upgraded for 1.18's macros.

There's currently circa 1200 units using `{SPECIAL_NOTES}` in
Ageless Era, probably requiring manual checks to update them.
Another option would be to `#define SPECIAL_NOTES` in the UMC
itself, but that would likely also mean that the warning was
silenced when running on 1.16, and few of the 1200 units would
get fixed during the 1.16 cycle.

This reverts part of commit 61fa3627818c1a3fb5181a21fc651b67d17b133a.
2022-01-26 19:12:46 -05:00
Wedge009
101359b06c Capitalise direct references to the completed Sceptre of Fire.
Arguably, references to generic sceptres, as is the case with references to the Sceptre of Fire before its completion throughout the rest of this campaign, ought to use the default US English spelling of 'scepter'. This was the case in The Rise of Wesnoth where Haldric quips that the Ruby of Fire should be made into a 'scepter'.

[ci skip]
2022-01-26 19:01:57 +11:00
Alexander Lacson
ec66a0a832
SoF Proofread Pass and Campaign Prose edits (#6177)
* SoF Proofread Pass and Campaign Prose edits

This is a proofread pass. But this also has edits that are more than just minor edits which try to improve the campaign text.

commit

* SoF Proofread Second Draft

This is a changelog relative to the first draft:
- Fixed up "nor" in S1.
- reverted the ellipsis I added to indicate pause in story part of S2.
- Reworded my edit in S3 to be closer to the original.
- Followed Wedge's suggestion for S4.
- S5: Exchanged Shorbear dwarves and elves, removed introductory clause in ln 560, rewording in ln 592.
- Reverted my edit in S6.
- in S8, converted comma into ellipsis to indicate pause.
- S9: Reworded exposition of Thursagan, changed wording in ln1221, changed a period to a semi-colon.

* SoF Proofread Third Draft

* Update 4t_The_Jeweler.cfg

* Update 1_A_Bargain_is_Struck.cfg

removed a comma

* Update 1_A_Bargain_is_Struck.cfg

* More prose edits (SoF)

* Update 4t_The_Jeweler.cfg

* SoF Proofread Pass edits

* Capitalize Sceptre

* S5 and S9 small dialog change

* S6 change semicolon to period

* S9 change semicolon to exclamation
2022-01-26 18:48:57 +11:00
Pentarctagon
263e9d7d4f Replace MAKE_ENUM of CONTROLLER with something easier to use.
CONTROLLER is now defined in a single small header that can be easily read without needing to look through a bunch of Boost macros to figure out how it all works. Using the string values of the enum is now also much simpler since they're just constants of the side_controller class.
2022-01-25 16:57:29 -06:00
Steve Cotton
e359635bb2 Editor: document the magenta D and the special terrain overlays
This adds help documentation for:
* The deprecated terrain marker
* XO and UO movement overlays
* Castle, keep and village overlays
* Fake Shroud

(cherry picked from commit bd9444ef06e751dadaa39a08eec2305620ea4f57)
2022-01-25 12:32:33 +01:00
Steve Cotton
d3e1c73ca1 Terrain special notes: change "on to" to "onto"
Using a single word makes it consistent with the existing prose.
2022-01-25 09:58:12 +01:00
Steve Cotton
1afb7effc4 Add a "special notes" section to terrain help pages
The notes are automatically added based on the terrain's properties,
there isn't a way to add or remove them in WML.

Any questions about negative values for gives_healing() are issue #4232.
2022-01-23 03:41:07 +01:00
Nils Kneuper
f8f1c75a48 updated Portuguese (Brazil) translation 2022-01-22 11:38:41 +01:00
Nils Kneuper
c3d59a4c86 updated Italian translation 2022-01-22 11:36:58 +01:00
Descacharrado
cfd32880b8
HttT S04, S05b & S06 Role code enhancement (#6436) 2022-01-22 08:20:35 +01:00
Tahsin Jahin Khalid
338c3f76f1 world conquest: update changelog on HP vanishing bug fix
that leaves only 1 bug left to patch
2022-01-20 00:46:48 +06:00
Tahsin Jahin Khalid
c79e742c62 WoF S3: fixed a typo
"recieve" --> "receive"
2022-01-20 00:45:41 +06:00