Commit graph

84072 commits

Author SHA1 Message Date
pentarctagon
e89ade1f8d Remove version-specific info from xcode projectfile
Instead set the Apple preferences folder from within the code rather than using -DPREFERENCES_DIR.
Remove -DHAS_RELATIVE_LOCALEDIR since that doesn't appear to actually do anything since its only usage is in filesystem_common.cpp, not filesystem.cpp.
2024-05-03 23:39:00 -05:00
Steve Cotton
91fab6939a EI: Add po hints about the plague staff
(cherry picked from commit 8c83da78e2)
2024-05-04 09:44:39 +10:00
Iris Morelle
011e831171 bi: Fix for "unknown" arch issue and enforce the fix
Next time someone attempts to remove Boost.Predef because it looks
"unused", they will at least cause strict CI builds to fail.
2024-05-03 13:45:14 +02:00
Wedge009
7987b863dd Editor Help: grammar correction. Resolves #8615.
[ci skip]
2024-05-03 13:40:38 +02:00
Wedge009
5e9260570b Add date/time reference to translation hint. Resolves #8822.
Current implementation of translation::strftime() uses boost.
Boost docs do not appear to have a 'current' or 'latest' link, instead only making documentation available by explicit version number.

[ci skip]
2024-05-02 07:01:54 +02:00
pentarctagon
d4636e0407 allow loading .mask files
Fixes #8831
2024-05-01 13:06:21 -05:00
Steve Cotton
3fba8897d8 Help shows terrain types in the section for their default_base
Instead of the aliasing hack that the oasis terrain used to use, have
the help topic generator reuse the editor_default_base as a hint that it
should be included in that section.

