Commit graph

83373 commits

Author SHA1 Message Date
doofus-01
b1d042bb87 wooden-frame, non-village windmill 2023-12-26 18:26:27 -08:00
Charles Dang
d4b7064904 No more xbrz in help pages 2023-12-26 21:19:13 -05:00
P. J. McDermott
ab4001d5b9
Fix horizontal scrolling regression (fixes #7404) (#8137)
* Fix horizontal scrolling regression (fixes #7404)

The old issue #2218 was actually a bug in SDL, fixed on X11 in version
2.0.18 and on Wayland in version 2.0.20.  The hardcoded workaround in
pull #2481 (commit 4bc4373) caused a regression in fixed SDL versions.

This fix is similar to the workaround in widelands/widelands#5394
committed as widelands/widelands@67db32a.

Tested with SDL 2.0.14 and 2.28.5.

* Make mouse handler use same coordinate signs as map

Also fix mouse_wheel_*() virtual method calls, which have been wrong in
the X axis since commit dfe2f33 (and unused since commit c912f7e).
2023-12-25 22:52:52 -06:00
Elvish_Hunter
28cea58aff wmllint: warn about [filter] in [kill] tags 2023-12-25 21:15:45 +01:00
gfgtdf
5cb77700ea
Fix outdated comment 2023-12-25 00:57:34 +01:00
Tahsin Jahin Khalid
5be939a304
units: skeleton rider tree deep water patch (#8142)
these two units can now move in deep water and use submerge
2023-12-24 18:47:11 +06:00
gfgtdf
e08676d6a8 Fix Lua errors when checking abilities #7890
Nowdays ability.value and similar attributes can also contain formulas
(That for example make a heal amount dependent on the remaining hitpointsthe unit has
)
With this the lua ai code should no longer crash in these cases.
2023-12-24 00:51:57 +01:00
Charles Dang
4ab4b96686 Removed unused variable 2023-12-23 18:40:45 -05:00
Pentarctagon
f992190267
add a bunch of illuminates tests. (#8139) 2023-12-23 12:07:45 -06:00
newfrenchy83
99af904b29 Modify shema validation for more consistency
In the validation schema abilities-value in abilities.cfg contains not only the numerical attributes but also active_on and apply_to, while these two deniers are only used by [resistance], and the abilities used as weapons are validated by the schema validation of special weapons, and the abilities [leadership], [heals], [regenerate] and [illuminates] also use all numerical attributes.
2023-12-23 12:06:57 -06:00
Nils Kneuper
5569109870 updated French translation 2023-12-23 13:20:23 +01:00
doofus-01
9cf76e4d72 update copyrights.csv 2023-12-23 04:08:55 -08:00
doofus-01
b4d8318472 make wyrmlets more snake than dragon, clean up palettes 2023-12-23 04:08:55 -08:00
doofus-01
2e60d93f49 improve portraits for wyrm variations 2023-12-23 04:08:55 -08:00
Nils Kneuper
547747aedb updated British English translation 2023-12-23 10:30:47 +01:00
pentarctagon
03994c593a Revert "revert of 8714f8e"
This reverts commit a571bfbd9f.
2023-12-21 10:03:27 -06:00
pentarctagon
a571bfbd9f revert of 8714f8e
this causes the notification to not trigger at all
2023-12-21 09:51:17 -06:00
Nils Kneuper
351f4f7697 updated Slovak translation 2023-12-20 10:25:02 +01:00
doofus-01
359edef0ba make objectives more clear 2023-12-19 18:47:49 +01:00
doofus-01
9b6ade6507 make victory moveto area larger 2023-12-19 18:47:49 +01:00
Martin Hrubý (hrubymar10)
9125f7dab0
Fix Xcode builds 2023-12-19 17:04:46 +01:00
Nils Kneuper
ec46da60b4 updated Polish credits entries 2023-12-19 15:46:53 +01:00
loonycyborg
e62bd49d3d
mingw docker build: Copy arch's libssp-0.dll
because msys2 doesn't provide one anymore yet it's needed by arch's
cross toolchain
2023-12-18 22:31:09 +03:00
pentarctagon
23d7e3e7af add a comment. 2023-12-18 10:55:32 -06:00
pentarctagon
74e6f56d06 schema fixup. 2023-12-18 09:36:03 -06:00
pentarctagon
4080a6ebd0 max_value negative tests. 2023-12-17 23:42:35 -06:00
doofus-01
a96ba2e5de adjust layering bridges vs castles to put castle walls above 2023-12-17 19:15:49 -08:00
doofus-01
9f55aa33b9 update copyrights.csv (and correct soldier ant portrait info) 2023-12-17 19:10:52 -08:00
doofus-01
a9bb8588f8 touchups to some ant images 2023-12-17 19:10:52 -08:00
Pentarctagon
e94d4f0b7e
add a bunch of leadership ability tests (#8125) 2023-12-17 18:29:27 -06:00
Martin Hrubý (hrubymar10)
be04167fff
Fix Xcode build on newest macOS versions 2023-12-17 19:24:58 +01:00
Martin Hrubý (hrubymar10)
23f3a7fe9c
Switch Xcode builds to the new MCS 2023-12-17 19:24:58 +01:00
pentarctagon
b5436a0576 1.17.24+dev 2023-12-16 21:11:49 -06:00
pentarctagon
ce9874868d 1.17.24 2023-12-16 21:10:37 -06:00
pentarctagon
3c2c17f11c changelog_entries 2023-12-16 21:04:56 -06:00
pentarctagon
575c255e3c pot-update and regenerate doc files 2023-12-16 21:03:14 -06:00
doofus-01
ddb4d727c2 adjust layering to keep units from sinking into N/S bridge image 2023-12-16 16:23:02 -08:00
gfgtdf
248290e9e8 remove an #include 2023-12-16 22:48:24 +01:00
gfgtdf
b5e646db25 Fix out of sync errors with pick advance mod
local lua variables  are not persitent over reloading.
moveto events that change the gamestate cannot be undoable unless on_undo code is provided.
2023-12-16 17:00:17 +01:00
Steve Cotton
f0b8072f78 updated German translation
Complete WoF translation by qubodup. I've left a couple of strings out, these
are waiting for the next pot-update.

New DiD strings translated by aurelix.
2023-12-16 16:02:48 +01:00
Steve Cotton
c631345314 Update the copyright info for the Finnish help images
Move the previous addition of the UtBS blowgun into sort-by-filename order.

Correct copyright of orb-two-color.png, as it was based on orb.png.
2023-12-16 15:51:43 +01:00
Nils Kneuper
0157c245ea updated French translation 2023-12-16 13:24:21 +01:00
Nils Kneuper
444a3ea007 updated Finnish translation 2023-12-16 11:13:16 +01:00
Nils Kneuper
90ba0efaa9 updated Polish translation (incl. credits) 2023-12-16 11:09:33 +01:00
Nils Kneuper
541c746925 updated Slovak translation 2023-12-16 10:58:42 +01:00
Nils Kneuper
191d54d7fe updated Bulgarian translation 2023-12-16 10:56:26 +01:00
gfgtdf
955a8bc445
use game_events.add in on_event.lua (#8082)
use game_events.add in on_event.lua

previously on_event.lua and game_events.add had separate priority lists, so that independent of the priority parameter (which both game_events.add and on_event.lua now support) on_event.lua events were always executed first. 

The set_undoable(true) call is there to match the previous behavior of on_event.lua where events implemented via on_event were undoable by default.
The higher default priority of 0.5 is there to match the previous behavior of on_event.lua where events implemented via on_event.lua were always run before wml events.
2023-12-15 21:28:45 +01:00
gfgtdf
0abed71f75
fix #8115 segmentation fault on attack event (berserker) (#8116) 2023-12-15 21:08:16 +01:00
Pentarctagon
6322ca8bc8
add a bunch of resistance ability tests (#8105) 2023-12-15 09:59:01 -06:00
newfrenchy83
f5c6402ed1 Fix [resistance] without max_value bug
Fix https://github.com/wesnoth/wesnoth/issues/8092 issue.

If none [resistance] ability of the list contain max_value, then [resistance] must work without max_value defined by default.
2023-12-14 17:12:44 -06:00