81913 Commits

Author SHA1 Message Date
gfgtdf
300eb198a3 remove unit::swap
This was at some point used to implemented the
assignment operator, but the assignment operator
is now deleted.
2023-05-03 00:16:12 +02:00
Slayer95
2413e2f366
Improvements to wmltools3 (#7561)
* wmltools3: Make the CrossRef class iterable

Removes generator() method.

* wmltools3: Check for warn level on lack of wmlscope: set export

* wmltools3: Support passing a list of file paths to initialize CrossRef

* wmltools3: Track lineno_end for Reference

* wmltools3: Track default values for macro optional parameters

optional_args is no longer a list, but a dict.

* wmltools3: Track macro bodies as Reference.body

* wmltools3: Register quoted macro arguments verbatim

* wmltools3: Improve parse_macroref

- Support parsing nested macro calls.
- Remove excessive need of parens around macro calls/arguments.
- Support escaping quotes.
- Other compliance improvements.
2023-05-01 17:08:30 +02:00
Pentarctagon
1819febe92 Remove this bit. 2023-04-30 20:15:20 -05:00
doofus-01
b4471f3a11
Various terrain graphics fixes (#7576)
* improve elevation filtering for disabling ice terrain, fixes #7301

* Fix some wall/bridge/chasm layering. Mostly fixes #7302
2023-04-30 12:39:02 -07:00
Celtic Minstrel
3c4c1c27f8 Add achievements to the in-game menu 2023-04-29 18:14:19 -04:00
Nils Kneuper
f55fec896c updated Italian translation 2023-04-29 19:26:04 +02:00
Pentarctagon
c44cc2742e Copyright update.. 2023-04-29 10:48:11 -05:00
Nils Kneuper
4ff7c6e120 updated French translation 2023-04-29 16:55:22 +02:00
Nils Kneuper
2d9c6c6efc updated British English translation 2023-04-29 16:54:07 +02:00
Nils Kneuper
5a8ee0e6c2 updated Arabic translation 2023-04-29 16:52:55 +02:00
Celtic Minstrel
05bdac4127 Minor grammar fix to bf591e5
[ci skip]
2023-04-29 08:37:20 -04:00
Pentarctagon
bf591e5391 Add most bits from #7381. 2023-04-29 01:19:06 -05:00
Pentarctagon
56c2b18401 Finally fix this TODO. 2023-04-28 20:59:36 -05:00
Steve Cotton
38014a2a1f Test the correct unit in swarms_effects_not_checkable
The test spawns a new unit, this commit makes it test that new unit instead
of the Elvish Archer with a 5x2 melee attack.
2023-04-26 16:34:29 +02:00
Pentarctagon
5f02451ef8 Achievements - use lua_error instead of returning -2
Fixes #7528
2023-04-25 19:16:02 -05:00
Gunter Labes
735df85a3f
Update options that disable logging to file 2023-04-25 10:33:50 +02:00
Slayer95
de6f37f75f
Add gender-specific names for units with random traits (#7546)
Support (fe)male_name key in unit.

Support FEMALE_NAME in macros for named units with random gender.

Add female variants to generic unit names in DiD, TSG and UtBS.
2023-04-24 23:01:14 +02:00
Pentarctagon
7d6f41068c Fix reloading a previous turn not setting the correct active side.
A result of 2845e86 was that when reloading a previous turn as a side other than side 1, the current side  was not correctly reinitialized. Fixes #7564
2023-04-24 12:04:25 -05:00
Gunter Labes
4d23134c63
Make sure the build is not marked as modified 2023-04-24 18:55:34 +02:00
Gunter Labes
0caad54608
Remove wrong documentation 2023-04-24 16:31:22 +02:00
Sergey Popov
db61119ea1
Made flatpak ci job upload bundle too
Convert git checkout to dir in flatpak manifest since otherwise some git operation fails.
Set branch name to "ci" to avoid clashes with other installs.
2023-04-24 10:32:18 +02:00
doofus-01
e000d1de3f
make engine-bobbing sprites use the correct primary frame (#7562) 2023-04-23 20:53:27 -07:00
Pentarctagon
a45ca3f771 1.17.16+dev 2023-04-22 22:35:35 -05:00
Pentarctagon
9909f5910d 1.17.16 1.17.16 2023-04-22 22:34:20 -05:00
Pentarctagon
9269d4aa20 Add a hack to workaround setting the fontconfig cachedir only for windows.
Fixes #7089
2023-04-22 22:31:56 -05:00
Pentarctagon
0001eee8d1 pot-update and regenerate doc files 2023-04-22 22:30:38 -05:00
Gunter Labes
a9061dc212
Return early if there are no sides (#7555) 2023-04-22 22:08:53 -05:00
Nils Kneuper
39c4d26cec updated Italian translation 2023-04-22 00:36:13 +02:00
Nils Kneuper
1bc0d3cd2f updated British English translation 2023-04-22 00:34:33 +02:00
Nils Kneuper
c39203f327 updated French translation 2023-04-22 00:33:32 +02:00
Pentarctagon
c1a18e489b Fix comments. 2023-04-21 12:59:53 -05:00
Pentarctagon
a22da2291b
Store side leader information in the database
Fixes #7267
Add new query for getting leader data.
2023-04-21 13:58:17 +02:00
Miguel Magno
5e1d9ba600
Fix modify_unit recall_cost indexing issue
Fix issue #7159 apply_to recall_cost to use 0 based side index instead of 1 based side

Add test for issue #7159 modify_unit recall_cost
2023-04-21 13:32:02 +02:00
Gunter Labes
031b4a70e4
Avoid descending into modules dir 2023-04-21 00:15:11 +02:00
Gunter Labes
06045142c2
Simplify workflow 2023-04-20 23:26:09 +02:00
Gunter Labes
2a0638120f
Run flatpak job directly on container 2023-04-20 22:38:53 +02:00
Gunter Labes
b5c850fe8f
Run translations job directly on container 2023-04-20 21:05:06 +02:00
nemaara
052665ebe0 Liberty S7: change a line 2023-04-20 09:57:06 -07:00
Steve Cotton
e5b4f5f8a3 More unit tests for attack_filter
Add `first_time_only=no` to some existing tests, and verify that events that
should only trigger once do trigger exactly once.

A new test of `[filter_attack]` when an event lacks attack data. In testing,
I found that it used to trigger a warning that I thought was useless code, and
had removed during 88439d6427a81a6b131acd8b0f7bf04b2d981d71's review. I think
removing it is still good, at the time that the filter was checked it would have
warned "attempt to filter attack for an event with no attack data."
2023-04-19 01:17:06 +02:00
Slayer95
6aa76de832 HttT: Restore context information for Haralandum's name (Ancient Wose)
4eb7fccaa0 made this comment a ``po-override`` without given justification.
2023-04-18 20:42:28 +02:00
Steve Cotton
eb12a752f4 Add a test for attack_filter with melee-only vs ranged-only units
A new test of what happens when a unit with only a ranged weapon fights a
unit with only a melee weapon. This commit is just the test, it depends on
the engine fix in a previous commit.

This only tests the filtering so far. There should probably be another
additional test to check what the combat results are, however that would need
an ability such as the Deep Elves' Stardust that passively affects the amount
of damage taken. It can't be tested with Slows, as that needs the defender to
hit with a weapon first.
2023-04-18 17:29:49 +02:00
newfrenchy83
97e6dc2865
fix ability used like weapon affect placeholder weapon used in defense when not attack of same range what attacker (#7539) 2023-04-18 15:19:36 +02:00
Pentarctagon
58fb4f1e87 Adjust how no game history results are handled 2023-04-17 09:21:39 -05:00
Pentarctagon
1b90c770e6 whitespace 2023-04-16 19:49:49 -05:00
nemaara
59cb5939c5
Merge pull request #7518 from nemaara/liberty-achievements
Add achievements to Liberty
2023-04-16 19:38:58 -04:00
nemaara
5852821230
Merge pull request #7515 from nemaara/did-achievements
Add achievements to DiD
2023-04-16 19:38:05 -04:00
Steve Cotton
bb28f54e52 Stop removing manually-added labels on Github PRs
Setting sync-labels to "true" means that it removes labels which people
have added, but which aren't implied by the filelist.
2023-04-16 07:08:30 +02:00
Pentarctagon
d67ab41a39 1.17.15+dev 2023-04-15 20:04:03 -05:00
Pentarctagon
f27b4f1bfc 1.17.15 1.17.15 2023-04-15 20:03:24 -05:00
Pentarctagon
fc7ec5bec5 pot-update and regenerate doc files 2023-04-15 20:01:53 -05:00