80034 Commits

Author SHA1 Message Date
Tahsin Jahin Khalid
49f89acaee [world conquest] add section on era manipulation 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
2de6746286 world conquest: convert file from .txt to .md 2022-02-18 10:13:42 +01:00
Tahsin Jahin Khalid
aa596a8c03 update modding instructions
if umc era authors follow this now, they can actually override the enemy array
2022-02-18 10:13:42 +01:00
Pentarctagon
11631775a4 Add code comments stating what each unit test is testing. 2022-02-18 02:32:04 +01:00
Celtic Minstrel
14865d0afd Lua: Fix incorrect check for string type 2022-02-17 13:49:01 -05:00
Celtic Minstrel
e518fe622b Lua: Fix a deprecation warning in the hex reference API 2022-02-17 13:48:58 -05:00
Celtic Minstrel
e1300e29b0
Lua API: Add inline documentation for pretty much everything and convert existing docs (#6483)
The new format is EmmyLua-based and can be used with (at least) Visual Studio Code.
2022-02-17 13:43:31 -05:00
Wedge009
c836a81f67 Replace deprecated placement=map_overwrite. 2022-02-17 16:04:08 +11:00
Pentarctagon
02cdde963b
Mark PUA as MP-only so it doesn't show up as available for campaigns. 2022-02-16 14:48:46 -06:00
newfrenchy83
252f227234 update instruction for compilate boost libraries 2022-02-16 10:53:52 -06:00
Wedge009
47ec300d54 HttT S17: Comply with current Wesnoth Lua API specifications
wesnoth.special_locatioons is deprecated.

Resolves #6517
2022-02-16 16:46:25 +01:00
Pentarctagon
dba9bf2a5d
Workaround doxygen issue.
The root cause seems to be a parsing issue in Doxygen, described in #6528. So given this isn't our own code and we want to keep the numbner of patches that need to be applied to a minimum, tell Doxygen to ignore the lua source directory entirely.

This does then (somehow) reveal another issue in another unrelated source file where it's referencing a method in its documentation that doesn't actually exist.

Fixes #6528
2022-02-16 09:14:02 -06:00
Alexander Lacson
518becac59 [wmltools] Fix Docstrings
docstrings of the keyboardinterrupt handler.
2022-02-16 12:12:37 +01:00
Alexander Lacson
24098cb54a wmlxgettext and wmlindent change exit code
For keyboard interrupt change exit code from 0 to 1.
2022-02-16 12:12:37 +01:00
Elvish_Hunter
528ea56424 wmllint and wmlindent: avoid crashing on non-UTF8 files
Fixes #2091
2022-02-16 10:59:05 +01:00
Elvish_Hunter
cde990a9a0 wmllint: handle deprecated [unit] placement= values 2022-02-16 10:53:29 +01:00
Charles Dang
5a29b963d7
Merge pull request #6527 from wesnoth/Upgrade_to_Lua-5.4.4
Upgrade to lua 5.4.4
2022-02-16 01:14:37 -05:00
Charles Dang
778e916b95 Reapply static_cast fix from 561cc33dc41d5b1561934d5c9e184f1da8545195 2022-02-15 23:16:20 -05:00
Charles Dang
dd509518e0 Upgrade to Lua 5.4.4 2022-02-15 23:09:15 -05:00
Tahsin Jahin Khalid
d3472d9be7 SoF: update changelog on thursagan bug fix 2022-02-15 22:06:51 +01:00
Tahsin Jahin Khalid
c168b63c33 SoF: fix thursagan's arcanister advancement breaking in some cases 2022-02-15 22:06:51 +01:00
Gunter Labes
9f87a2a9e6
Remove ancient check
No `letter` attribute for terrain since more than a decade.
2022-02-15 20:15:30 +01:00
Gunter Labes
8f4331f9d2
Remove condition improperly added in 49318f6
The intention was to check for strings with only spaces but the test checked for
spaces at the start of the string. Neither seems useful.
2022-02-15 20:00:00 +01:00
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