Commit graph

1367 commits

Author SHA1 Message Date
doofus-01
69ad6cac51
Update changelog.md 2021-02-28 20:15:58 -08:00
Nils Kneuper
2191911cc1 updated British English translation 2021-02-27 13:19:36 +01:00
Nils Kneuper
bb035ea19d updated Italian translation 2021-02-27 13:18:26 +01:00
nemaara
3d49124c1d Add SoF balance to changelog 2021-02-27 05:26:24 -05:00
Steve Cotton
c46a2171f2 Improve the Load dialog's UX when there are no save files or corrupted files
Re-add the popup that appears when "Load" is pressed on the title screen if
there are no files, but now check for files from previous versions too.

Improve handling of switching from a version with files to a version without
files, disabling buttons on the load dialog when there are no files in the
current directory. Versions with no files will still be shown in the drop-down.

This adds a todo about the error path at the start of evaluate_summary_string,
this path is reached by creating empty files in the save dir. The dialog's state
is reasonable, so it seemed a low priority and I don't want to introduce new
bugs by refactoring this path now.

Deleting all files now doesn't automatically close the dialog.
2021-02-24 21:18:48 +01:00
nemaara
80f6db1f0d Add DM rebalance to changelog 2021-02-21 16:40:16 -05:00
Celtic Minstrel
3226147630 Add gives_income key to SLF 2021-02-21 13:22:30 -05:00
Iris Morelle
962db2ebf6 Update changelog oops
[ci skip]
2021-02-21 02:51:36 -03:00
Pentarctagon
b96f047d7c
1.15.10+dev. 2021-02-20 18:02:48 -06:00
Pentarctagon
ba580774f1
1.15.10. 2021-02-20 18:01:19 -06:00
Pentarctagon
40ff503470
Retroactively add WoV's removal to the changelog. 2021-02-20 14:06:11 -06:00
Pentarctagon
e47b75940f
Disable World Conquest pending removal or a maintainer stepping forward. 2021-02-20 13:29:14 -06:00
Nils Kneuper
243bc6de78 updated Turkish translation 2021-02-20 14:12:56 +01:00
mattsc
1f3a90cdef Update changelog 2021-02-19 20:23:01 -08:00
Steve Cotton
09c8c506e1 Make the preferences window big enough for HDPI fonts
The hardcoded size of the window was too small for the large fonts on HDPI
displays, this changes to using the automatic width and calculated-based-on-dpi
height. On HDPI displays that does leave blank space on the General tab, but it's
better than not scaling.

Buttons that were placed at the bottom of pages move up so that they aren't
too far from the other controls. The sub-tab-selector buttons on the
multiplayer tab move above the sub-tabs themselves.

With HDPI text, the checkboxes are placed a little too high to align with
the font, but that's a cosmetic detail; this commit fixes the usability issue.
2021-02-19 15:52:47 +01:00
newfrenchy83
05b2ea2262
Extend special_id_active and special_type_active to account for abilities used as specials 2021-02-18 18:19:35 -06:00
kabachuha
0293e77968 Update changelog
[ci skip]
2021-02-18 19:14:30 +03:00
Celtic Minstrel
75522eb224 Update changelog 2021-02-16 20:42:35 -05:00
Iris Morelle
a2d676e394 Take display zoom into account when rendering unit animation frames
It was already considered for registering halos, just not for rendering
regular frames. This commit touches the halo code a little so we don't
need to call get_zoom_factor() multiple times per frame.

