Commit graph

29843 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
b64166d49f updated Welsh translation credits 2023-10-28 09:55:30 +02:00
Tommy
e24f60fd43 Re-enable blur for various message panels.
This was disabled a long time ago. It might be fixed now.

This reenables blur for character dialogue. I'm not 100% sure what else.
2023-10-28 12:13:33 +13:00
Tahsin Jahin Khalid
da53b6967f
Units: update falcon and raven races to not get names
* update falcon and raven races to not get names

To conform with other monster units

* units: remove a redundant line of code

from races falcon and raven definitions
2023-10-26 12:54:37 +06:00
Tahsin Jahin Khalid
67007768ec
[Campaigns][Eastern Invasion] fix editor group icon
[Campaigns][Eastern Invasion] fix editor group icon
2023-10-25 21:34:50 +06:00
newfrenchy83
3910817cf7
add a 'replacement_type' and 'alternative_type' attribute in [damage] special or ability who modify the type of attack used (#7865)
At the suggestion of @stevecotton, I propose a special 'replacement_type' and 'alternative_type' attribute capable of modifying the type of attack used when the conditions are met.

Also make Holy water combine arcane damage with native type of weapon

Like holy water imbued ordinary weapon, it's seem logic what arcane damage dominant what if more efficient what original type(water can't altered pierce or blading of spear or sword)
2023-10-25 08:10:52 -05:00
Tahsin Jahin Khalid
05fdb7716d EI: fix editor group icon 2023-10-24 23:26:03 +08:00
Wedge009
13353f8212 Missed typographic apostrophe.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
a2f3758291 Missed non-standard spacing. 2023-10-23 09:44:50 +02:00
Wedge009
99fd130a06 Missed one set of dashes.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
45e537505f Use 'curly' quotes as per typography standard.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
4037e2a138 Replace non-standard spacing.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
94b48615f0 Use em-dash as per typography standard.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
adfe5e7958 Avoid double-mention of 'pierce' as per @stevecotton's review.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
6313ccfcde Remove the 'no matter what' phrase as per @nemaara's review.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
1091fa924f Replace contraction 'it's' with possessive 'its'.
[ci skip]
2023-10-23 09:44:50 +02:00
Wedge009
080a591eca Spelling and punctuation corrections.
[ci skip]
2023-10-23 09:44:50 +02:00
doofus-01
9fffd88242
Various terrain fixes and additions (#7972)
* fix Xor/Xo* south corner transition

* old/ruined wood floor borders

* better Xoc/Xo* south-facing corner

* wooden windows (Xom^Exw)

* fix missed Ior->Iwo transition rule

* fix Isa/U* transition rule

* update copyrights.csv
2023-10-22 11:42:25 -07:00
gfgtdf
cde57bca9d
WC: fix to in 6A_Rural mapgen (#7834) 2023-10-21 18:24:12 +02:00
Hejnewar
d8abc5f43f
Fix RiPLB for Saurian Seer
...
2023-10-21 01:34:06 +02:00
Wedge009
93df584adb po hints
[ci skip]
2023-10-21 09:35:25 +11:00
pentarctagon
00f70f2c54 1.17.22+dev 2023-10-16 23:31:31 -05:00
pentarctagon
fec4f1771d 1.17.22 2023-10-16 23:29:23 -05:00
pentarctagon
3bfb54dd14 pot-update and regenerate doc files 2023-10-16 23:28:17 -05:00
Celtic Minstrel
f1b7d14f2a Add @daniel-santos to the credits 2023-10-17 00:10:03 -04:00
gfgtdf
c9e8a166aa
WC: Fix objects increasing hp not working.
The code keeps record of the previous hp to prevent unit:transform form changing it. But it reads it before the object was added which prevented the object from increasing the units hp.
2023-10-17 00:44:16 +02:00
gfgtdf
d5b7972c6f
WC: Fix error when too few artifacts are defined
Previously the lua could stop working when there were less than 9 artifacts defined in [world_conquest_data]
2023-10-17 00:34:25 +02:00
gfgtdf
8bbaba898d
WC: fix #7921 Random training per scenario
a free random training on easier difficulties should only be given in the first scenario. (Otherwise they'll accumulate to 5 free trainings at scenario 5.)
2023-10-16 23:25:13 +02:00
Steve Cotton
b13406c63e EI: Move the Horse Barrow Wight to the right dir, and fix a missing word 2023-10-16 20:48:07 +02:00
Severin Glöckner
58e59ccb8c UtBS: run wmlindent 2023-10-16 03:09:23 +02:00
Severin Glöckner
98bea4637a EI: reuse strings for weapon names
[ci skip]
2023-10-16 02:24:01 +02:00
Severin Glöckner
81d65f62ed EI: inherit the already translated names
(which are identical, but in another textdomain)
2023-10-16 01:56:20 +02:00
Severin Glöckner
b2bf0d18e2 UtBS: ability names and descriptions
do explicitly not list verses as abilities
reformation of text
explain the mechanism as part of the 2nd/3rd attack

[ci skip]
2023-10-16 01:52:44 +02:00
doofus-01
c9182b952b
1.17 - Last-minute string cleanups (#7950)
* fix some Raven-related fluff

* small revision to fire ant egg fluff

* replace double-spaces after sentence with single-spaces
2023-10-15 16:08:21 -07:00
Celtic Minstrel
9183ee6791 Move the other game_events deprecations into the game_events file 2023-10-15 17:43:22 -04:00
AugustVesterbacka
3127629f59
Mousing over a village shows the owner side in the UI (#7920)
Added village owner flag and side icon to terrain info field
2023-10-15 14:51:48 +02:00
newfrenchy83
532d17f958 repair detects non-existent default attribute value
Fix https://github.com/wesnoth/wesnoth/issues/7923 .when we want to detect an ability with value=0-20 and an ability with add=15 is present, this is detected because the system assigns a value of 0 when 'value' is not present, and so the system matches abilities that do not use 'value' or even no numerical value at all. it is therefore necessary to decide that the absence of an attribute is a non-correspondence to the criteria.
2023-10-14 20:14:51 -05:00
Celtic Minstrel
857d7e120a Undeprecate on_event() for now 2023-10-14 19:26:36 -04:00