The terrain_type class gets a new boolean method, and more documentation.
There's a couple of refactors to use the new method in old code too.
2024-05-01 12:33:01 +02:00
Pentarctagon
ebf93c02bb
Remove doxygen comments for GUI2. (#8820)
Instead move this documentation over to the wiki under https://wiki.wesnoth.org/Category:GUI_WML_Reference

Fixes #7899
2024-04-30 10:00:46 -05:00
pentarctagon
479ccc7fdf 1.18 status in readme. 2024-04-29 22:27:51 -05:00
nemaara
ff040853c2 DiD S3: do not allow exp grinding and buff puzzle exp 2024-04-29 18:37:56 -07:00
doofus-01
51b8c5944f
fix copyrights.csv (#8821) 2024-04-28 19:32:23 -07:00
doofus-01
0b281f64e0
1.19 - Brush up minor characters (#8764)
* HttT sea orc update

* TSG eyestalk portrait

* TRoW vampire lady portrait
2024-04-28 18:53:11 -07:00
Tahsin Jahin Khalid
4fb9f51db7 utils.cfg: typo fix in FULL HEAL macro 2024-04-28 20:45:27 +02:00
Subhraman Sarkar
6e2cbdce54
add icon to windows installer and uninstaller (#8817) 2024-04-28 21:27:10 +05:30
Jonathan-Kelly
890caf513c Add submerge to oasis terrain
Follow up to #8783 this makes a unit on an oasis tile visibly sink slightly into its waters, just like with ford terrain.
2024-04-28 11:31:45 +02:00
Gunter Labes
1c166bb0e3
Changelog entries for 72d2f45 2024-04-27 13:59:14 +02:00
ForestDragon
72d2f4588b
Nerf Elvish Shyde/Enchantress/Sylph/Sharpshooter/Avenger
* Elvish Avenger - decreased ranged attack from 11×4 to 10×4, decreased cost from 66 to 60
* Elvish Sharpshooter - decreased ranged attack from 12×5 to 10×5, decreased cost from 62 to 55
* Elvish Shyde - decreased ranged slow attack from 8×3 to 7×3, decreased ranged magical attack from 14×3 to 10×3, decreased cost from 69 to 58
* Elvish Enchantress - decreased ranged slow attack from 7×4 to 6×4, decreased ranged magical attack from 13×4 to 11×4, decreased cost from 70 to 62, decreased XP requirement from 198 to 180
* Elvish Sylph - decreased ranged magical attack from 16×5 to 13×5, decreased cost from 161 to 135
2024-04-27 13:56:50 +02:00
Tahsin Jahin Khalid
60a620ba76
HttT S16: fix li'sar missing her unrenamable=yes (#8782)
* S16: fix li'sar missing her unrenamable=yes

* S16: add one more instance of unrenamable=yes
2024-04-27 12:53:23 +06:00
pentarctagon
6d12b17d95 add tooltip. 2024-04-27 00:55:24 -05:00
Pentarctagon
b3f6f80010
Add a button to the build info dialog to rerun the migrator. (#8791)
Add-ons: checks for any that exist in the chosen other version but not in the current version.
Preferences: adds attributes that don't exist from the chosen other version's preferences that aren't in the current version's preferences. for attributes that exist in both, use the attributes from the file that was modified most recently.
Credentials: move if the credentials file doesn't exist.

Fixes #7936
2024-04-27 00:45:41 -05:00
Gunter Labes
c2d179f75e
Missed one pair of quotes 2024-04-26 23:39:02 +02:00
Gunter Labes
2099c23e54
Remove unnecessary workaround 2024-04-26 23:33:19 +02:00
Gunter Labes
b14ff85b0c
Fallback to commit hash 2024-04-26 23:23:28 +02:00
Jonathan-Kelly
b3802f44ea SoF S7: fewer and slower enemy outriders
This is to counteract the swifter and deadlier Elvish Outrider after the 1.18 core unit balance changes.
2024-04-26 16:44:24 +02:00
newfrenchy83
71a6e465e0 using number of amla to condition increase of experience to level change
Like this, when Youth remain level 1 in EASY mode, max_experience remain to 16
2024-04-24 20:01:37 +02:00
newfrenchy83
8554e9844e add formula in Quenoth Youth advancements 2024-04-24 20:01:37 +02:00
newfrenchy83
5f857f3dfc Add size and id modifications in formulas
while waiting for the release of the use of the number of advancement or their identity to be decided, I added both in the formulas
2024-04-24 20:01:37 +02:00
Iris Morelle
08ee0dddd1 gui/language_selection: Show locale codes if debug mode is enabled 2024-04-24 09:45:13 -04:00
Iris Morelle
00cdaaa2d6 gui/language_selection: Additional UI work for clarity
* Moved the Show All Languages checkbox from the main body to the
   bottom left of the dialog to save space and make it more obviously
   connected to the listbox.

 * Changed the Show All Languages checkbox label to reduce the word
   count a tiny bit.

 * Added text regarding translation percentages representing core
   textdomains only.

 * Added a link to gettext.wesnoth.org.
2024-04-24 09:45:13 -04:00
Steve Cotton
ac12be8342 Unit test cumulative resistance with a max_value
In 1.19 since 82499d0785, this will apply a
max_value of 15, which will also be the combined value.

The same test has surprising result on 1.18, the max_value attributes get added
together for a total max_value of 47, but the values don't, so the single
highest value of 30 is used.

(the corresponding 1.18 commit is 9632febdb5)
2024-04-24 14:52:22 +02:00
Steve Cotton
3fb8a91bc6 Unit test cumulative resistance with a base value
These tests clarify what "cumulative" means for non-leadership abilites,
which since Wesnoth 1.1.3 doesn't seem to fit the English word.

For cumulative abilities, if the base value from the unit is higher that
the ability's value, then the base value is used instead. In the case of
a Skeleton with 40% base resistance, "cumulative=yes" is equivalent to
"value,cumulative=40,no".

In all of these cases, a single ability's value is used; "cumulative"
doesn't mean that the values from multiple abilities interact.

This is all when using value=, not when using add= or sub=.

(cherry picked from commit 9b2016a4af)
2024-04-24 14:52:22 +02:00
newfrenchy83
51e568ff1c Convert CRYSTAL_QUIVER to ability for consistency and move overlay and halo to abilities
I don't know if a bow  attack is added in the objects but in any case I prefer to transfer the special oar in abilities in the same way as for the amulet
2024-04-24 10:41:09 +02:00
newfrenchy83
929d62e7f6 Fix EI: Plague Staff Doesn't Gain Arcane Damage When Equipped After Holy Amulet
Fix https://github.com/wesnoth/wesnoth/issues/8745 in using ability instead of specials
2024-04-24 10:41:09 +02:00
Jonathan-Kelly
707c4e6ed2 Add shallow water to oasis like ford terrain
Resolves  #8753
2024-04-24 04:39:06 +02:00
Gunter Labes
de92a87419
Remove history expansion
It's rarely useful and just gets in the way. Fixes #3328.
2024-04-23 22:57:27 +02:00
Gunter Labes
c7be17bb76 Only return info of known terrain 2024-04-23 13:29:20 +02:00
Gunter Labes
56fc63e238
Remove superfluous double sort and use POSIX conform regex 2024-04-23 09:21:23 +02:00
gfgtdf
55162c4654
Fix build with boost 1.85 2024-04-22 23:07:18 +02:00
pentarctagon
8e5404bc24 update steam runtime image. 2024-04-22 13:38:44 -05:00
Steve Cotton
c7acbd243a Fix a warning in the sdl2 conftest
The argv variable was unused. The build still succeeded,
but GCC emited a warning about it.
2024-04-22 19:24:11 +02:00
Gunter Labes
5ec648a1b2 Avoid invalid pointer access on recall
Should fix #8778.
2024-04-22 19:03:12 +02:00
newfrenchy83
c7080e0ecc
Select alternative damage type based on opponent resistances
If two [damage_type]alternative_type= are used with two different types, the chosen type displayed in the pre-combat window will be the one to which the opponent is most vulnerable. That type will then also be used in the attack if it is stronger than the original/replacement_type.

In the sidebar (report) all alternative_types are displayed.

---------

Co-authored-by: Gunter Labes <soliton@wesnoth.org>
2024-04-21 13:05:03 +02:00
Gunter Labes
553b1a4511
Fix scons SDL version check
0aa8dc3 converted to a runtime test and broke the scons SDL version check since
it only links which trivially makes it work for cross compilation though.
2024-04-20 18:05:11 +02:00
Nils Kneuper
d112ca2339 updated Russian translation 2024-04-20 15:45:26 +02:00
Nils Kneuper
dd8478ed7f updated French translation 2024-04-20 15:44:09 +02:00
Nils Kneuper
3d6907eba1 updated Bengali translation 2024-04-20 15:42:49 +02:00
Wedge009
2c04c274fa Revert "Disable the Windows CI builds"
This reverts commit ac5f821729.
2024-04-20 10:05:18 +02:00
pentarctagon
7b0dd32d79 Fix OOS when teleporting unit with no moves left
debug teleport doesn't use movement points, so there's no need to check them.
2024-04-18 18:24:56 -05:00
Marcus Örnås
d3b3c8c07a Add a "Teleport Unit (Debug!)" option to debug menu
Fixes #5649
2024-04-18 18:24:56 -05:00
pentarctagon
39987cd1ca Add a Community button to the title screen.
This opens a dialog with links to the forums, discord, etc, plus a donate button that links to Wesnoth's SPI page.
2024-04-15 16:50:42 -05:00