79946 Commits

Author SHA1 Message Date
Elvish_Hunter
28012997d2 Removed no longer necessary {CLEAR_VARIABLE heal_amount} lines 2022-01-16 17:23:09 +01:00
Elvish_Hunter
608a2bf85e Improved variable setting in [heal_unit] and [harm_unit] 2022-01-16 13:13:52 +01:00
Nils Kneuper
1456066d4d added Spanish (Latin American) translation 2022-01-16 13:03:14 +01:00
Tahsin Jahin Khalid
3f504a4f7f changelog: update statement on WoF
(my text editor did not save the full sentence)
2022-01-16 15:13:16 +06:00
Tahsin Jahin Khalid
51b8f45906 WoF: update changelog to document campaign addition 2022-01-16 15:11:53 +06:00
Jonathan-Kelly
6acb7ec7bd
Winds of Fate (Drake campaign): add to mainline (#5831) 2022-01-16 04:06:12 -05:00
Nils Kneuper
b3d13f3d82 updated Scottish Gaelic translation 2022-01-15 13:17:37 +01:00
Nils Kneuper
2d7b9094fc updated Japanese translation 2022-01-15 13:14:32 +01:00
Nils Kneuper
2c9caf6df4 updated Italian translation 2022-01-15 13:13:30 +01:00
Nils Kneuper
a523f27314 updated Chinese (Simplified) translation 2022-01-15 13:12:31 +01:00
Nils Kneuper
e0a93c4ab1 updated Czech translation 2022-01-15 13:11:28 +01:00
Elvish_Hunter
bcab977c03 Removed some duplicated images used by the obsolete unit_box theme 2022-01-14 22:15:55 +01:00
Charles Dang
d37824f9e4 Support config assignment from std::string_view 2022-01-14 14:12:59 -05:00
Charles Dang
432ed5c32f Added openssl to vcpkg list explicitly 2022-01-14 14:12:19 -05:00
Charles Dang
d473176f86 Spirit PO: used non-deprecated boost phoenix headers
See 4ea7e3a7b7
2022-01-14 13:33:36 -05:00
Charles Dang
2801040956 Readline should not be mandatory 2022-01-14 13:32:37 -05:00
Pentarctagon
a1537aefdf
Update the cache ID to try and get the vcpkg cache working again. 2022-01-14 10:48:42 -06:00
Pentarctagon
129deb47ec
a few macOS WML unit tests will sometimes timeout so increase the limit. 2022-01-14 10:44:36 -06:00
Elvish_Hunter
1fa069aeb7 Fixed some wmlscope warnings 2022-01-13 21:20:48 +01:00
Pentarctagon
c48ab6bb55
Check for pango and readline with cmake.
Fixes #6444
2022-01-13 13:45:24 -06:00
Steve Cotton
e26a15cec2 Don't leave a hex selected when using 't' to continue a move
Fixes the minor part of issue #6292, that functionality showing the path
to a selected hex was active after continuing an interrupted move. That
feature is completely separate to the main bug of #6292, but it looks
confusingly similar in testing. The intended way to activate this feature is
via the "Select Hex" hotkey, which doesn't have any keybinding by default, so
should only be reachable by people who want the feature.

It would be good to refactor the movement handling so that it's not split
between mouse-handling and menu-handling files, but it would also need a lot of
work and would be out-of-scope for backporting to 1.16.

(cherry picked from commit 8351fec2aeb36a3a408bfd7fb89e7aa5d31723ba)
2022-01-13 10:46:43 +01:00
Steve Cotton
978229c247 Only show planned moves to self and allies
Fixes #6292, that the planned final destination from multi-turn moves and
interrupted moves was visible to enemies. There are three side-numbers involved
in this logic, listed below; the GUI code was checking whether the move should
be visible to the player whose turn it is, rather to the viewing team.

* un->side(), the owner of the unit
* mouse_handler::side_num_, the side whose turn it is
* viewing_team(), the side of the player whose computer this wesnoth-client is
  running on, thus which side's shroud and fog should be applied.

The plans are still hidden for units belonging to local AI sides, to hide any
goto_x,goto_y settings by campaign authors. The edge case in multiplayer of
allied network AI sides isn't tested here, but I think it's a trivial matter
whether or not those plans are shown.

(cherry picked from commit af0968d9c35325ce3b4bdbdb18c6112ea9ed137b)
2022-01-13 10:46:43 +01:00
Pentarctagon
0679eeba30
Turns out github actions doesn't have a macOS ARM CI. 2022-01-12 11:53:35 -06:00
Steve Cotton
eacf26a2a8 Fix [store_unit]'s stored coordinates for recalls
Units on the recall list might have x,y coordinates that are on the map, which
therefore need to be replaced with "recall,recall" within [store_unit]. The
existing code created a temporary variable, changed the coordinates, and then
returned the unchanged original instead of the temporary.

Add a new test that `[put_to_recall_list]` followed by `[modify_unit]`
doesn't move the unit back to the map.

(cherry picked from commit 096d8aba1474e9c6583d240e7eedbcd66957f327)
2022-01-12 06:57:35 +01:00
Pentarctagon
dde6f2ba6a Run the WML unit tests on macOS.
Not really sure why they're able to run now.
2022-01-11 16:06:00 -06:00
Tahsin Jahin Khalid
b8b133baa2 World Conquest: updated changelog on bug fixes 2022-01-12 00:37:13 +06:00
Elvish_Hunter
6227507af7 wmllint: fixed a typo in a terrain code 2022-01-11 14:23:44 +01:00
Tahsin Jahin Khalid
62ae23adfa
World Conquest: Fix for Winged Scepter bug
The Winged Scepter item will now grant flight movement and defences as stated in the description (and not just movement as it did before).
2022-01-11 16:12:07 +06:00
Discontinuum
dc917e2404
Fix Winged Sceptre bug in WC
It only worsened defenses instead of only improving
2022-01-11 06:18:58 +04:00
Elvish_Hunter
5a50c03aaf wmllint: fixed Ggf -> Gg^Emf and Qv -> Mv terrain conversions 2022-01-10 21:02:20 +01:00
Wedge009
1f662a7acd Spelling correction.
[ci skip]
2022-01-10 17:29:51 +11:00
Descacharrado
48c7ba7c28
UtBS S04 - enhance goblin leader trigger "how can he move that fast?" (#6427)
* enhance fast moving trigger
2022-01-10 17:16:28 +11:00
Pentarctagon
7a3fdc694b
Upload source/installer files as separate artifacts. 2022-01-09 21:00:43 -06:00
Steve Cotton
2afc7f80bd Fixup 5b18f2df4 (trailing whitespace) 2022-01-09 07:35:39 +01:00
Tahsin Jahin Khalid
88897e0152 world conquest: correct era name and include Dunefolk in wocopedia description
Dunefolk were re-added and then later included in 3 new faction pairings for the master branch.
2022-01-09 04:59:54 +06:00
Elvish_Hunter
4009a344c3 Added missing backticks 2022-01-08 22:29:57 +01:00
Elvish_Hunter
38855ba399 Fixed a gui.get_user_choice() call in the test scenario 2022-01-08 22:29:56 +01:00
Elvish_Hunter
5b18f2df4c Fixed broken gui.get_user_choice() 2022-01-08 22:29:56 +01:00
Nils Kneuper
7340f51743 updated Chinese (Simplified) translation 2022-01-08 12:12:24 +01:00
Nils Kneuper
2995823502 updated Turkish translation 2022-01-08 12:10:42 +01:00
Nils Kneuper
63de55b30a updated Portuguese (Brazil) translation 2022-01-08 12:09:41 +01:00
Nils Kneuper
462ecd27af updated Italian translation 2022-01-08 12:08:47 +01:00
Elvish_Hunter
9c378e05bc Ran wmlindent 2022-01-07 13:16:00 +01:00
Elvish_Hunter
f14267db14 Silence a few wmlscope warnings 2022-01-07 10:59:07 +01:00
Pentarctagon
79694e18c0
Don't check controller type when it's not present. 2022-01-03 16:21:06 -06:00
Wedge009
d1f3a195a2 Remove non-standard spacing and replace hyphen with em dash as per typography standards.
[ci skip]
2022-01-03 13:20:54 +11:00
Wedge009
b775ba81b8 Remove non-standard spacing.
[ci skip]
2022-01-03 13:08:01 +11:00
Wedge009
5a1dbc3d34 Remove non-standard spacing.
[ci skip]
2022-01-03 13:04:16 +11:00
Wedge009
7a2f327a23 Remove non-standard capitalisation.
[ci skip]
2022-01-03 12:43:13 +11:00
Wedge009
807e48c33f Spelling correction.
[ci skip]
2022-01-03 12:40:36 +11:00