Commit graph

29725 commits

Author SHA1 Message Date
Jonathan-Kelly
cc41cff8c2 WoF S7: slightly weaken guards 2024-03-15 14:52:32 -05:00
Jonathan-Kelly
232f730c97 WoF S6: minor income consistency 2024-03-15 14:52:32 -05:00
Jonathan-Kelly
28ba930c89 WoF: adjust music 2024-03-14 13:22:40 -05:00
Jonathan-Kelly
a3a785f27b WoF S9: move crannog village in from map edge
Two other maps and one other scenario which depict the same region get corresponding tweaks.
2024-03-14 18:20:29 +01:00
Wedge009
d106238410 SotA S16: Keep Crelanu within his ring of protective holy waters. Resolves #8361. 2024-03-12 13:35:40 +01:00
Severin Glöckner
bb5eea3017 ANL: swap order of events
This keeps village destrution events adjacent,
the events will also appear in order of id.

[ci skip]
2024-03-11 19:34:17 +01:00
Charles Dang
1371bc8cb7 GUI2/Simple Item Selector: increase border size 2024-03-11 13:06:44 -04:00
Severin Glöckner
ff4854cc30 ANL: make destruction events removable
[ci skip]
2024-03-11 14:38:11 +01:00
doofus-01
450ab7959b minor cleanup of theme font macro 2024-03-10 14:07:13 -04:00
Dalas121
edb8132d75 EI - recolor achievement icon
Replace the magenta coloring on the S04 achievement icon with white, reflecting the in-game unit color.
2024-03-10 16:18:30 +01:00
newfrenchy83
77cd2b7b2e Fix Ambush Ability Does not Work in Bluff/Glutch Forest Terrain
Resolve https://github.com/wesnoth/wesnoth/issues/8512 issue
2024-03-09 12:32:20 -06:00
Iris Morelle
5751cd1a33
wesmere: Death to the trailing stops in the site footer 2024-03-09 06:30:54 -03:00
Severin Glöckner
5ccda0cabc ANL: make main events removable
[ci skip]
2024-03-09 01:50:45 +01:00
Michal Fusatý
811dcd45b9
Adding myself to credits (#8470)
Based on https://wiki.wesnoth.org/SlovakTranslation
2024-03-08 12:45:49 -06:00
Iris Morelle
f229bef40a EI: Bind translatable strings to wesnoth-units
Barrow Wight's definition includes a couple of attack name strings
from the wesnoth-units textdomain bound to wesnoth-ei by default
instead, which creates two unnecessary extra strings for translators
to translate. This change fixes this by binding these two strings to
wesnoth-units so their existing translations can be used.

(Pyre Wight does not require this change since it already uses the
wesnoth-units textdomain for the single attack name it uses.)

(cherry picked from commit d6a8c98211)
2024-03-07 15:13:13 +01:00
gfgtdf
851c909cd3
Fix #8460 [effect] apply_to=variation (#8475)
* Fix #8460 [effect] apply_to=variation

Previously the code could apply the variation effects
last, so that codes like
```
[effect]
  apply_to=variation
  ..
[/effect]
[effect]
  apply_to=hitpoints
  heal_full=yes
[/effect]
```
Would not set the unit hitpoints to the new variations
hitpoints because the variation effect was applied after
the healing effect.

In 1.16 this worked because healing was applied a little
too often but that lead also to bugs like #8342

* f prev

* f prev

* f prev

* f prev

* f prev

* Create modification_effect_type_variation.cfg

* Update wml_test_schedule
2024-03-07 01:25:59 +01:00
Steve Cotton
f431e724f8 wmllint: drop the rule about [campaign]rank= being a multiple of 5
The idea of using multiples of 5 seems like a way to avoid having to change
multiple campaigns' ranks at once, because it leaves space to rearrange a
mainline campaign between two other campaigns.

But enforcing "it must be a multiple of 5, even if that means changing other
campaigns" loses the advantage of using multiples. For example, WoF currently
has rank=152, which triggers the warning, which has caused a PR to be opened
that changes WoF, SoF, LoW and SotA - because keeping them in order requires
four campaigns to change.

(cherry picked from commit 42822ac374)
2024-03-06 08:58:08 +01:00
Iris Morelle
f8c4bf2130 gui/outro: New clock-based timing logic for the text fading
This version uses SDL_GetTicks() as a monotonic source to avoid the
previous version's pitfalls, namely the fact that the game's framerate
may not necessarily be a constant, and in particular, the old code
assumed a completely different framerate than what we ended up with
after the texture-based rendering changes in 1.17.x, resulting in an
almost-unnoticeable text fade due to the update() function being
called WAY more often than before.

Note that the reliance on SDL_GetTicks() means the timings break
at some point after 49 days of game runtime, exactly once. This
should result in a visible "jitter" effect if the 32-bits ticks value
wraps around in the middle of a fade sequence, but other than that
it's not that big of a deal to warrant requiring SDL 2.0.18+ for the
64-bit version.

(cherry picked from commit db30ca53ae)
2024-03-05 10:56:50 +01:00
Jonathan-Kelly
625f48518f WoF S11: fix wmllint error by reorganizing side 2
Since wmllint gets confused if a side's contained [ai] block comes after any of its contained [unit] blocks. This refactor should make the side 2 code block more human readable too.
2024-03-05 08:56:05 +01:00
Jonathan-Kelly
dd73e62761 WoF: add wmllint 'skip-side' magic comments 2024-03-05 08:56:05 +01:00
Jonathan-Kelly
775741c0c5 WoF: fix wrongly capitalized variable name 2024-03-05 08:56:05 +01:00
Steve Cotton
d701f626c9 Multiplayer: Add a po hint about "Matchmaking"
(cherry picked from commit 8660561ad9)
2024-03-01 22:38:27 +01:00
Steve Cotton
e5cd0185cc DM S18: Add a po hint about grammatical tense of some text
(cherry picked from commit 7ac222916a)
2024-03-01 22:38:27 +01:00
pentarctagon
60debe854c more copyright updates 2024-02-29 09:48:20 -06:00
Steve Cotton
e7b22f9ced Update German translation
wesnoth-lib and wesnoth-editor from Sobek
2024-02-29 14:50:22 +01:00
Tahsin Jahin Khalid
24ee61b2d3
WML tools GUI app: updated copyright (#8327)
String Change to update to year 2024
2024-02-27 11:37:03 +06:00
Iris Morelle
834c0cc670 HttT S5b: Fix duplicate loyal trait for Delurin
NAMED_LOYAL_UNIT has the loyal trait built in, so this results in an
extra copy of it being granted to the unit.

(cherry picked from commit c64777433a)
2024-02-27 15:01:52 +11:00
Celtic Minstrel
a2c9d2627e [Lua] Fix obviously broken functions in ai_helper.
These functions are not used anywhere, and they have other issues besides the one fixed in this commit – they're implied to return all moves, but they only return one move for each possibly destination hex. However, this will make them at least be minimally usable.
2024-02-26 13:24:38 -05:00
Celtic Minstrel
bb3c95ebbc [Lua] Remove nonexistent parameter 2024-02-26 13:24:38 -05:00
Celtic Minstrel
c2f50062d2 [Lua] Suppress nodiscard warning 2024-02-26 13:24:38 -05:00
Celtic Minstrel
8276fd2e4b [Lua] Fix incorrect function name 2024-02-26 13:24:37 -05:00
Celtic Minstrel
1fd17d94ba [Lua] Fix missing parameter warning when passing empty filter 2024-02-26 13:24:37 -05:00
Celtic Minstrel
1efc2fbe4d [Lua] Avoid reusing no-longer-needed variables for different meanings
This raises Lua warnings about mismatched types
2024-02-26 13:24:36 -05:00
Celtic Minstrel
f19b7829c7 [Lua] Fix call of nonexistent function 2024-02-26 13:24:36 -05:00
Steve Cotton
b9cb577bac HttT S06: Make Elensefar's defenses look damaged by the Orcish siege
Just some debris embellishments to suggest that the towers at the
end of the bridges were hit with siege weapons. The defense stats
are still the same and there's no dialogue change to go with this.
2024-02-26 11:31:38 +01:00
Gunter Labes
9371562454
Add 1.17 port number back
Once the server gets turned off the port number should be moved to the deactivated list instead of removed.
2024-02-25 19:31:25 +01:00
doofus-01
2eeccd98d8
skeletal rider and alternative bear portraits (#8453)
* skeletal rider portrait

* alternative bear portrait
2024-02-25 08:40:47 -08:00
Charles Dang
011fa3aa9d Editor: refined Addon Selection prompt 2024-02-24 20:01:37 -05:00
Charles Dang
b0d1b75a9f MP/Staging: don't hardcode bold formatting in translatable strings 2024-02-24 20:00:06 -05:00
Charles Dang
d3739effcf MP/Create Game: bump game label border size 2024-02-24 19:06:18 -05:00
Charles Dang
08fc993c16 GUI2/Canvas: allow text shape to set outline (resolves #8398) 2024-02-24 18:30:33 -05:00
Nils Kneuper
a64f86962a add "noconvert" flag to Bengali translator name 2024-02-24 16:23:49 +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
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
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
pentarctagon
6a8d4bc1db 1.19.0-dev 2024-02-19 21:12:01 -06:00
pentarctagon
d1b3ede924 1.17.26 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