28583 Commits

Author SHA1 Message Date
Charles Dang
64b7624ea2 GUI2/Preferences: doubled borders in advanced prefs 2022-05-05 23:38:30 -04:00
Luis Miguel Iglesias Sánchez
2acc8e5e79
Added PASSABLE_HEX macro to core and Fixed wallstuck units in UtBS S8 (#6677) 2022-05-05 23:44:45 +06:00
doofus-01
20af906b54
1.17 skeleton sprite cleanup (#6670)
* remove semitransparent swooshes

* skeleton sprite cleanup
2022-05-01 19:51:17 -07:00
doofus-01
5b239bb596
1.17 necromancers cleanup (#6669)
* remove semitransparent swooshes

* necromancer sprite cleanup
2022-05-01 17:06:15 -07:00
doofus-01
e54fcd907d
1.17 elf sprite cleanup (#6668)
* remove semitransparent pixels and black/blurry shadows

* removed some outdated/unused images

* elf sprite cleanup
2022-05-01 16:26:50 -07:00
Wedge009
78ea9ed0dd Editor: Add sconce tile to cave group.
[ci skip]
2022-05-02 09:00:11 +10:00
Wedge009
af72f75b2d Editor: Add some missing terrain groupings (resolves #6643).
[ci skip]
2022-05-02 09:00:11 +10:00
Elvish_Hunter
52da1fa774 wmllint: replaced gif with webp in two regexps 2022-05-01 11:24:28 +02:00
doofus-01
f17b8b76e9
1.17 dunefolk sprite cleanup (#6662)
* dunefolk sprite cleanup
2022-04-30 20:43:50 -07:00
doofus-01
0712c33b3a
1.17 goblin sprite cleanup (#6659)
* goblin sprite palette cleanup
2022-04-30 17:51:31 -07:00
doofus-01
21ddeadfed
1.17 orc sprite cleanup (#6657)
* remove semitransparent swooshes

* orc sprite palette cleanup
2022-04-30 13:52:36 -07:00
Tahsin Jahin Khalid
945d1c8160 [liberty] fix missing background image 2022-04-30 14:59:01 -05:00
Tahsin Jahin Khalid
2a0d198240 [DiD] fix missing background image 2022-04-30 14:59:01 -05:00
Pentarctagon
9bfd432abe Update image pages for webp extension. 2022-04-30 14:23:32 -05:00
Pentarctagon
9469f8af63 Update wmllint. 2022-04-30 14:23:32 -05:00
Pentarctagon
51b58ad218 Rename converted images to webp. 2022-04-30 14:23:32 -05:00
Pentarctagon
e5d6d806bf Convert image contents to webp. 2022-04-30 14:23:32 -05:00
Pentarctagon
d21702a7be Fix some invalid image paths in WC.
Also the Dune Piercer no longer exists (replaced by Rider which is already mentioned).
2022-04-30 14:23:32 -05:00
Tahsin Jahin Khalid
13ea8a9795 [wc2p] fix broken image path
incorrect image path after merger of #6655 so patching it
2022-05-01 01:11:15 +06:00
Charles Dang
b6fa7733b3 GUI2/Preferences: made better use of space for display scaling option 2022-04-30 14:20:47 -04:00
doofus-01
a2ad3ae198
1.17 undead sprite cleanup (#6655)
* move bats out of undead/, into bats/

* move ghost line to separate folder

* bats, undead corpses and spirits sprite palette cleanup
2022-04-30 10:50:52 -07:00
Nils Kneuper
22d96e8ac1 updated Czech translation 2022-04-30 13:23:39 +02:00
Charles Dang
e05745e64c
Merge pull request #6629 from mesilliac/pixel_scale_multiplier
Add a pixel scale multiplier option, enabling integer scaling of the game to higher resolutions.
2022-04-30 03:22:11 -04:00
doofus-01
618b5ecede
1.17 troll sprite cleanup (#6653)
* remove semitransparent swooshes

* cleanup troll sprite palette
2022-04-29 19:01:39 -07:00
Pentarctagon
89424888c6 Add images solely for use in the scons conftests. 2022-04-29 20:08:06 -05:00
Pentarctagon
33722a9801 pot-update for WoF po addition. 2022-04-29 16:52:12 -05:00
doofus-01
2063fa5133
wose sprite palette cleanup (#6652) 2022-04-29 07:40:51 -07:00
doofus-01
de02da06ca
1.17 outlaws sprite cleanup (#6651)
* remove semitransparent swooshes

* sprite palette cleanup for human-outlaws
2022-04-29 07:40:21 -07:00
doofus-01
08dfbff663
human lvl 0 sprite cleanup (#6649) 2022-04-28 20:08:21 -07:00
doofus-01
5c1c91c4a7
1.17 cleanup of Naga sprites (#6642)
* reorganize naga sprite directory

* Naga sprite cleanup

* update image paths for naga sprites
2022-04-28 07:00:13 -07:00
doofus-01
a4955a39fa
palette cleanup of ogre sprites (#6640) 2022-04-27 04:29:25 -07:00
Elvish_Hunter
f65e434428 wmllint: finish removing support for the old special notes system
The magic comments 'notecheck off', 'notecheck on' and 'match <ability> with <note>' no longer have any effect.
2022-04-26 11:19:43 +02:00
Elvish_Hunter
2c993867cf wmllint: removed --stringfreeze command line flag
This flag was supposed to disable repair attempts for newlines in messages, however it never did so, even when the non-standard word wrap check was still available. Instead, it just disabled repair attempts for double spaces after sentence ends.
2022-04-25 23:05:39 +02:00
doofus-01
4e00e30640
1.17 - minor terrain updates (#6626)
* updates to desert terrain

*  ^Bsa snowy stone bridges 

* fix wooden bridge bug introduced by #6606
2022-04-23 20:23:35 -07:00
Steve Cotton
792f630c50 SoF: A few extra translation hints
po: In SoF S09, many strings involving Krawg (a gryphon) assumed that Krawg was
the only flying unit. Similar texts have been added that are used when the player
has gryphon riders too; most of these will be marked as fuzzy versions of the
Krawg-only strings.

(cherry picked from commit 745a0e127122b9b157ea89f178b906c610d59bce)
2022-04-23 12:41:39 +02:00
Nils Kneuper
f0e21155bd updated Chinese (Simplified) translation 2022-04-23 11:13:57 +02:00
Wedge009
f82079bcc0 SoF S9: Allow for Gryphon Riders to trigger an event on the final runic tablet, and add translator hint
Things in the scenario didn't quite make logical sense considering the presence of Gryphon Riders. This resolves the issue by allowing them to trigger an event, and by acknowledging them in the endlevel dialog. Additionally, one translator hint is added for the "Smash" text when the rune is smashed.
2022-04-22 11:30:03 +10:00
Steve Cotton
0f6a94f2a7 Unit tests for [drains], [poison] and [slow], with apply_to=opponent
Slightly different to PR #6582, which was the 1.16 version of this. The five
lines that were labelled `preserving known bug` are changed to test that it's
been fixed.

Here `apply_to=opponent` means that the weapon special gives the opponent the
ability, the unit that should get poisoned or slowed is the unit that has the
weapon special.

There's a known bug in 1.16, that `apply_to=opponent` check the wrong unit to
see it it's `unpoisonable`, `undrainable` etc. It also checks the wrong unit to
see if it's already poisoned or slowed, so a battle between two units that both
have reverse-poison results in at most one being poisoned.

Most of the credit for this is Newfrenchy's, as he's already written a fix
and a WML based test. This commit uses a Lua test instead to test more
combinations of statuses.

This adds a `COMMON_KEEP_A_B_UNIT_TEST` macro, which is a counterpart to the
`GENERIC_UNIT_TEST` macro that starts the leaders next to each other, ready
to attack. The `A_B` is because I'm planning a multiple-side variant too.

There's no test for [petrify], as simulate_combat doesn't provide a stat for it.

This tests only 3 of the 6 abilities whose behavior changed in 650f70405ff.
My thoughts on testing the others are:
* [firststrike]'s test is in 650f70405ff.
* [drains], [poison] and [slow] are tested here.
* [petrify] ends combat, it's also not exposed in simulate_combat's stats.
* [plague] triggers after combat ends.
2022-04-19 15:27:49 +02:00
Tommy
3a781c87ad Add pixel scale preference option. 2022-04-18 17:25:06 +12:00
Steve Cotton
c5dec73784 Unit tests: make separate files for each starting position
Turn the 4 side setup of the firststrike_and_laststrike test into a macro
called `COMMON_KEEP_A_B_C_D`for reuse in other tests.

The comment for `GENERIC_UNIT_TEST` gets a couple of extra paragraphs.

All the files get wmlindent run on them, which reindents `FAIL_IF_NOT`.

The main reason for having these is separate files is Git's fuzzy-patch
matching when merging and rebasing. Having large blocks of identical text
in `wml_unit_test_macros.cfg` can mean the wrong section gets patched.
2022-04-18 04:48:53 +02:00
Pentarctagon
073d4111b2
1.17.3+dev 2022-04-16 19:35:46 -05:00
Pentarctagon
4a6ba74ea8
1.17.3 2022-04-16 19:34:19 -05:00
loonycyborg
d10a784486
pot-update and regenerate doc files 2022-04-17 03:29:07 +03:00
doofus-01
19fcc1424f
Deprecation of old-style _PLFB and script-generated macros
1.17 terrain-graphics macros clean-up (#6606)
2022-04-16 10:01:09 -07:00
Celtic Minstrel
a76aa9bddc
Add wesnoth.interface.add_floating_label as a replacement for wesnoth.print (#5837)
This returns a label handle which allows you to remove, reposition, or replace the label later.

In addition to all the features of wesnoth.print, you can now specify where the label appears onscreen, as well as a fadeout time separate from the duration.

You can also anchor the text to an edge or corner instead of centering in on the screen,
specify the maximum width it can occupy as an absolute width or a percentage,
and specify a background colour and transparency.

It includes a demo scenario that demonstrates many of the capabilities of the API.
To play the demo scenario, run with -toverlay_text_demo or select it from the in-game test list.
2022-04-10 13:00:29 -04:00
Steve Cotton
c7acca4ea7 SoF: Consistently use lower-case after ellipses
Sadly, this takes the campaign up to 100 string changes between 1.16.2 and
1.16.3. The only one of these that was already going to change for 1.16.3 is
S04t's volcanic forge one.

(cherry picked from commit a1e60f061dd85237215966e5733a8da8f7ec126b)
2022-04-09 01:27:48 +02:00
Pentarctagon
c3a5763f03
Fix schema. 2022-04-08 11:49:02 -05:00
Charles Dang
c8f1e63742 Merge branch 'master' of github.com:wesnoth/wesnoth 2022-04-08 03:08:07 -04:00
Charles Dang
a3b6f57e4d Game Load: revamped design 2022-04-08 03:02:21 -04:00
Charles Dang
6b329a020a Loading Screen: added an (as-yet unused) image background layer 2022-04-08 02:59:11 -04:00