28064 Commits

Author SHA1 Message Date
kabachuha
536d6a226c HttT: add gendered variants to item pickup prompts
Should help to address the issue with gendered verb forms or noun cases in some languages as described in #4436 . This reuses the same preexisting mechanism as in the latter part of httt_utils.cfg.
2021-08-21 13:11:47 +03:00
Tahsin Jahin Khalid
1dd447ce5d [world conquest] replaced khalifate unit types with dunefolk unit types
I have also removed one mention of "Dune Piercer", which is non-existent unit, and substituted it with "Dune Rider".
2021-08-17 17:19:39 -05:00
kabachuha
959f534d19 Update Russian translation credits 2021-08-17 22:41:32 +03:00
kabachuha
e7f3899541 Updated my (kabachuha's) entry in the credits 2021-08-17 22:38:22 +03:00
Hejnewar
5a316bc5ca
Update Polish translation credits 2021-08-17 16:03:56 +02:00
Steve Cotton
1d8225d6b6 UtBS S09: Reveal the boss of the scenario at the end of part 1
This foreshadows that the player will need to attack the north-west after
defeating the north-east enemy, which is a bit fairer to anyone playing this
scenario for the first time.

Removes a now-unused string (Darius' pre-sacrifice speech). There are no new
strings here, the others are just being moved around.

For clearing shroud, change to using radius= because clearing a circle looks
better than clearing a square.

There's no significance to whether the new plan is "Plan B" or "Plan C" - back
in Wesnoth 1.10 it seems to have been dependent on whether all the merfolk had
been rescued.

Fixes issue #5540 about Hekuba spawning on a water hex.

(cherry picked from commit 25163c06a258b2a9f4627a1345a83f52447165dd)
2021-08-17 15:32:27 +02:00
Tahsin Jahin Khalid
d19c137d65
[world conquest] World Conquest Era is only available for the WC campaign
Until a proper solution is found for #5228 , this will have to do. It suppresses the appearance of the era in the era selection list for other scenarios.
Hmm, I guess the [campaign] tag should support the allow_era= key in future but for the moment, this will do.
2021-08-16 23:05:18 -05:00
Charles Dang
6ca865c8c2 Addon Manager: refined details section design 2021-08-16 17:16:01 -04:00
Charles Dang
95893489f2 GUI2: added default_italic label and scroll_label definitions
This is not optimal, but I'll implement a better way of handling formatting later.
2021-08-16 17:15:31 -04:00
Wedge009
89a5319006 Resolve #6019 - allied side not triggering failure condition when sighted 2021-08-16 20:00:24 +10:00
Steve Cotton
18a234594a Remove a leading space from the Silver Mage's [special_note]
The strings in special-notes.cfg don't have a leading space,
and this one causes a warning in poedit.
2021-08-16 11:02:24 +02:00
Pentarctagon
cbd0d6bd9a
Add help information for the :benchmark command. 2021-08-12 00:52:34 -05:00
nemaara
03f97be0c2
TSG S8b: reduce difficulty 2021-08-12 01:29:23 -04:00
Pentarctagon
31fc9dfe44
Remove duplicate schema attributes. 2021-08-12 00:23:26 -05:00
Pentarctagon
6d8042b028
Schema update for [era]. 2021-08-11 21:56:46 -05:00
Tahsin Jahin Khalid
1b267691f5 [world conquest] replace deprecated ^Uf and Uft with ^Tf and Tt part-2 2021-08-11 13:08:39 -05:00
Tahsin Jahin Khalid
391829dbeb [world conquest] replace deprecated ^Uf and Uft with ^Tf and Tt respectively 2021-08-11 13:08:39 -05:00
Charles Dang
465a5b44b1 Fixup schema 2021-08-09 01:07:47 -04:00
Charles Dang
ca77f7e3e8 GUI2/Faction Select: use an drawing widget for the leader display 2021-08-09 00:58:08 -04:00
Charles Dang
3d87478a29 GUI2: add resize_mode=scale_sharp for [image] shapes 2021-08-09 00:45:23 -04:00
Steve Cotton
62a8bad97c Allow the campaign selection to be bigger on HDPI screens
This doesn't scale the campaign image (and the campaign images are generally
350x350 images anyway), so it looks a bit wrong, but it's a lot more useable
on HDPI than putting a 1050x750 limit on a treeview with a text panel.
2021-08-08 19:59:42 +02:00
Elvish_Hunter
4fed167032 wmllint: added automatic update of four terrain macros
Fixes #6009
2021-08-06 20:50:07 +02:00
Steve Cotton
25052e967e Tutorial S01: HDPI support
Remove the maximum size for the character-select dialog, the window will
automatically choose the minimum size that fits the text.

Extend the map 1 hex south. This means that, if the full map fits on screen,
the horizontal center of the map (where the print statements appear) is between
the keep and the south village, thus their labels don't overlap the print
statements.
2021-08-02 08:16:35 +02:00
Charles Dang
b71fbc5946 MP Staging/Join Game: tweak button areas 2021-08-01 02:58:04 -04:00
Pentarctagon
858f8b4248
Missed some deprecated fungus on map edges. 2021-07-31 18:46:47 -05:00
kabachuha
c0981406d8 Fixed boars' attack descriptions being started with capital letters
Attack descriptions start with a lowercase letter in mainline Wesnoth. Should be backported to 1.16.1 with #5973 after the string freeze ends.
2021-07-31 23:19:09 +03:00
Tahsin Jahin Khalid
96b86d6aae
[world conquest] [master/1.17] add credits, campaign icon(s) and image. (#5959) 2021-07-31 12:15:52 -05:00
Elvish_Hunter
80900fdc1a wmllint: removed check for spaces in e-mail addresses 2021-07-31 17:47:45 +02:00
Charles Dang
ceafd6faa3 MP/Lobby: some more player list-related cleanup
- Improved display
- Removed unused pointer member in helper
- Removed unnecessary extra tree clear step
2021-07-30 23:27:45 -04:00
Celtic Minstrel
23bfa4c896 fix whitespace 2021-07-30 19:22:57 -04:00
Celtic Minstrel
44da16d66a Lua API: Use the new location_set complement in the place_shroud deprecation wrapper 2021-07-30 19:22:57 -04:00
Celtic Minstrel
300b4492b8 Lua API: Ensure unit test assertions specify a message string 2021-07-30 19:22:57 -04:00
Celtic Minstrel
08e3a31979 Lua API: When creating a location set from triples, also support tables with x, y, and value keys 2021-07-30 19:22:57 -04:00
Celtic Minstrel
c59c3b9273 Lua API: Use a named tuple when converting a location set to triples 2021-07-30 19:22:57 -04:00
Celtic Minstrel
7d7b58e31e Lua API: Add an absolute complement option to location_set
- ls:invert(w,h,[border_size]) takes an absolute complement as if the map were the given size
- ls:invert(map) takes an absolute complement relative to the specified map
- ~ls is only available in the game kernel and takes an absolute complement relative to the real map
2021-07-30 19:22:57 -04:00
Celtic Minstrel
eb1bd1af6c Lua API: Add wesnoth.map.filter_tags for the mapgen kernel
This was supposed to be added for 1.16, but it was forgotten; anyone wishing to use it in 1.16 will have to copy it from World Conquest.
2021-07-30 19:22:57 -04:00
Celtic Minstrel
5951a63d3e Lua API: Fix wesnoth.map.find(filter, unit) ignoring the unit 2021-07-30 19:22:57 -04:00
Celtic Minstrel
03ee904513 Update the shroud unit tests and add a few more for cases new in 1.16 2021-07-30 19:22:57 -04:00
Celtic Minstrel
3af768150e Add unit tests for the Lua shroud functions 2021-07-30 19:22:57 -04:00
Celtic Minstrel
858f37e20e Lua API: Fix the deprecation wrappers for place_shroud and remove_shroud
- The "all" special case moved to place_shroud, as it should be
- Shroud data string handling fixed

Fixes #5885
2021-07-30 19:22:57 -04:00
Celtic Minstrel
632941b03d Lua AI: Fix a typo 2021-07-30 19:22:57 -04:00
Celtic Minstrel
30a3619202 Lua API: Fix bug in wesnoth.map.iter_adjacent
Fixes #5972
2021-07-30 19:22:57 -04:00
Celtic Minstrel
5f450542f5 WFL/Lua: Add lerp and clamp functions 2021-07-30 19:22:57 -04:00
kabachuha
3de79c15fb Removed WC2-specific feedback link
It doesn't need a special feedback link anymore as it's now a part of mainline Wesnoth.
Changes tested on my local 1.15.15 dev instance.
2021-07-31 01:01:43 +03:00
Steve Cotton
9369b520e7 SotA: Synchronise the zombie recruitment dialog
This dialog works by setting variables in the postshow function,
so the code had to be moved around to ensure that those variables
were synchronised, not just the return value of the dialog.

The message about not having enough gold isn't necessary for the
replay, so that gets moved into the synchronised code too.
2021-07-29 01:12:14 +02:00
Steve Cotton
3d50320369 Tutorial S01: Synchronise the choice of character
This avoids showing the dialog during replays, and thus avoids an
OOS if the person watching the replay chooses the other character.
2021-07-29 01:12:14 +02:00
kabachuha
d445cb36dc Paraphrased allied orbs description to remove outdated color reference 2021-07-26 14:56:15 +03:00
Steve Cotton
a0ae4a7342 TRoW S04a: Typographic style is not to have a hyphen in "un-life"
For consistency, there should also be no hyphen in "un-death".
The style was decided in PR #5525.
2021-07-26 08:45:33 +02:00
Charles Dang
19645c0e6c Faction Select: one more tiny refinement 2021-07-23 14:03:22 -04:00
Charles Dang
15436b4c6d Faction Select: refined design 2021-07-23 13:49:18 -04:00