Commit graph

83373 commits

Author SHA1 Message Date
Tommy
c7eac0126b Clip rerender requests to the window area.
Should fix #8044.
2023-11-21 21:05:52 +01:00
pentarctagon
9559b07292 1.17.23+dev 2023-11-20 11:32:41 -06:00
pentarctagon
eda0ed3e16 1.17.23 2023-11-20 11:31:45 -06:00
pentarctagon
23c756c7f3 pot-update and regenerate doc files 2023-11-20 11:25:52 -06:00
Steve Cotton
5e06ceeb52 UtBS: Mention the campaign mechanics in the campaign description
Let players see what to expect when looking through the campaign menu, instead
of only giving players this information after they start the campaign and have
no clear or quick way to return to the main or campaign selection menus.

The preceding translatable string includes trailing newlines, but is the same
as 1.16. So I've left that as-is, while using a separate non-translatable
string for the new string's newlines.
2023-11-20 18:12:36 +01:00
Jonathan-Kelly
e30f270164 WoF: list unique mechanics in campaign description 2023-11-20 10:05:54 -06:00
Jonathan-Kelly
03f7923262 Allow recruited drake units to be female
This will activate the long unused female drake names list and name generator. Since drakes are a reptilian species like the naga, there is no need to create additional sprites to represent both of their sexes.
2023-11-20 09:42:49 -06:00
Jonathan-Kelly
32f6dda5de Add female unit name strings for drake race
As with the naga race, adds a translatable string for female drake units. This is for languages which have no neuter gender applicable to unit names.
2023-11-20 09:42:49 -06:00
Hejnewar
2b4234afd7
Remove Saurian Seer and Soothsayer from the leaderpool
Reason: Saurian Seer and Soothsayer have 7mp
2023-11-19 22:36:51 +01:00
pentarctagon
3b2266d9fc revert to 22.08 until new release of 23.08 - also this 2023-11-18 21:54:21 -06:00
pentarctagon
ed358bdfe6 revert to 22.08 until new release of 23.08 2023-11-18 21:46:43 -06:00
pentarctagon
bf93e24572 changelog updates 2023-11-18 17:00:39 -06:00
pentarctagon
d492a36019 <= 15 instead of 1. 2023-11-18 16:46:39 -06:00
Nils Kneuper
8288abd252 updated Slovak translation 2023-11-18 09:52:24 +01:00
Nils Kneuper
0147519d10 updated French translation 2023-11-18 09:51:42 +01:00
Nils Kneuper
24a0da4a9f updated French translation credits 2023-11-18 09:50:41 +01:00
pentarctagon
e9588d755d [filter_specials] -> [experimental_filter_specials]
Since it calls into the same code as [filter_ability] did.
2023-11-17 17:41:41 -06:00
Pentarctagon
4753038680
Show an error when mainline campaigns are missing. (#8041)
A Linux packaging issue has, for apparently multiple years now, resulted in Wesnoth getting installed with only the tutorial campaign available. So, check for that and alert the player that there's an issue so they don't think Wesnoth actually only has a tutorial available.

Fixes #7875
2023-11-16 20:06:02 -06:00
Wedge009
5fc945ebcd Update SDL render hints, resolves #8038.
* Request Direct3D v11 instead of default Direct3D v9 on Windows builds (#8038).
* No longer need to disable batched renders with rendering overhaul in done in 1.17.4 to 1.17.7.
2023-11-16 20:05:32 -06:00
newfrenchy83
3f0d653718 remove checking for the presence of add, sub etc. attributes when check value.
For me (and this is not the opinion of https://github.com/soliton-) when we check the value of the value attribute,
 we seek to verify that the value encoded in ability (or possibly the default) corresponds,
 the value by default means that the value attribute is encoded with this default value, that's it.
 Apparently https://github.com/soliton- understood that it was the returned value that was checked and
 I let myself get into this error which I am now correcting.

currently absence of default value is only detected when other numeric attributes are used, this commit is here to repair this rather unfortunate oversight.
2023-11-16 14:55:55 +01:00
newfrenchy83
39cdedd198 remove deprecated message 2023-11-16 01:05:56 +01:00
newfrenchy83
b54a901ff3 rename [filter_ability(_active)] to experimental_ability
because it is experimental the tag of filter is changed except for [overwrite][filter_specials]
2023-11-16 01:05:56 +01:00
newfrenchy83
44f7baf48f UtBS S02: Beach Sand is a dehydrating terrain
all terrain sand should be deshydrating terrain.
2023-11-15 19:56:59 +01:00
Steve Cotton
f1807e03d3 New unit test for UtBS-style [heals] with a filter
The ability's code in UtBS hasn't changed since 1.16, but there's now a bug about
healing sometimes not working in UtBS S02. The new test was written to check
for an engine bug when a healer has two units next to it, only one of which
passes the filter; although it's passing, it seems reasonable to keep the test.

Also, use `{ASSERT ...}` for better logging in the old healing test.
2023-11-15 17:45:58 +01:00
Gunter Labes
164b8ca8fb
Remove setting the default
Using quotes probably made it effectively set the opposite anyway.
2023-11-13 15:13:40 +01:00
Gunter Labes
8b111a2a76 Avoid accessing data of potentially killed unit
Fixes #8019.
2023-11-12 22:12:17 +01:00
pentarctagon
ec0f8f9942 exclude versions too old to have all data populated. 2023-11-11 18:29:46 -06:00
pentarctagon
c9ba117cb0 update flatpak docker image to 23.08. 2023-11-11 18:18:25 -06:00
Gunter Labes
bf6b64be78
Update freedesktop runtime to 23.08 2023-11-11 22:05:18 +01:00
Nils Kneuper
bee8399293 updated Czech translation 2023-11-11 15:09:47 +01:00
Nils Kneuper
cd8d065a4b updated French translation 2023-11-11 15:06:16 +01:00
Nils Kneuper
3d4ed65c0c updated Slovak translation 2023-11-11 15:05:39 +01:00
Dalas121
2630b5bb63
EI - Sentinel Shield Bugfix (#8033)
* Update items.cfg

* Update items.cfg
2023-11-10 19:16:05 -08:00
pentarctagon
5789246605 Not a relevant statement.
Local unpublished add-ons could be missing their title attribute.
2023-11-10 20:31:21 -06:00
newfrenchy83
9474525612
check alternative_type and replacement_type when filtering on type
Also move them from being attributes of [damage] to [damage_type], to avoid infinite recursion when determining what the damage type should be.
2023-11-10 16:35:57 -06:00
Elvish_Hunter
47fec1e90f GUI.pyw: increased starting window size to 1024x600 2023-11-10 21:02:52 +01:00
Wedge009
559aacbf65
wmltools GUI review (#7971)
* Run auto-format

* Avoid broad exception handling.

* Remove unnecessary reference to self.

* Tidy imports.

* Remove redundant brackets.

* Narrow exception handling on unrecognised locale.

* Simplify command construction.

* Simplify command construction.

* Avoid shadowing.

* Spelling corrections.

* Reviewed argument parsing:
* Average user probably won't know that ISO 15897 refers to POSIX locale names.
* 'default' probably isn't an accurate description of the entered locale so change to 'user'.
* Remove the hard-coded usage text - the default usage string from the arguments list is sufficient.

* Use title case for menus as per UI style guide.

* Avoid abbreviation for UI text and add translation notes.

* Reviewed text for the tabs representing options for each tool.

Also removed forced new-lines, which I think are unnecessary.

* Consolidate strings to allow for translation sharing.

* Add translation note

* Use title case for titles.

* End sentences with full-stop.

* Title case for titles, translation note, full-stop.

* Abbreviated error message sufficient - consistent with other error messages.

* Clarify file vs file name.

* The translations directory is referenced regardless of whether the user has specified a locale or not, so put the check for the translation directory outside the user-input condition.

* The function isn't just for the user-specified locale, it steps back to the system locale if no user-input is given for the language.

* Clarified the reason for the code duplication in the set-up for system locale.

* Use en_US for commentary.

* Treat 'normal mode' as just one string.

* Replace empty place-holder with numbered indexes to work around gettext limitation.

* Correct typography.
2023-11-10 11:55:22 -06:00
Elvish_Hunter
cdd05db833 GUI.pyw: added basic support for the ttkthemes library 2023-11-10 16:59:28 +01:00
pentarctagon
82408b2131 change sorting. 2023-11-08 18:22:24 -06:00
pentarctagon
37d37b6337 Quick hack to get the gamestate inspector working again.
This doesn't fix the underlying issue with labels trying to show text too long to be rendered, but it does at least make the text show up now.

Fixes #7565, not sure about the other inspector related issues.
2023-11-08 09:50:19 -06:00
Steve Cotton
bf89dfb818 Help Browser: only show one image if male and female are the same
If a unit type has male and female versions, then two images of the unit are
displayed at the top-left of the help page. However, it did this even if the
two images were the same, which made the duplication look like a bug.

The Naga Fighter is one of the affected unit types.
2023-11-08 00:44:46 +01:00
Gunter Labes
60f58c9694
Allow any key in dummy ability tags
super="units/unit_type/abilities/~generic~" isn't quite accurate since there are a lot of keys/tags in there that may not mean anything for dummy abilities. Probably doesn't hurt to expect they work like in mainline though.
2023-11-05 19:08:31 +01:00
Tommy
a8dc847d35 Warn when forcing a bad zoom level
Nothing does this currently, but just in case something does in
the future.
2023-11-06 00:34:44 +13:00
Tommy
1dfbaacf68 Additional commentary on zoom_levels
Levels have been normalized a little to scale smoothly. This combines
the old 1.25x and 1.5x zoom levels into a new ~1.41x zoom level.
Others are more-or-less unchanged, other than modification for the
requirement that scales are divisible by 4.
2023-11-06 00:34:44 +13:00
Tommy
278ba34071 Ensure zoom levels are always multiples of 4.
Also changed zoom level specification to direct integer sizes rather
than multiplication factors, so they can be specified accurately.

It has always been the case that they were required to be multiples
of four. This was just violated at some point.

This fixes problems with overlapping fog textures at some zoom
levels, and may also prevent some other rendering glitches.
2023-11-06 00:34:44 +13:00
Nils Kneuper
2f8cfbb08c updated French translation 2023-11-05 10:57:33 +01:00
Nils Kneuper
36649fd899 updated Polish translation 2023-11-05 10:56:24 +01:00
Celtic Minstrel
e3b3d08c3f Make wesnoth.allow_undo still work, even though it was explicitly internal and not meant to be used.
Fixes #8018
2023-11-04 22:40:18 -04:00
doofus-01
b046d93350
touchup wall-rough-chasm to fix #8001 (#8022) 2023-11-04 15:10:02 -07:00
Gunter Labes
2e191db2e7
Ignore implicit conversion warnings 2023-11-04 22:48:45 +01:00