82980 Commits

Author SHA1 Message Date
Charles Dang
08fc993c16 GUI2/Canvas: allow text shape to set outline (resolves #8398) 2024-02-24 18:30:33 -05:00
Charles Dang
dd4aec0cdb Help: use relative scaling for unit sprites (resolves #8401) 2024-02-24 17:43:56 -05:00
Nils Kneuper
651e2866ba Added new font "Lohit-Bengali.ttf" to support Bengali translation 2024-02-24 19:31:25 +01:00
pentarctagon
ef25eb2553 sorting is fine, but failing because it's not all sorted is silly 2024-02-24 11:54:17 -06:00
pentarctagon
bbd7f6aabc Update copyrights file
also explicitly specify encoding
2024-02-24 11:43:14 -06:00
Nils Kneuper
a64f86962a add "noconvert" flag to Bengali translator name 2024-02-24 16:23:49 +01:00
Nils Kneuper
695a658150 updated French translation 2024-02-24 15:10:09 +01:00
Nils Kneuper
6781e01d77 updated British English translation 2024-02-24 15:09:00 +01:00
Nils Kneuper
460eb623c0 updated Bengali translation, activated in credits
This introduces a new string for the translation!
2024-02-24 15:07:08 +01:00
Charles Dang
e8e082edc5 Copyright update for 8ea8b6c7c3d42d27566bb7ead3042dfe507fe84f 2024-02-23 17:00:53 -05:00
Gunter Labes
90a74e1b96
Fix logic mistake from the refactor in f8bd32e 2024-02-22 14:12:02 +01:00
Gunter Labes
32dffe2a18
Add copyright job to notification 2024-02-22 10:47:47 +01:00
Charles Dang
71784d020f Remove minimap surface caches 2024-02-21 18:51:21 -05:00
Charles Dang
8ea8b6c7c3 Restore fog and reachmap highlights to minimap
I don't like this solution, but it's the quickest way to get the effect back without
A: having to deal with surfaces
B: having to fiddle with color blend modes
C: having to apply the effect both to the base and the overlays (the old surface impl continuously
   blit a single surface together so it could just adjust the final product once)
2024-02-21 18:50:59 -05:00
Gunter Labes
d7ee5c1af8
Update used actions to avoid deprecated Node.js 16 2024-02-21 20:21:07 +01:00
pentarctagon
475f11f1c8 change default client keepslive timeout to 20 seconds 2024-02-21 13:15:55 -06:00
pentarctagon
8890cc75db check compiler version 2024-02-21 10:31:23 -06:00
Gunter Labes
379c80e4cd
Update used actions to avoid deprecated Node.js 16 2024-02-21 15:04:27 +01:00
Gunter Labes
15a769d8b6
Fix logic mistake from the refactor in f8bd32e 2024-02-21 14:38:34 +01:00
Charles Dang
b39d5d53d7 Minimap: fix village markers drawing over fog/shroud
Looks like was a regression from 1135077d16f6e6cba4efab8ea954294d69bb8897.

We didn't need a shrouded check before since the terrain at issue was set to VOID_TERRAIN
if the hex was shrouded, meaning the is-village check would always fail. When we switched
to iterating over the village list directly we made it necessary to check each village loc
for shroud or fog before drawing the indicator.
2024-02-21 01:58:35 -05:00
Charles Dang
2be50eac14 GUI2/Minimap: don't keep copy of map data 2024-02-21 00:16:24 -05:00
Charles Dang
2b9f999142 Removed surface-based minimap code 2024-02-20 22:42:30 -05:00
Charles Dang
434aac98a1 Use texture-based minimap rendering in-game 2024-02-20 22:42:29 -05:00
Charles Dang
eae3b89bd0 Defer minimap rendering until invoked
Also makes the centered behavior default. I like how it looks.
2024-02-20 22:42:28 -05:00
Wedge009
a59c32f9e2 Bat images were moved from undead directory to bats in #6655. 2024-02-21 11:11:12 +11:00
Wedge009
b334f6707b Saurian Prophet/Seer portrait was converted from PNG to WebP.
[ci skip]
2024-02-21 11:11:12 +11:00
Gunter Labes
6d7e1777be
Update used actions to avoid deprecated Node.js 16 2024-02-21 00:59:33 +01:00
Gunter Labes
f567187dc7
Update server config content
Also keep upper case variable names reserved for env variables and let the server create the control fifo itself.
2024-02-21 00:40:08 +01:00
Steve Cotton
8cebaf5b51 Update German translation 2024-02-20 12:24:36 +01:00
Charles Dang
855f01728a
Accept percentage arguments in scaling IPFs (#8217) 2024-02-20 04:05:49 -05:00
pentarctagon
309abc7a21 needs GCC 8 now 2024-02-19 21:14:02 -06:00
pentarctagon
63d14217c9 Revert "Revert IPF string handling optimisations"
This reverts commit e14d7ddee99950f208407ca35434ea7b316f807f.
2024-02-19 21:13:22 -06:00
pentarctagon
6a8d4bc1db 1.19.0-dev 2024-02-19 21:12:01 -06:00
pentarctagon
d1b3ede924 1.17.26 1.17.26 2024-02-19 21:05:54 -06:00
pentarctagon
d46f14a44d sync with 1.16 changelog 2024-02-19 21:05:54 -06:00
pentarctagon
264c8413d0 pot-update and regenerate doc files 2024-02-19 21:02:14 -06:00
pentarctagon
820bbc53b8 update add-on server port for 1.18, also here 2024-02-19 18:52:20 -06:00
pentarctagon
388fc2d930 update add-on server port for 1.18 2024-02-19 17:19:53 -06:00
Steve Cotton
731e59f986 Add Bengali translation to the build scripts
No translated text yet, just template .po files.

The po files are generated assuming that PR 8433 will merge, removing
the new translatable text from the multiline_text and spinner widgets.
2024-02-19 17:08:10 -06:00
Steve Cotton
ce03f9e58b Remove new strings that were used for VALIDATE_WML_CHILD
This adds a new missing_mandatory_wml_tag() function, which
returns a message using a common string, similar to the existing
missing_mandatory_wml_key.

To avoid new strings in 1.18, the current implementation
just calls missing_mandatory_wml_key directly.
2024-02-19 16:11:06 -06:00
Steve Cotton
8877848306
Fix multiline_text's overriding of set_cursor (#8418)
Subhraman rewrote the scrolling code in the last few commits,
and it seems that the autoscroll check is not needed anymore.
Remove that check altogether and make it 2 argument.

The problem with the 3-argument override was that, when
code in text_box_base.cpp calls the virtual method, it will
only consider the 2-argument version, and thus skip any
3-argument wrapper.

This fixes a Clang warning, although the warning itself points
out the opposite effect - that the 3-argument version hid the
2-argument one in the subclass.

Also fix a Clang warning that scroll_text could mark a method
as an override.

Co-authored-by: Subhraman Sarkar <suvrax@gmail.com>
2024-02-19 17:10:16 +01:00
newfrenchy83
b4abee7c38
Fix increase by percentage returns 1 if experience is equal to zero (#8425)
Using `[effect]app/y_to,increase=experience,"40%"` on a unit with 0 XP used
to give that unit 1 XP, because of a minimum in the C++.
2024-02-19 13:49:09 +01:00
Steve Cotton
e14d7ddee9 Revert IPF string handling optimisations
When reverting this revert (after 1.18 has branched), the
new .hpp file should be added to XCode and CodeBlocks.

This reverts PR #8396, PR #8407 and the "Small fixup" commit;
they bumped the minimum compiler version from GCC 7 to 8 or 11.

This reverts commit 870eeff8e68de000bbe6608c2b6f982b28a2200f.
This reverts commit 029136b19acf9627170e9ab9383cea48b7d70a81.
This reverts commit d74ff6f31b3668d07236ffaa4059f31c373d4996.
This reverts commit 8a6de95d489b4e96d2c9a368b25a0c20e249cdf6.
This reverts commit d14d233d79957ddfcbe200d21f16ab78915c883b.
This reverts commit 698f5c115c1546e3fcf1c52be90d72a5a841abb6.
2024-02-19 12:25:56 +01:00
Steve Cotton
e0df67656a Update changelog, merge changelog_entries
This is mainly from looking through the Git changelogs
for missing entries.
2024-02-19 12:17:12 +01:00
Hejnewar
0034b98fc2 UtBS Heroes: Taunting Strike xp farm fix
In addition make taunting strike more synergised with bolas.
2024-02-18 21:04:29 +01:00
Hejnewar
82128b6b5a UtBS Units: Fighter line adjustments
Adjust Fighter line to allow for easier early leveling and more late game staying power. Add parry to secondary melee attacks in order to incentivise their use.
2024-02-18 21:04:29 +01:00
Steve Cotton
bd31d9042d DiD S10: Fix missing line in human heroes' book endings
A simple case of `role=unit` instead of `speaker=unit`, the
necessary translatable text was already in the scenario.
2024-02-18 16:43:54 +01:00
Hejnewar
cfb7221262 UtBS S01: Improve event/dialog consistency regardless of trigger order
Fix #8201
2024-02-18 14:44:54 +01:00
Hejnewar
a7680561d0 UtBS S05: Use enter_hex so events cannot be triggered out-of-sequence
Fix #8190
2024-02-18 14:44:54 +01:00
Steve Cotton
af8c2fe5cb
EI S11-S18: Add more PO hints
Has a few updates to S04a, S04b, S09 and S99 too.

Lore: this declares Khrakrahs (dragon seen in SoF) to be male.
He's been in many versions of Wesnoth that only had male drakes,
thus will surely already be male in any translation where the
gender has an effect on the wording.

There's a few "TODO for 1.19" comments added:

* In S12, the left behind units say "we must ride ... to save Wesnoth",
    but it should be "you must ride".
* The intro of S13 is confusing, there's little indication of why you
    only have one unit, or what mission he failed.
* In S16, Gweddry says "night approaches" on turn 1 (morning)
2024-02-18 10:44:32 +01:00