Celtic Minstrel
be8783154e
Add event unit tests for dynamic filters and names ( #6785 )
2022-06-21 22:25:01 -04:00
mattsc
fdb931bb16
Remove Lua AI code deprecated at level 3 in 1.15
2022-06-21 19:15:00 -07:00
Elvish_Hunter
f1fb3a73a8
wmlunits: used os.path.join() to build paths instead of string concatenation
2022-06-21 18:29:57 +02:00
Celtic Minstrel
1af084515f
Exclude deprecated things from dir()
2022-06-20 20:54:28 -04:00
Celtic Minstrel
d104a81269
Lua API: Make the WML module dir-friendly
2022-06-20 20:54:28 -04:00
Elvish_Hunter
b1c6029917
wmlunits: used shutil.move() instead of calling mv as a subprocess
...
This also means moving files in a more pythonic way and removing two functions (bash and shell) which aren't used anywhere else.
2022-06-20 23:24:47 +02:00
Wedge009
c3c47f828d
Standardise spacing (again).
...
[ci skip]
2022-06-20 11:58:47 +10:00
doofus-01
3e6e15207c
1.17 fauna work ( #6768 )
...
* add level 2 caribe
* update the fluff for caribes
* make caribes more different-looking
* remove Giant Stoat
* alternative cuttlefish melee attack anim
* sea serpent defend anim
2022-06-19 18:56:24 -07:00
Wedge009
f00ee60cbf
Spelling correction + standardise spacing.
...
[ci skip]
2022-06-20 09:11:59 +10:00
Gunter Labes
ff4a3bb5ff
Remove reduntant check on s2
2022-06-19 21:52:25 +02:00
Celtic Minstrel
2de3246915
Add font scaling back as an advanced preference for now.
...
This gives an opportunity for people to try it out and maybe improve it. It can be removed again before 1.18 if deemed unsuitable at that time.
2022-06-19 14:38:45 -04:00
Pentarctagon
5857964d61
1.17.5+dev.
2022-06-19 09:07:13 -05:00
Pentarctagon
f6cfad7b50
1.17.5.
2022-06-19 09:07:13 -05:00
Pentarctagon
44e38ae552
pot-update and regenerate doc files.
2022-06-19 09:07:12 -05:00
Nils Kneuper
253436b9a8
updated arabic translation credits
2022-06-19 11:31:08 +02:00
Elvish_Hunter
d16557bae1
wmlscope: used an enumerator instead of strings in scan_for_definitions() state checks
2022-06-18 19:06:07 +02:00
Elvish_Hunter
cfbad6b81c
wmlscope: avoid crashing on non-UTF8 files
2022-06-18 19:06:07 +02:00
Celtic Minstrel
473c6e468e
Fix wmlindent quote detection ( #6764 )
...
* wmlindent: Fix parsing quotes in comments
* Remove unnecessary wmlindent ignores
* Run wmlindent
2022-06-18 09:37:55 +02:00
Tommy
cf4c265fc3
Fix wmlindent complaint.
2022-06-17 03:31:10 +12:00
Tommy
8380e018f5
Fix low-res themes during replay.
...
This was mentioned as a comment in #5620 .
2022-06-17 03:02:38 +12:00
Tommy
9615236ae0
Fix low-res editor themes.
...
Fixes #5620 .
2022-06-17 02:04:42 +12:00
Tommy
91fd53ac45
Fix "End Turn" button placement on low-res themes.
...
Fixes #6544 .
I am not sure how this was even remotely working as it was.
2022-06-17 02:04:42 +12:00
Tommy
9e6762690c
SoTA: Fix zombie recruit dialog string concatenation
2022-06-15 18:54:44 +12:00
Tommy
c5eaa69fd8
SoTA: Fix zombie recruit dialog error.
...
There was an error complaining that horizontal_grow and
horizontal_alignment cannot both be set. I removed horizontal_grow
in favour of horizontal_alignment. I do not see any visible difference
in the dialog.
2022-06-15 18:54:44 +12:00
Tommy
ebcae03e48
Add a new image tiling mode: "tile_highres" for high-DPI tiled images.
...
The other options "tile" and "tile_center" work in draw space,
which is consistent with past behaviour, but doesn't look as nice.
2022-06-14 14:48:03 +12:00
Charles Dang
f86c935668
GUI2/Panel: used rect fill color for box display
2022-06-14 14:47:45 +12:00
mattsc
1769b6cf01
Protect Unit MAI: fix typo in MAI removal code
2022-06-11 06:18:51 -07:00
Celtic Minstrel
e2875f34b2
Fix a bunch of luadoc errors
2022-06-11 00:15:18 -04:00
Celtic Minstrel
7f873a0150
Fix a bunch of broken uses of helper.wml_error
...
It's deprecated, but here they were broken because helper wasn't even loaded.
2022-06-10 23:42:18 -04:00
Celtic Minstrel
e635161957
fix wesnoth.type giving an error on tables or userdata without a metatable
2022-06-10 23:31:41 -04:00
Celtic Minstrel
d886ddf61c
Lua: Fix a leaky global function
2022-06-10 23:31:40 -04:00
Tommy
575286cb86
CVideo: remove get_dpi and get_dpi_scale_factor.
...
screen_pitch_microns is deprecated, and has been removed from the
GUI_SCALE_RESOLUTION macro in WML. The macro itself has been left in
place for potential future use.
The screen_pitch_microns variable has been left in place, but is now
a constant and will only ever return the default value equivalent to
96 DPI.
2022-06-11 05:56:06 +12:00
mattsc
fe0b375fca
ExpAI castle switch CA: fix error when stored leader has been killed
...
The castle switch CA stores the leader move because the evaluation is expensive. If the leader was killed in between storing and reevaluation of the CA, this would previously cause an on-screen error message and the CA to be blacklisted for the turn.
This fixes #6440 .
2022-06-09 07:51:33 -07:00
mattsc
84531b834e
Bottleneck Micro AI: fix bug involving units without moves
...
An integral part of this MAI is that it moves weaker units out of the way for stronger ones. Units without moves are taken into account by giving them a very high rating. This was previously only done on what's considered the AI's territory (the AI side of the bottleneck) which works fine most of the time since the AI does not try to move onto enemy territory. However, it breaks down on more open maps, where there are way for units to move around the bottleneck, as AI territory is not always well defined on them. However, there is no need to restrict this to AI territory only.
This fixes #6599 .
2022-06-09 06:29:14 -07:00
Nils Kneuper
cfa4eb5b3d
updated Polish translation
2022-06-06 09:58:50 +02:00
doofus-01
31a42068d8
1.17 small terrain updates ( #6751 )
...
* low-priority cave-path transitions
* SotA - remove old terrain codes with Z and y
* replace gold cobbles (Rrd)
2022-06-05 17:09:35 -07:00
doofus-01
0937ba5ffd
1.17 some horseman line standing animations ( #6747 )
...
* horseman breeze animation
* knight breeze animation
* lancer breeze anim
2022-06-05 15:09:35 -07:00
doofus-01
22396f6142
1.17 loyalist sprite cleanup ( #6746 )
...
* remove semitransparent swooshes
* loyalist sprite cleanup
2022-06-04 14:52:24 -07:00
mattsc
768b930fc4
ai_helper: fix visibility bug in get_attackable_enemies()
...
The passed filter needs to be enclosed in an [and] tag, otherwise the check for visibility might not work correctly, for example if the filter contains a top level [or] tag.
2022-06-04 09:13:53 -07:00
Charles Dang
97c0ea8ce3
Merge pull request #6734 from wesnoth/new_rendering
...
Sync rendering system changes so far
2022-06-01 21:36:00 -04:00
Descacharrado
481378aaf3
Use 'leader' and 'grunt' instead of 'chief' and 'lesser orc'
2022-06-01 10:02:58 +10:00
Descacharrado
0742b902a2
Avoid using 'that' twice
2022-06-01 10:02:58 +10:00
Descacharrado
f468020b11
NR S1 Vary the die dialog depending on race
2022-06-01 10:02:58 +10:00
Tommy
638c02b59e
Rename image_shape.vertical_mirror_ to mirror_.
...
It is in fact (and always was) mirroring horizontally.
2022-05-31 21:17:33 +12:00
Tahsin Jahin Khalid
4dc2c342f6
Terrains: Snowy Drake Village Terrain Type and Transitions
...
Terrain Code: ^Vka
As mentioned, it may need touch ups later on
2022-05-31 12:41:09 +06:00
doofus-01
5e8a467813
1.17 some orc standing animations ( #6722 )
...
* orc grunt north-facing breeze
* orc grunt south-facing breeze
* orc assassin south-facing conditional standing anim
* assassin wounded bob anim
* slayer breeze animation
* slurbow revision and breeze anim
* update orcish warlord sprite
* orc warrior sprite update & standing animations
* orc crossbowman breeze anim
2022-05-30 21:07:30 -07:00
Nils Kneuper
86f5aaefaf
updated French translation credits
2022-05-29 10:16:25 +02:00
Charles Dang
da4a201101
MP/Create Game: don't hardcode random faction mode options
...
This still means we need to make sure the options are in the same order as in the enum,
but that was also the case in the old code.
2022-05-28 17:11:51 -04:00
Tahsin Jahin Khalid
c42271fb2c
Terrains: add Snowy Drake Village
2022-05-29 02:57:15 +06:00
Elvish_Hunter
8b8f99e65a
wmllint: fixed translation marks not being removed from values when checking if a string is empty
2022-05-28 22:03:25 +02:00