Commit graph

1357 commits

Author SHA1 Message Date
nemaara
64e6c133fe Add THoT rebalance to changelog 2020-12-16 04:14:46 -05:00
nemaara
6e11c01664 Add campaign balancing to changelog 2020-12-15 02:47:43 -05:00
newfrenchy83
2168f629fb
Add overwrite_specials attribute to allow forcing a lower chance to hit
The reported issue being that the FORCE_CHANCE_TO_HIT macro was able to force an increase in an attack's chance to hit, but no longer able to force a decrease.
2020-12-14 14:57:59 -06:00
Nils Kneuper
018866a7c8 updated Italian translation 2020-12-11 20:00:41 +01:00
Charles Dang
7188781f91 GUI2: made link_aware a per-instance config option rather than per-definition
Back when link awareness was first added (https://github.com/wesnoth/wesnoth/pull/300), this key was added
globally to label definitions alongside link_color. This had the unintended side effect of making *all* labels
link aware, leading to issues such as being able to open a do-you-want-to-open prompt from an instance of the
same ad-infinitum.

This became an active issue after 213453e6cf, since now that labels could capture
focus if link_aware was true - which it always was for most labels - labels in toggle panels would always
grab mouse_motion events and no longer allow their parent toggle panels to gain their hovered states. That
appears to be in keeping with the design of GUI2, and a further evaluation of that issue is needed at a later
time. However, the fact remains that almost every single label was marked as link-aware, even when in almost every
case that was not the desired behavior.

This change move the link_aware config option to individual label and scroll_label instances. The following uses
had this explicitly enabled:

- Addon license prompt
- Addon descriptions
- Campaign descriptions
- The Server Info popup
- The chatbox
2020-12-12 03:03:09 +11:00
Iris Morelle
213453e6cf gui2/label: Use the hyperlink mouse cursor while hovering links
This also moves gui2:🏷️:can_mouse_focus()'s declaration to a
section that makes more sense for it to be in. Thanks to jyrkive for
pointing out the existence of this method.
2020-12-11 07:39:29 -03:00
Steve Cotton
68eeb39e97 EI S03: Fix the chance-to-hit on the initial Dark Adept
The map was changed to use ruined castles in 1.14.12 (fb6d79c8) and 1.15.3
(704fa2ef), but the .cfg file was missed.
2020-12-10 11:36:51 +01:00
Iris Morelle
220792dd07 addon/mg: Ensure _info.cfg has an [info] node when reading it
Fixes the dreaded "Mandatory WML child missing yet untested for. Please
report" error occurring when reading _info.cfg files that don't have a
valid [info] tag. In particular, this would cause the game version
dialog to crash to desktop.
2020-12-10 03:21:00 -03:00
Iris Morelle
2f5ed53bb0 Update changelog
[ci skip]
2020-12-09 11:47:51 -03:00
Severin Glöckner
7258c3f651 MP: unique background graphics for Isar's Cross
Mainlined from the add-on "Visual Map Pack"
2020-12-07 05:06:27 +01:00
Nils Kneuper
f1b9df1caf updated Portuguese (Brazil) translation 2020-12-05 12:51:16 +01:00
Charles Dang
6adc9ab76f Bump SDL_Image dependency to 2.0.2 and enable jpg screenshots unconditionally 2020-12-05 09:30:17 +11:00
kabachuha
f687be92bd update changelog 2020-12-04 16:30:55 +03:00
Iris Morelle
85b6daa9c9 campaignd: Drop plain text passphrase migration
Closes #5080.
2020-12-03 23:49:53 -03:00
Elvish_Hunter
e7c96a2619 Changelog entry 2020-12-03 21:58:57 +01:00
doofus-01
771e9b96ac
Update changelog.md 2020-11-29 13:28:14 -08:00
Nils Kneuper
b512849f37 updated Russian translation 2020-11-29 14:42:45 +01:00
Nils Kneuper
d15c1d76d8 updated Polish translation 2020-11-29 12:45:20 +01:00
doofus-01
ef15197b94
Update changelog.md 2020-11-26 19:23:54 -08:00
Steve Cotton
f7df77ba5e Add section-headings to the changelog, clean-up some empty ones
Trying to reduce the merge-conflicts if PRs include their own
changelog updates.

[ci skip]
2020-11-22 14:51:15 +01:00
Iris Morelle
cc5a5e78a8 Update changelog
[ci skip]
2020-11-22 00:54:04 -03:00
Nils Kneuper
e61dcc351c updated Czech translation 2020-11-21 11:36:43 +01:00
Nils Kneuper
e3558760be updated British English translation 2020-11-21 11:35:05 +01:00
Pentarctagon
a2dfbac430
Wesnoth 1.15.7+dev. [ci skip] 2020-11-20 22:53:13 -06:00
Pentarctagon
b8c12b63ad
Wesnoth 1.15.7. [ci skip] 2020-11-20 22:53:13 -06:00
Pentarctagon
b050a13b5d
Changelog update. 2020-11-19 22:35:51 -06:00
Iris Morelle
74e838865c Update changelog 2020-11-18 18:17:59 -03:00
kabachuha
00df26e116 update changelog
[ci skip]
2020-11-18 21:20:34 +03:00
Lukas Jox
d30b3eccb8 update changelog 2020-11-17 14:56:26 -06:00
Steve Cotton
1cd0cc7d26 SotA: Fix Ardonna's zombie list after Rastabahn's scenarios
Fixes #5256, which was that `{SAVE_ZOMBIE_LIST rastabahn_zombies}` overwrote
the ardonna_zombies variable.

Move the MERGE_ZOMBIE_LIST code to be next to the LOAD and SAVE code, as any
change to one of these functions should probably be done to all of them.
2020-11-16 04:54:08 +01:00
doofus-01
c4bb3c62b0
Update changelog.md 2020-11-14 21:05:49 -08:00
Iris Morelle
6424384c55 Reduce L0 Icemonax's XP from 26 to 25 for consistency 2020-11-05 19:34:09 -03:00
Steve Cotton
1cdc4ef530 IntroWML code cleanup and fix/rename of [image]resize_with_background=
Prior to this commit, the scaled= attribute was undocumented and had what I
assume was a bug - when enabled the image was scaled up to the width and height
of the background - not to the same ratio as the background, but to the full
size. So if you had a 1000 pixel wide background in an 800 pixel wide window,
then scaled=yes meant each journey-marker was an 800 pixel-wide blob.

However, if anyone was using it with background-size images as overlays then
this commit will break that usage - that use case is still supported by having
multiple [background_layer]s.

Closes #5223, which was a question about whether to fix or simply remove the
scaled attribute. Given that [background_layer]scale= and [image]scaled= have
different meanings (the background_layer one should and does cause it to be
full-window), I've kept the 'd' on the end of 'scaled' too.

Use a loop instead of recursion. This cleanup is prompted by #5041 (drawing
map labels in IntroWML), which will add more items to be drawn in this loop.
The old implementation would not have triggered tail-recursion optimisations,
as the recursion site wasn't the final code in the function.

