82746 Commits

Author SHA1 Message Date
Gunter Labes
3e41aa0dc5
Confine special handling to only the affected platforms 2024-01-03 16:51:40 +01:00
P. J. McDermott
13d5682487 Save horizontal scrolling inversion check in static variable
Avoids two to four function calls on each SDL_MouseWheelEvent.

Also update code comment and changelog entry based on @vgaming's report
of issue #3362 being fixed.

Slightly improves commit ab4001d.  Tested again with SDL 2.0.14 and
2.28.5.
2024-01-01 16:00:54 -06:00
Pentarctagon
d4b1e7e6c4
Add some more abilities' tests (hides, skirmisher, teleport) 2024-01-01 12:34:08 +01:00
newfrenchy83
fb4ac0b5fb
fix leveling for Kaleh and Nym in Utbs (#8152) 2023-12-31 14:11:05 -06:00
Rafael Silva
61b2e8eb4f
make wml_tag::iterator copy assignable (#8174)
This makes iterators based on this class to meet LegacyInputIterator requirements, allowing them to be used with STL algorithms such as MSVC's `std::find_if`.
2023-12-31 12:16:03 -05:00
doofus-01
508c627543
1.18 - Revise new skeleton sprites (#8156)
* replace skeleton rider, bone knight, and death squire sprites

* update squire to use axe

* fix death knight attack icon

* sprite palette cleanup
2023-12-31 08:33:12 -08:00
gfgtdf
bca7a60852
WC: Fix mapgen always spwaning 3 bonus points in first scenario 2023-12-30 21:35:27 +01:00
doofus-01
963029dd7c
1.18 - graphics for elder falcon (#8165)
* portrait for elder falcon

* elder falcon attack anims

* fix a couple typos in Falcon attack anim

* elder falcon defense anims

* update copyrights.csv (twice, as per the new policy)
2023-12-29 05:44:15 -08:00
P. J. McDermott
7453a942d6 Add changelog entry for horizontal scrolling fix (PR #8137) 2023-12-28 11:14:15 -06:00
Steve Cotton
e07acf71dc Check that copyrights.csv is sorted by filename
When the tool finds new or changed files, it puts them at the top of
the output .csv file for easy editing. However, this means that those
lines move when update_copyrights is run again. It also means that any
two PRs touching images are likely to have merge conflicts, as they'll
change line 2 of copyrights.csv.

Make the CI fail unless the file has been sorted again after editing.
2023-12-28 13:01:11 +01:00
Charles Dang
6bb8c56241
IPF: improve memory safety when constructing mod queue (#8164)
Previously, the mod parser returned a raw to-heap pointer. Once added to a mod queue, it would then
be owned by a shared_ptr (overkill). This makes it so the mod executors are managed by unique_ptrs
for their entire lifetime.
2023-12-27 23:41:33 -05:00
Steve Cotton
356e20f359 EI S04b: Add changelog for fixing the turn limit
S04b's "time over" event triggered on turn 22, even after the turn limit gets
extended. fcfc5dedf553e9ab1fa26a010f19b13586296380 is a fix for the issue, but
I merged it without noticing the lack of info in the commit message.

Thanks to user Emperor for the bug report.
2023-12-28 02:52:29 +01:00
Charles Dang
831ee619e5 MP Match History: display an em dash if a data field is empty 2023-12-27 17:49:30 -05:00
Charles Dang
2836afe644 MP Lobby: increased padding in tab bar 2023-12-27 17:22:55 -05:00
Charles Dang
a79f01799b MP Match History: disable enter exiting 2023-12-27 17:22:35 -05:00
Charles Dang
48c44b4d34 Removed last usecase of XBRZ 2023-12-27 16:40:43 -05:00
Dalas121
fcfc5dedf5 Update 04b_Ill_Humors.cfg 2023-12-27 19:59:52 +01:00
Charles Dang
f45df6f2ee MP Match History: refined design 2023-12-27 00:16:56 -05:00
Charles Dang
6305185d95 GUI2/Button: added a download button definition 2023-12-27 00:16:09 -05:00
Charles Dang
fa248764e6 MP Create Game: increased padding in tab bar 2023-12-27 00:15:35 -05:00
doofus-01
46b992ee67 update copyrights.csv 2023-12-26 18:26:27 -08:00
doofus-01
f3cdf243f1 derelict wooden windmill scenery image 2023-12-26 18:26:27 -08:00
doofus-01
687074b395 some update to wooden windmill animations 2023-12-26 18:26:27 -08:00
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 a571bfbd9ffdae8b3e8158a60e8646f5d4162de4.
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