82703 Commits

Author SHA1 Message Date
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
doofus-01
ef25dbea7c
adjust base y of diagonal bridges terrain graphics macro (#8020)
1.17/1.18 - adjust bridge layering, fixes #8010
2023-11-04 12:57:11 -07:00
doofus-01
bec1afd9f5 adjust bridge layering, fixes #8010 2023-11-04 10:31:49 -07:00
doofus-01
f5fce3437b
touchup to direwolf defense frames (#8017)
* touch-up to direwolf defense frames fixes #8003 

* copyrights.csv
2023-11-04 08:28:37 -07:00
Nils Kneuper
307677a98e updated Slovak translation 2023-11-04 11:10:53 +01:00
Nils Kneuper
cd6fd23202 updated French translation 2023-11-04 11:10:00 +01:00
Nils Kneuper
291ad1c26a updated British English translation 2023-11-04 11:09:27 +01:00
irregularBismuth
b8adf0cd5e
Credits Crash Bug fix (#7931)
Co-authored-by: pentarctagon <pentarctagon@tutamail.com>
2023-11-03 12:10:59 -05:00
Gunter Labes
6cc717042d
Kill wesnothd when script is killed with INT 2023-11-02 18:41:37 +01:00
pentarctagon
60a11f2420 why is this even allowed to build... 2023-11-02 12:05:17 -05:00
Gunter Labes
8788c55874
Run trunk server with SQL debug logging 2023-11-02 18:00:49 +01:00
Pentarctagon
080dc3f003
add some logging to game history query (#7998) 2023-11-02 11:04:07 -05:00
Tommy
3f95df8fdc Fix the --screenshot commandline arg.
A new fake video mode video::fake::hide_window was added,
as screenshots need a rendering context and thus a window.
It draws everything as normal, just with the window hidden.

The other fake modes were also renamed to increase clarity a bit.
2023-11-01 11:33:30 +13:00
doofus-01
50a21a2c6c
1.18 - Some loyalist animation updates (#7999)
* some Swordsman anim updates

* simple breeze anim for Cavalier

* breeze anim for paladin

* dragoon xbow anim

* fixes #7257

* update copyrights.csv
2023-10-29 17:45:09 -07:00
Tommy
ca5edd5336 Regenerate story screen message panel blur when background changes. 2023-10-30 12:28:14 +13:00
Tommy
7695ee7159 Enable multi-pass rendering.
An extra rendering pass can be requested during render or expose
by calling draw_manager::request_extra_render_pass().
This is used for blur effects.
2023-10-30 12:28:14 +13:00
Tommy
8d4deeef02 Start game with theme buttons hidden.
Fixes #6922.
2023-10-30 12:24:27 +13:00
pentarctagon
1c51bd3388 pot-update and regenerate doc files 2023-10-28 09:05:39 -05:00
Nils Kneuper
829b74cf5c fix missing closing " in Welsh credits 2023-10-28 11:21:43 +02:00
Nils Kneuper
5acd4ac11c updated French translation 2023-10-28 10:11:52 +02:00
Nils Kneuper
db8b06c0b7 updated Italian translation 2023-10-28 09:59:18 +02:00