84759 Commits

Author SHA1 Message Date
pentarctagon
1c34429027 pot-update and regenerate doc files 2025-01-19 11:51:22 -06:00
pentarctagon
a59074b498 changelog_entries 2025-01-19 11:46:48 -06:00
pentarctagon
8920489f54 Revert "remove unused handler"
I'm not sure how it's possibly useful, but apparently this can be sent by the python client

This reverts commit fdc8d92fe6c38c995e0ef02c7fd219841da41ad8.
2025-01-19 09:48:05 -06:00
pentarctagon
fdc8d92fe6 remove unused handler 2025-01-19 09:36:31 -06:00
pentarctagon
cd8e88db7b add manpage documentation
rename some lambdas

fix the admin delete checking against the add-on's username/password information
2025-01-19 09:31:28 -06:00
Gothyoba
a35291dc1c Change display name of Tutorial Achievement Group
Changed from Tutorial to Old Tutorial given the TSG Rework.
2025-01-19 09:18:20 -06:00
Gunter Labes
19d957e925
Avoid logging sensitive data 2025-01-19 12:59:54 +01:00
Gunter Labes
f3383e1f0f
German translation update 2025-01-19 11:46:09 +01:00
Charles Dang
7bd6896261 MP/Method Selection: reduce excess borders 2025-01-18 21:40:50 -05:00
Charles Dang
0c8d528dce Rect: replace subrect with precise_subrect
Turns out the loss of precision over subsequent uses of subrect results in incorrect rendering, even if you round in point_at.

