85023 Commits

Author SHA1 Message Date
Ibrahim Velasquez
e3ee6c5961 add back explicit references for imports 2025-03-17 09:36:19 -05:00
Ibrahim Velasquez
7ea5637a88 adjut line length for readability 2025-03-17 09:36:19 -05:00
Ibrahim Velasquez
f809e9dbad remove f strings and add back FS import 2025-03-17 09:36:19 -05:00
Ibrahim Velasquez
5b04600f9d Add f strings for better readability 2025-03-17 09:36:19 -05:00
Ibrahim Velasquez
6eba6df5f6 Remove unused imports, adjusted styling and naming conventions 2025-03-17 09:36:19 -05:00
Subhraman Sarkar
49775a2b57 rich label: fix broken table width attr 2025-03-17 11:38:43 +05:30
pentarctagon
e7a7960cee 1.19.10+dev 2025-03-16 23:30:13 -05:00
pentarctagon
8266a078ea 1.19.10 1.19.10 2025-03-16 23:29:07 -05:00
pentarctagon
f532c3852a pot-update and regenerate doc files 2025-03-16 23:26:03 -05:00
Gunter Labes
20f74d6ef3 Make sure formula symbol tables get deleted properly 2025-03-16 23:14:04 -05:00
Subhraman Sarkar
1510245682 markup: add tag overload that handles tags with attributes 2025-03-17 08:58:31 +05:30
Gunter Labes
8179feaa8c
Show all relevant metadata for all involved files 2025-03-17 00:56:09 +01:00
pentarctagon
aa49fae09d update changelog 2025-03-16 13:20:17 -05:00
Pentarctagon
a900508835
Add queue-like functionality to the multiplayer lobby (#9819)
This allows defining an [game_presets] tag which contains [game] tags describing how to show the game in the lobby and what settings the game should use.

Functionally this adds an entry per [game] into the Matchmaking section of the MP lobby:
* If a player clicks Join and there are no previously created games from this "queue" that are open, then the server instead responds telling the client to create the game. The game is created directly using the settings defined in its [game] tag, so for the player it looks like they clicked join and then go straight to the MP staging screen.
* If a player clicks Join and there is an open game created from this "queue", then the server instead responds telling the client the actual ID of the game to join and the client then joins that game just as if they had clicked Join on a normal game.

Currently only implemented for mainline.
2025-03-16 12:49:10 -05:00
Subhraman Sarkar
45b3f682c0 rich label: new attributes <row> bgcolor and <row>/<col> padding 2025-03-16 12:31:13 +05:30
amakriLexa04
2a28ebd2d0 spacer fix 2025-03-15 22:44:03 -04:00
Charles Dang
1ffc5aa57a Fix usage inconsistency with make_ci_matcher overload
In order to properly distinguish the overloads, the second takes the keywords instead of the filter text. This was confusing, so now `translation::ci_search` properly handles vector input. Removes the need for the second overload.
2025-03-15 22:42:56 -04:00
Gunter Labes
ee24ef6102
Correct variable name 2025-03-15 22:11:59 +01:00
Bradley Williams
85c00bb161
add_source_file: styling changes for readability (#10011) 2025-03-15 21:30:57 +01:00
Gunter Labes
07ef83131a
Make function properly local and fix variable names 2025-03-15 21:13:48 +01:00
Gunter Labes
470c0b8b0a
Remove badly named variable 2025-03-15 21:13:39 +01:00
Elvish_Hunter
8dc12cfea2 GUI.pyw: use the Windows API to detect the user's language
Fixes #9972.
2025-03-15 16:53:34 +01:00
pentarctagon
e006d1a610 whoops 2025-03-15 10:20:29 -05:00
pentarctagon
cf912805f0 fix persistence wml writing to wrong folder 2025-03-15 10:16:17 -05:00
Subhraman Sarkar
523362dd33 rich label: fix excess table space and some cleanup 2025-03-15 12:38:19 +05:30
Dalas121
4b84de63f3
Revert "Use troll-hero-alt.webp portrait for Great Troll (#10025)" (#10028)
This reverts commit 9737595d959b494a1ae41a5a28fc2fcbda43aa27, following comments by Soliton in #10025.
2025-03-14 07:52:01 -05:00
Subhraman Sarkar
38168bbfc4 ci searcher: same search behavior as 1.18
fixup of c7db03fa043ef763f9b0d51555a141d16c57f03d
2025-03-14 16:46:16 +05:30
Subhraman Sarkar
c7db03fa04 ci searcher: match entire string instead of chunks (closes #10027) 2025-03-14 14:38:50 +05:30
Subhraman Sarkar
c3ef8084d5 wesnoth.terrain_types: add mvt_alias and def_alias
these expose `terrain_type::mvt_type()` and ``terrain_type::def_type()` respectively.
(#9969)
2025-03-14 08:55:18 +05:30
Subhraman Sarkar
cf0eb00518 help topic generator: cleanup, move special notes to separate function 2025-03-14 08:55:18 +05:30
Subhraman Sarkar
68e4c64e71 rich label: add padding between consecutive float images 2025-03-13 22:39:50 +05:30
Charles Dang
aabe92e0f9 WFL: fixup 9ddf6ca53a9b3fef60ec107260b2b86402423c25 2025-03-13 12:53:28 -04:00
Dalas121
ddb0e83c2b
EI S14: undefine GOLD_PICKUP macro 2025-03-13 09:19:25 -05:00
GreenScarab
9737595d95
Use troll-hero-alt.webp portrait for Great Troll (#10025) 2025-03-13 09:18:54 -05:00
OrekOrek
6184817458
HttT S19c: Fix and improve drake spawn algorithm (#10014)
Drake spawn algorithm is fixed and improved. A drake nest is added to the map. Drake nests are separated into 2 types.
2025-03-13 09:16:59 -05:00
Subhraman Sarkar
9850b49b81 help: fix unknown unit page 2025-03-13 18:54:56 +05:30
Subhraman Sarkar
68cf97e36e rich label: inline image alignment fix
Fixes inline image alignment when scaling > 1. Also some cleanup.
2025-03-13 14:42:04 +05:30
Charles Dang
9ddf6ca53a WFL: simplify debug_print
The speaker value now defaults to "WFL" if not provided, same as debug_profile
2025-03-13 01:55:59 -04:00
Charles Dang
5377ed7d9f GUI2/Label: set default width for title screen tip label
This seems to mitigate #9885, but I could not tell you why...
2025-03-13 01:24:28 -04:00
Charles Dang
4bbad94109 Font/Text: layout should never be null in set_text 2025-03-13 01:21:59 -04:00
Charles Dang
01ecc04ac8 GUI2/Definition: move settings members to their own struct 2025-03-13 01:20:39 -04:00
Charles Dang
b1e3bc3e56 Font/Config: tidy up load_font_config 2025-03-13 01:19:47 -04:00
Charles Dang
72a4ec9270 Font: make family_class a scoped enum 2025-03-13 01:19:02 -04:00
Subhraman Sarkar
87a4b55b31 rich label: replace canvas variables and set_var
Uses C++ variables for calculation instead
2025-03-13 10:10:11 +05:30
AlexanderLu98
df718c2ef5 Fix shadow inconsistencies in Lancer/Horseman breeze and peasant attack frames 2025-03-12 19:49:21 +01:00
Charles Dang
1f4e164e41 GUI2/Help Browser: set a default width for topic labels
Prevents them from reducing in width when searching topics
2025-03-12 01:06:12 -04:00
Charles Dang
1e833ba094 GUI2/Styled Widget: initialize canvases using range ctor
Also adds a proper move assignment operator to canvas. styled_widget::set_config was removed since it's not needed as of dfa09cd9d9be44ca036e6a506bdcd3116862b37e.
2025-03-12 01:05:45 -04:00
Charles Dang
f111ab1f7b GUI2/Text Box Base: use existing resolution config ptr
No need to call get_control twice. Only styled_widget needs to do that.
2025-03-11 23:55:38 -04:00
Charles Dang
5dd3ec6113 GUI2/Text Box Base: remove font_family_ member
Added in 6c5a8e923d526796aa9afee78b9bc82ac2384410. We can just query the value directly from the resolution config.
2025-03-11 23:46:46 -04:00
Charles Dang
987004d09c Font: remove old workaround for light weight fonts
Testing now, pango weight markup correctly works with the Lato weight variant files present and breaks with them missing. Seems the issue I documented back in 2018 is noo longer the case, and thus we don't need this workaround.
2025-03-11 21:45:51 -04:00