Closes #5508.
2021-02-15 21:20:53 -03:00
nemaara
3e81f0e34e Add TRoW rebalance to changelog 2021-02-14 21:40:26 -05:00
Pentarctagon
a7aeff9e49
Changelog update. 2021-02-13 19:30:30 -06:00
Iris Morelle
bbcf9db1b5 Update changelog 2021-02-13 20:05:18 -03:00
Steve Cotton
4a43d00522 Show a two-color tennis ball orb for the disengaged state (#5155)
As the disengaged state is part-way between the "partial" and "moved" states,
the orb has parts in each color. On the minimap these units are shown in the
partial color (which is also the color that would be used before this change).

This will match the mounted Quenoth units' "disengage" skill, when they
can still move but can't attack. It should also trigger for some UMC abilities
that get extra moves after a character attacks.

During testing, I found that TSG allows some of the bandits to attack on the
first turn of the bandit branch. There's no gameplay change there, but the orbs
make it much clearer that some units can still attack.

I think there are already too many preferences for orbs, so reused the existing
settings for the colors. A new "show disengaged orb" preference is added, which
when disabled shows the old partial orb instead.

Update the orb and ellipse sections of doc/manual/.

Notes about how I created the new orb image:

* create a color range to_ellipse_red with rgb=FF0000,FF0000,000000,FF0000
* wesnoth --render-image 'misc/orb.png~RC(magenta>to_ellipse_red)' images/misc/orb-ellipse-red.png
* open the orb.png and orb-ellipse-red.png images as layers in Gimp, add a layer mask to both of them
* use the layer mask to get each pixel from exactly one of the layers
2021-02-13 18:28:33 +01:00
Charles Dang
561cc33dc4
Upgrade to Lua 5.4.2 (#5535)
The change to static_cast for the definition of  LUAL_BUFFERSIZE replaces the fix previously used (d0100758f8) for Lua 5.3. 5.4 removes the static alternative for LUAL_BUFFERSIZE. A better solution would probably be to disable the old-style-cast warning for luaconf.h, but I can't figure out how to do that so using static_cast is the easiest solution. Do note that change will have to be applied each Lua update like the aforementioned commit.
2021-02-14 02:07:12 +11:00
Nils Kneuper
0bdbce7442 updated British English translation 2021-01-30 12:00:21 +01:00
doofus-01
818077cf18
Update changelog.md 2021-01-24 16:59:14 -08:00
Nils Kneuper
de8ad232d4 updated Portuguese (Brazil) translation 2021-01-23 13:17:54 +01:00
Nils Kneuper
601ad5f462 updated French translation 2021-01-23 13:16:33 +01:00
Charles Dang
ddf1ed9f0a Upgrade to Lua 5.3.6
Resolves #5452. There were no official patches to apply.
2021-01-17 21:28:47 +11:00
Severin Glöckner
deeb7460d7 Move changelog entry for Isar’s
from 1.15.8 to 1.15.9
2021-01-17 06:38:31 +01:00
Charles Dang
f8bf44ecf0 Updated changelog 2021-01-17 11:48:24 +11:00
Iris Morelle
8433134e53 Forgot all my 1.15.9 changelog entries
[ci skip]
2021-01-16 20:31:23 -03:00
Nils Kneuper
4d2e20ec85 updated Catalan translation 2021-01-16 18:57:35 +01:00
Nils Kneuper
8ef7d14e45 updated Czech translation 2021-01-16 18:56:12 +01:00
Pentarctagon
e678c544bf
1.15.9+dev. 2021-01-16 11:37:33 -06:00
Pentarctagon
cf23d44810
1.15.9. 2021-01-16 11:34:51 -06:00
Charles Dang
bf153a1f76 Fixed difficulty selection popping up multiple times when loading a game (fixes #5392)
The first issue was difficulty_dialog::show being called twice. The second issue was that show_difficulty_dialog
was called from both load_game_ingame and load_game. The latter is called after the former (this should probably
be refactored), so if you selected Change Difficulty when loading from within a game, the dialog prompt would be
shown when both functions were called. Fixed this by toggling off the show_difficulty flag once a difficulty had
been selected.
2021-01-16 23:24:12 +11:00
nemaara
92fedf8f2a Add DW rebalance to changelog 2021-01-14 05:03:23 -05:00
Charles Dang
b5d9d9cf3e
Merge pull request #5333 from wesnoth/vmp-pr
MP: unique background graphics for Isar's Cross
2021-01-10 11:50:46 +11:00
Nils Kneuper
1aa12caab8 updated French translation 2021-01-09 12:22:14 +01:00
Steve Cotton
0ba433203e Fix [resistance_defaults] and [terrain_defaults] (issue #5308)
These now work:

    [resistance_defaults]
        id="special_res_for_test"
        default="30"
    [/resistance_defaults]

    [resistance_defaults]
        id="copy_of_arcane"
        default="(arcane)"
    [/resistance_defaults]

and so do these:

    [terrain_defaults]
        id="special_terrain_for_test"
        [movement_costs]
            default="(swamp_water + 1)"
            orcishfoot="(vision_costs.swamp_water * 2)"
        [/movement_costs]
    [/terrain_defaults]
    [terrain_defaults]
        id="special_terrain_for_test"
        [defense]
            default="(20 + 7 * movement_costs.special_terrain_for_test)"
        [/defense]
    [/terrain_defaults]

For [terrain_defaults], I've approached it as a new feature rather than a
simple fix. The subtags now use the same names as the [movetype] subtags and
[effect]'s `apply_to` attribute, so [terrain_defaults][movement_costs] instead
of [terrain_defaults][movement].

The formula handling will now recognise "resistance", "movement_costs",
"vision_costs", "jamming_costs" and "defense". For [resistance_defaults], the
formula will recognise both "(arcane)" and "(resistance.arcane)" as equivalent,
similarly for [terrain_defaults] "(swamp_water)" is a shorthand for whichever
subtag is being patched.

A [terrain_defaults] tag may use data added in a previous [terrain_defaults],
as in the examples above where the second tag's [defense] is based on the first
tag's [movement_costs], this gives orcish grunts on the special terrain a 62%
chance to be hit. However, relying on data in the same [terrain_defaults] that
creates or changes it is unsupported - if the [movement_costs] and [defense]
were in a single [terrain_defaults] tag then the result would be implementation
defined, because no guarantee is made of the order in which the children of the
tag are processed.

The schema gets fixed for [resistance_defaults] and [terrain_defaults], as it
only allowed one instance of each tag. The subtags of [terrain_defaults]
already had the new names.

In the schema's MOVETYPE_PATCHING macro, the default= key is mandatory except
for the types that fallback to using movement costs as their default. The tag's
implementation doesn't need it, however omitting it seems more likely to be
an oversight than a deliberate use of an edge case.
2021-01-09 09:13:41 +01:00
Steve Cotton
8aa4471d9a Add help topics for the Editor, as it stands in the 1.14 branch
This commit is on the master branch. There have been no changes at all to the
editor documentation in the 1.14 branch, while there have been several updates
to the master branch that would be good to backport if the help is displayed in
the 1.14 branch - therefore my plan is to get this set of changes reviewed in
the master branch, and then simply pull the entire file into the 1.14 branch
along with enabling the editor documentation (a small change to
data/core/help.cfg, as done in commit
ed611f9438).

A couple of warnings about the scenario mode being buggy are added to the
user-visible text, find these by looking for <bold> tags within the text.
2020-12-30 13:39:07 +01:00
Nils Kneuper
e01fa8e2fd updated Catalan translation 2020-12-29 13:34:14 +01:00
Celtic Minstrel
fe71317280 Update changelog 2020-12-28 15:57:24 -05:00
doofus-01
bb6491f54f
Update changelog.md 2020-12-28 11:02:05 -08:00
Nils Kneuper
8a84a63bf7 updated Chinese (Traditional) translation 2020-12-23 13:42:23 +01:00
Nils Kneuper
47c4b4049f updated Spanish translation 2020-12-23 13:36:20 +01:00
Nils Kneuper
c460a4c69d updated Portuguese (Brazil) translation 2020-12-23 12:57:55 +01:00
doofus-01
fe431d6056
Update changelog.md 2020-12-20 19:23:07 -08:00
Charles Dang
1235a6e9af Synced changelog with 1.14 2020-12-20 14:10:55 +11:00