This makes it a non-member function so it can work with both rect and SDL_FRect as input.
2025-01-18 21:39:52 -05:00
Thewodoros
5e3392572b Improve message readability
Strikethrough text reads easier when it's more than on word.
2025-01-18 16:08:40 -06:00
Thewodoros
8869a68c60 Fix elixir description message
It seems to have full effect on cavalry.
2025-01-18 16:08:40 -06:00
Thewodoros
4655085c9a Improve Soradoc and outposts location descriptions
Make Soradoc the easternmost town, and the outposts even further east,
which seems more natural description according to the current maps.
2025-01-18 12:35:46 -06:00
Charles Dang
5dabb53088 GUI2/Units Dialog: simplify header handling
Any column with a sorter will automatically be shown. Also removes the show_header config option from the Lua wrapper.
2025-01-17 22:55:42 -05:00
Charles Dang
2371b8cc0d GUI2/Listbox: explicitly show header toggle when setting sorter
This is mainly for the units dialog code, which hides all the sorters beforehand. I decided to put it here, but in future we might want it to be more targeted, in case it becomes an unexpected side effect.
2025-01-17 22:53:35 -05:00
Charles Dang
a6afd31632 Don't bind lambdas 2025-01-17 21:02:15 -05:00
Charles Dang
3aaa93a65a Clear window backbuffer before rendering
Even though we direct all intermediate rendering to our own backbuffer, SDL recommends clearing the window backbuffer before drawing to it. I don't know if this changes anything with our usecase, but best to follow their recommendations, since SDL interacts with the underlying display driver.
2025-01-17 21:00:47 -05:00
Severin Glöckner
071da35a6a wmllint: more precise rule
More precise rule to not match units in Ageless.
2025-01-18 02:07:22 +01:00
Gothyoba
f1b5f271cc Fix typo 2025-01-18 10:18:33 +11:00
Gothyoba
b8f2af62d0 Warn against old tutorial in description 2025-01-18 10:18:33 +11:00
Dalas121
5b5e29ffcb
TSG: use data/resources (#9757)
When TSG was created (and when TSG's PR was created), data/resources did not exist. Now that it does, replace TSG's campaign-specific weather with data/resources.

To fix CI errors, replace the old resource "extra_defines" system with manual includes instead (including in EI).
2025-01-17 16:49:37 -06:00
Subhraman Sarkar
939ba4f7b4
texture: use size instead of w/h pair and reduce direct SDL calls (#9754)
Co-authored-by: Charles Dang <exodia339@gmail.com>
2025-01-17 13:58:02 -05:00
Nils Kneuper
ae9bd4167a updated British English translation 2025-01-17 19:48:49 +01:00
Nils Kneuper
a6a3510283 updated Dutch translation 2025-01-17 19:47:30 +01:00
Gothyoba
257215a689 Fix typo in TSG Comment
becuase -> because
2025-01-17 13:33:35 -05:00
Thewodoros
5b04e523b9 Allow undo move if not picking item or elixir
If we select the option to leave the item on the ground, we should be
able to undo and move another unit to take it.
2025-01-17 11:09:12 -06:00
Gothyoba
063670cd38
Encyclopedia Revision for TSG: Re-Revised (#9253)
An encyclopedia revision partially for TSG: Re-Revised:

    Explain BF (Before the Fall) in the calendar page. This is not used in mainline, but appears in the game’s code and can be be used by UMC or future mainline content.

    Made spacing throughout the encyclopedia consistent.

    Added a detail on Mount Morogor being the highest active volcano in Morogor, not just a random volcano. This makes it appear more sensible that it is included.

    Added the Island of Gaall and Isle of Omarath to Morogor, shown WoF. IIRC no other islands in Morogor are named in WoF.

    Mentioned Kerlath and the Far South at the end of the Wesnoth description.

    Removed reference to Blackmore being Wesfolk to prevent contradicting certain add-ons

    Clarified Kerlath is the southernmost province in the Westin description, not just a southern province.

    Added Southport to the Wesnoth section from the TSG Re-Revision.

    Mentioned farmland in the periphery of Elensefar, mostly to fix a minor nagging lore inconsistency where Elensefar is always shown on the island in the Great River in scenario maps, but is shown south of it in the large map of Wesnoth. Since there are usually some village around Elensefar, some farmland made sense.

    Removed the Southwood due to its removal from the TSG Re-Revision.

    Added the Vale of Blossoming Trees and Lake Aelin to the section on Southwestern Elves.

    Replaced "men" with "humans" in the Northlands description, which I accidentally copied from the old description. I see no reason for this not being gender-neutral. (Actually, these small changes could be merged separately earlier)

    Mentioned Saurgrath in the Northlands.

    Replaced Bay fo Jotha in Jotha’s descriotion with “South of Bitok”

    Added a description of the Mourned Hills which mentions Lmarig, as suggested by CelticMinstrel

    Added the Acanclave Citadel in the Far North from the MP Map

    Remove explicit mention of Dunefolk in the Far South and mainline Isanbar and the Ashland Desert.
2025-01-17 10:35:57 -06:00
Gunter Labes
b5e92f6418
Fix determination of changed files in PRs 2025-01-17 17:12:45 +01:00
Dalas121
e4c35031f7
The South Guard: add Dalas's tutorial revision to mainline (#9682)
This PR replaces the current TSG with Dalas's TSG tutorial revision from the addon server.
2025-01-17 08:26:44 -06:00
Charles Dang
5962f6b755 Bump vcpkg baseline 2025-01-16 17:51:33 -05:00
Thewodoros
072392d16b Remove unused BRAZIER_ILLUMINATION schedule
Instead of it, other more specific schedules
(BRAZIER_ILLUMINATION_LONG_NIGHT, BRAZIER_ILLUMINATION_SECOND_WATCH,
BRAZIER_ILLUMINATION_MORNING) are used in the scenarios.
2025-01-16 07:30:14 -06:00
Thewodoros
cada5ce359 Remove unused time of day
It was used by removed NORTHERN_WINTER_SCHEDULE.
2025-01-16 07:30:14 -06:00
Dalas121
d498ea2182
amlas resource; add comment explaining [allow_undo] 2025-01-16 07:17:51 -06:00
Gunter Labes
99e5abcf19 Add missing keys to the schema 2025-01-16 14:03:23 +01:00
Subhraman Sarkar
1c460f17a1 celes theme: fix infinite preprocessor loop 2025-01-16 14:47:12 +05:30
Subhraman Sarkar
1be5ec32c2 celes theme: various adjustments
1. make the gold color less bright
2. add hover states to radio and checkbox and update disabled state
3. make hover states of language and about button consistent with other buttons (white -> yellow)
2025-01-16 11:26:12 +05:30
Pentarctagon
d8abcff103
wesnothd: use lambdas instead of rs_base (#9747) 2025-01-15 21:14:00 -05:00
Iris Morelle
5a7bd7c51f
gui: Better positioning of submenus in the main UI (#8517)
This makes it possible to fetch the on-screen coordinates of a drop
down menu item as the menu is dismissed by clicking on it so the
caller can use these coordinates to make a more informed decision as
to where to spawn a submenu, improving the previous mechanism wherein
the submenu would have its top left corner set at the mouse's location
which would produce different results depending on where exactly in
the menu item's box the mouse was at the time the parent menu was
dismissed.
2025-01-15 21:02:02 -05:00
Subhraman Sarkar
20c95a472c advanced preferences: simplify name
removed redundant information.
2025-01-16 06:38:38 +05:30
Wedge009
a5a7b46685 Replace an instance of wrong quote orientation.
[ci skip]
2025-01-16 10:44:39 +11:00
Wedge009
a5a84c47be EI: Remove unused schedule macro, closes #9748.
[ci skip]
2025-01-16 10:22:54 +11:00
Dalas121
c77c2077a6
amlas resource, use translatable unit name for help message 2025-01-15 15:57:57 -06:00
Dalas121
8a579ca087
stronger AMLAs resource - allow undo 2025-01-15 15:06:11 -06:00
Celtic Minstrel
1e0bab4a04 Address review comment about API function parameter name 2025-01-15 09:46:42 -05:00
Celtic Minstrel
57c74d41b3 Add --plugin option to the Xcode scheme 2025-01-15 09:46:42 -05:00
Celtic Minstrel
f93a2ca6d6 Lua API: Delete the --script command-line option
This is basically superceded by --plugin
Though it's supposed to be a script that can control the client, that capability doesn't actually exist in the implementation.
2025-01-15 09:46:42 -05:00
Celtic Minstrel
13ef58ba87 Add a sample Lua plugin that starts TSG, plays one turn, and then exits. 2025-01-15 09:46:42 -05:00
Celtic Minstrel
0bbc9941f9 Lua API: Add synced_command and end_turn actions to the Game plugin context 2025-01-15 09:46:42 -05:00
Celtic Minstrel
def4be6194 Lua API: Plugin execute functionality now supports named tuples in the closure 2025-01-15 09:46:42 -05:00
Celtic Minstrel
123e4eb0eb Lua API: Some enhancements/fixes to named tuples.
* Make named tuples comparable with == and ~=
* Fix the possibility of the numeric and string keys becoming out-of-syn on assignment
* Fix non-existent numeric keys being treated like a string key
2025-01-15 09:46:42 -05:00