Commit Graph

85038 Commits

Author SHA1 Message Date
Gunter Labes
7c944435a1
Move processing of simple options that return earlier
This way they're unaffected of unrelated issues, like not finding the data dir.
2025-03-19 22:54:56 +01:00
Subhraman Sarkar
877ac69366 rich label: support setting table bgcolors from definition 2025-03-19 17:00:36 +05:30
Subhraman Sarkar
00b6d14379 help: hide specials column when no weapon has special 2025-03-18 15:51:15 +05:30
Subhraman Sarkar
d68071b2c9 rich label: add valign and halign attributes to table
specifically, `valign` is available for `<row>` while `halign` is for `<col>`.
2025-03-18 15:31:33 +05:30
Subhraman Sarkar
6d05fb1f8d rich_label: table width=fill and customizable global padding
* Stops table from growing beyond the max width due to padding.
* <table width='full'> causes table to grow to available width.
* Add a `padding` key to `[rich_label]` that allows setting the internal padding to a custom value.
2025-03-18 09:59:32 +05:30
Subhraman Sarkar
56a08cb97f rich label: handle w correctly for table 2025-03-18 08:22:25 +05:30
Charles Dang
20b43ea775 Markup: allow simpler syntax for passing attributes to tag() 2025-03-17 17:49:18 -04:00
Charles Dang
4f163b2528 GUI2/Window: clear to-be-rendered area unconditionally
This fixes overpaintin issue with continually-updated to-be-drawn windows
2025-03-17 17:47:40 -04:00
Oleksii
9f70d37189
Move TDG's spells to a separate file + bug fix (#10036)
This pull request separates TDG's magic system and its spells, making it easier to create your own sets. I also fixed a bug with spell unlocking that I reported to @Dalas121 last year.
2025-03-17 14:40:43 -05:00
Charles Dang
7ec15aee0c WFL/Formula: use a unique_ptr for the managed instance
Turns out we can use a unique_ptr after all, we just need to define the dtor out-of-line once function_symbol_table is a complete type.

Also adds a move ctor and assignment operator. This is necessary since the unique_ptr makes the class non-copyable, and also fixes a case in unit_filter_attribute_literal where a move was attempted but no move ctor provided.
2025-03-17 13:51:22 -04:00
Charles Dang
d3a8b882a7 Fixup 6415bb8adc 2025-03-17 13:49:44 -04:00
Charles Dang
6415bb8adc Disable Windows CI job temporarily
https://gitlab.freedesktop.org is undergoing maintenance until March 22nd and causing vcpkg to fail (see https://github.com/microsoft/vcpkg/issues/44429).

This should be reverted once it's back up.
2025-03-17 12:10:43 -04:00
pentarctagon
0e5ae74d07 add a slash 2025-03-17 09:42:24 -05:00
Ibrahim Velasquez
2a2cb8bb2b change function naming back to original 2025-03-17 09:36:19 -05:00
Ibrahim Velasquez
b308ce70d6 import * from scons.scripts 2025-03-17 09:36:19 -05:00
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 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 9737595d95, 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 c7db03fa04
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 9ddf6ca53a 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