78713 Commits

Author SHA1 Message Date
Celtic Minstrel
a755788392 run_wml_tests: Skip tests that expect strict validation failure if log-strict is disabled 2021-04-04 00:58:48 -04:00
Celtic Minstrel
099414ed1e run_wml_tests: Don't append to the provided path if it's not a directory
This allows passing an explicit path on Mac (instead of using the automatic -p xcode option), since the binary is not named "wesnoth" on that platform.
2021-04-04 00:58:42 -04:00
doofus-01
77f8112032
Update changelog.md 2021-04-03 21:18:31 -07:00
doofus-01
e7b5996e98
remove reference to tusker, replace with boar or piglet (#5662)
* remove reference to tusker, replace with boar or piglet
2021-04-03 21:15:24 -07:00
doofus-01
31bc471d39
Update changelog.md 2021-04-03 16:39:55 -07:00
doofus-01
bdfb550e9a
scorpion variations (#5589)
* portrait variation for sand-scuttler scorpion variation

* units - scorpion zombie/soulless variation

* addition of new unit called rock scorpion
2021-04-03 16:35:26 -07:00
doofus-01
22a9d21dee
various small fixes (#5613)
* units - fix incorrect file type (png -> ogg) in animation

* units - touch-up WC beast_rider portrait
2021-04-03 14:49:28 -07:00
Pentarctagon
e668c477c5
Delete SUPPORT.md and move CONTRIBUTING.md.
SUPPORT.md was a small subset of CONTRIBUTING.md, and CONTRIBUTING.md no longer has a TOOD section and so should be moved to where more people will see it.
2021-04-02 19:05:10 -05:00
Tahsin Jahin Khalid
18b42b0439
Fix for weather change cheat in dark forecast (#5656)
Adjusted the weather change effect from side 3 turns to side 1 turns. Side 1 is never empty so it would bypass the side 3 as empty cheat which impeded weather changed.
2021-04-02 18:19:03 -05:00
Pentarctagon
6fcd4ede8d
Fill out PR section. 2021-04-02 17:29:46 -05:00
Tahsin Jahin Khalid
7f9b399235
Dark Forecast Lua file comment Typo fix (#5658)
Fixed a typo in the comments and in a function name.
2021-04-02 14:51:46 -05:00
Celtic Minstrel
89778ca26f WC: Change the invest dialog title to be more descriptive
I doubt anyone who hasn't played before will guess what "Invest" means.
2021-04-02 11:38:39 -04:00
Andrey Bienkowski
1760e6f5ff Fix a typo 2021-04-02 10:20:09 -05:00
Andrey Bienkowski
003419bba9 Fix typo
singular: brother; plural: brethren; plural possessive: brethren’s
granted: it is possible that this word is an exception. I'm not an expert
2021-04-02 10:19:51 -05:00
Nils Kneuper
b73d66eff1 updated British English translation 2021-04-02 09:52:19 +02:00
Charles Dang
289ac354a0
Merge pull request #5646 from stevecotton/wfl_error_thread_master
[1.15] Make WFL's error-reporting machinery thread_local
2021-04-01 10:19:49 -04:00
Pentarctagon
ea46abf5b0
Run wmlindent. 2021-03-31 13:46:12 -05:00
Celtic Minstrel
726b5458f9 SotA: Convert zombie recruit dialog to WML 2021-03-31 14:02:29 -04:00
Pentarctagon
690e8f0193
Prevent deprecation message details from being on a separate line.
The log handler does some kind of per-line sorting of these, so a single deprecation warning ends up with the detail line first and the message line second (line order reversed). When there are multiple deprecation messages, their detail lines and message lines get jumbled together.  This seems to be tied together with how it detects repeated instances of the exact same error/warning, so putting both the message and the detail on the same line is much simpler than tinkering with that.
2021-03-31 11:57:46 -05:00
Pentarctagon
852938519a
Run wmlindent. 2021-03-31 10:29:10 -05:00
Celtic Minstrel
cc12e342a0 tutorial: Convert character dialog to WML 2021-03-31 09:43:48 -04:00
Celtic Minstrel
7defa434e8 WC: Convert the remaining dialogs to WML
- Pickup confirmation
- Got unit from invest
- Settings for map editor
2021-03-31 09:29:20 -04:00
Celtic Minstrel
1af920669c WC: Make that macro uppercase as per style guidelines 2021-03-31 02:17:23 -04:00
Celtic Minstrel
63aad7453c WC: Convert the help dialog to WML 2021-03-31 02:05:55 -04:00
Celtic Minstrel
a51271670c WC: Convert invest dialog to WML 2021-03-31 01:27:06 -04:00
Celtic Minstrel
ea2d74580f WC: Fix invest dialog 2021-03-31 00:45:14 -04:00
Celtic Minstrel
7fa0e1aa16 WC: Fix typo 2021-03-31 00:40:47 -04:00
Celtic Minstrel
6b31335fa9 WC: Fix error in destruction mechanic 2021-03-31 00:39:49 -04:00
Iris Morelle
4889769fec bi: Add Lua library version
It *is* a built-in library, but it changes over time. It may prove
useful in future times to be able to readily tell what Lua version is
attached to a particular Wesnoth dev version since it's harder to keep
track of singular releases (e.g. I don't remember which dev release
upgraded us to Lua 5.4 right now).
2021-03-30 20:06:44 -03:00
Iris Morelle
0438df91d2 bi: Don't localize the features table for stderr/clipboard
It's meant for devs anyhow. This also means we need to strip the caret
annotations ourselves but that's actually a trivial operation.
2021-03-30 19:56:47 -03:00
Steve Cotton
b8b06d0862 Make WFL's error-reporting machinery thread_local
To report the WFL call stack in the event of errors, a static stack is used to
record that call-stack. This wasn't thread-safe, and it intermittently crashed
when the game config was movetype patching (the other WFL thread involved is
the GUI2 layout code).

Also a Rule of Three fix for the call_stack_manager class. While this wasn't
the cause of the crash, it could also have lead to a call_stack.pop_back() on
an empty stack.
2021-03-29 14:33:21 +02:00
Steve Cotton
884fa9ca6f Fix units that should have zero max mp being given one mp
Corrects a cut & paste typo in 66a282a96be288a284d12a71625868cee5b2dc6b.
2021-03-28 17:40:07 +02:00
Steve Cotton
20eb001be3 Unit tests for [effect]apply_to=movement and [effect]apply_to=vision
These would also pass on 1.14, checking that movement does affect vision if and
only if vision hasn't been modified separately. The comments talk about an
[effect]also_apply_to_vision= attribute which hasn't been added yet, the aim of these
tests is to regression test that attribute when it is added.
2021-03-28 17:40:07 +02:00
Celtic Minstrel
6e7f4abaec WC: Make sure we don't try to map_split nil either 2021-03-28 11:05:22 -04:00
Celtic Minstrel
7b4b9d8969 WC: Make sure we don't try to split nil 2021-03-28 10:55:13 -04:00
Celtic Minstrel
f737013203 Fix some issues with wesnoth.map.read_location and wesnoth.map.get 2021-03-28 10:55:03 -04:00
Celtic Minstrel
1141e97620 Separate duration from fadeout in the floating label system 2021-03-28 10:54:57 -04:00
Iris Morelle
c81c77aecc Update changelog
[ci skip]
2021-03-28 04:29:18 -03:00
Iris Morelle
0314716aa3 hotkey: Replace previous announcements when toggling Accelerated Speed
Fixes that weird annoying thing where pressing ctrl+a twice results in
two overlapping text messages about the exact same thing.
2021-03-28 04:22:59 -03:00
Iris Morelle
d65b9d0195 gui1: Bring checkbox text size down to match GUI2 2021-03-27 18:34:09 -03:00
Gunter Labes
950020f4c7
Remove redundant code 2021-03-27 20:53:16 +01:00
nemaara
5ae59a82be
Merge pull request #5637 from stevecotton/utbs_lake_mystic
UtBS S01: Spawn the mystics on the island, not in the lake
2021-03-27 11:19:38 -04:00
Nils Kneuper
e366879eeb updated British English translation 2021-03-27 12:21:56 +01:00
Iris Morelle
21275921f4 desktop/version: Correct comment 2021-03-27 02:47:41 -03:00
Iris Morelle
8fb2da8fd0
desktop/version: Use systemd's os-release file if available (#5642)
desktop/version: Use systemd's os-release file if available

This allows us to obtain the OS version without blocking for a
long amount of time waiting for lsb_release (which is deprecated
anyway).

The parsing is intentionally basic.
2021-03-27 02:46:38 -03:00
Steve Cotton
e0103f2107 TSG S05: Fix Urza's upkeep when taking the bandit branch
The trait should not be inside a [modifications] block.

The store/unstore that happens later probably rebuilt the unit, thus applying
the TRAIT_LOYAL; that's unnecessary when the [modifications] tag is removed.
2021-03-26 19:46:06 +01:00
newfrenchy83
31b053f1f0 change has_special_and_abilities to has_special_and_ability 2021-03-26 10:39:50 -05:00
newfrenchy83
da83861b79 rename has_special_and_abilities to has_special_or_abilities 2021-03-26 10:39:50 -05:00
newfrenchy83
6b40f8a537 rename get_..._bool method to has_.. method 2021-03-26 10:39:50 -05:00
newfrenchy83
56cfa32a43 fix a forget in attack.cpp 2021-03-26 10:39:50 -05:00