Correct documentation in the .hpp file about when the delay takes effect (this
isn't a behavior change, just a documentation correction).

Review the schema, and remove attributes that aren't supported by the code.
Many of these attributes are supported for `background_layer` but not `image`.
2020-11-04 12:24:42 +01:00
Steve Cotton
d4739088da AToTB S02: Rewrite the script with the elves thinking the baddies are grey mages
This is about 10 lines of translatable text, not sure if it's okay to backport to 1.14.
The storyline itself is going to have large changes by 1.18 (maybe 1.16), so I'm not sure if
this will ever be in a stable release.

If a player loads a start-of-S02 save without the who_slew_mordak variable then it will still
work, showing the "I saw the killing blow with my own eyes" version.

Explanation for what's going on (put in the commit message because this bit is non-canon):

There are some "grey mages" in the Grey Woods, who appear in the Liberty
campaign. Most of the details of these were removed from 1.15, but in 1.14's
Liberty S06 they don't tolerate necromancers. SotA mentions an ancient elvish
civil war in these woods, with the ghosts still haunting the battlefield. I'm
assuming a general truce between elves and grey mages, on the understanding
that the grey mages are doing exorcisms of ghosts from the ancient war.
2020-11-02 21:32:56 +01:00
Steve Cotton
caf89117e3 Update changelog for the hyperlink fix 2020-10-31 01:32:36 +01:00
Nils Kneuper
34e5aebef0 updated Catalan translation 2020-10-30 12:45:25 +01:00
Iris Morelle
bc9baad3e5 Relabel Language & i18n changelog section to appease vultraz
[ci skip]
2020-10-26 12:56:30 -03:00
Iris Morelle
90af73dca8 Update changelog
[ci skip]
2020-10-26 12:55:43 -03:00
Steve Cotton
b523297c2a Add docs about crowns and ellipses
The image added here is a grass background to draw units on via Image Path
Functions. For the documentation, a square image looks better than a hexagon
that has black borders.
2020-10-26 16:07:12 +01:00
Nils Kneuper
9e91ddb1fe updated Polish translation 2020-10-24 10:55:59 +02:00
Nils Kneuper
2776c8d34b updated British English translation 2020-10-24 10:48:04 +02:00
Iris Morelle
858f55c7fd log: Fix precise timestamps missing a trailing space
Without this, log messages with --log-precise enabled tend to look just
a bit *off*:

  20201019 23:09:21.786752info general: attempting to generate locale by name 'en_US.UTF-8'
                          ^
2020-10-19 23:13:32 -03:00
Iris Morelle
f4815fae78 log/windows: Fix missing class member initializer
This had the confusing side-effect of making some code in wesnoth.cpp
believe it was safe to prompt the user to press Enter when NOT using
--wconsole on my system, because the flag ended up with a true value by
default.

This is why you don't leave integral-type variables uninitialized, ever.
2020-10-19 21:20:39 -03:00
Gunter Labes
f1a1317616
Typo fix 2020-10-19 16:34:39 +02:00
Gunter Labes
2b1885bce4
Typo fix 2020-10-19 14:04:32 +02:00
Nils Kneuper
a4a798cd04 updated Portuguese (Brazil) translation 2020-10-19 11:51:53 +02:00
doofus-01
bfa973e83a
Update changelog.md 2020-10-18 17:39:19 -07:00
doofus-01
4a52e2b035
Update changelog.md 2020-10-18 17:32:05 -07:00
Charles Dang
4355a9046c Fixed changelog indent 2020-10-19 09:35:46 +11:00
Steve Cotton
b38d272c4c During allies' turns, their units' orbs show the move status (#1424)
Instead of using the allied orb during their turn, the unmoved, moved and
partial orbs are shown. The player's own units will be shown with the moved orb
during the ally's turn, which matches the previous behavior. This is intended for
co-operative MP campaigns, where it will make it easier for players to discuss
possible moves. The UX is also visible in SP scenarios with allied sides, HttT's
first scenario is an easy place to see what it does.

If another status is added to the orb_status enum, this code is likely to
support it with no changes needed for the parts in this commit. For example,
issue #5155's proposed orb_status::disengaged has been tested with this.

Updated the documentation about orb colors. In these docs I've moved all of
the images to a single line above the bullet-pointed list, as otherwise the
layout looked bad once a line wrapped - the first line appeared
horizontally-aligned with the center of the image, the second started under the
image.

Added documentation about the delay in multiplayer games, as the purpose of this
orb-coloring feature is to assist discussion in multiplayer games.
2020-10-17 14:11:10 +02:00