78692 Commits

Author SHA1 Message Date
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
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
newfrenchy83
92ad8abbf4 revert last modification and use specials_and_abilities in name of global function 2021-03-26 10:39:50 -05:00
newfrenchy83
1bb895c0d5 other simplification for readibility 2021-03-26 10:39:50 -05:00
newfrenchy83
eaa4e92fed replace "_old" by "_without_abilities" 2021-03-26 10:39:50 -05:00
newfrenchy83
abc328e39f Rename functions managing special weapons to improve readability for engine devellopper
When I was looking at the special weapons extension to [abilities] tags, I didn't understand the concept of lists at first, until someone added the .append function to add a list to a list. other, but I kept the names I used for the functions. Now that this work is completed, I would like the function calls to find their original names (get_specials and get_special_bool) among other things to clarify the reading for a developer.
2021-03-26 10:39:50 -05:00
Iris Morelle
847b70ab4c gui2: Refactor widget frame code used for buttons and comboboxes 2021-03-26 04:27:18 -03:00
Iris Morelle
00fbce5872 gui2/game_version: Add logs dir to the Game Version dialog on Windows 2021-03-25 21:21:59 -03:00
Steve Cotton
2e2f551199 git-subtree like tool for exporting campaigns
As with git-subtree, it creates reproducible SHA1 ids for the new branch, the
history of An Orcish Incursion will appear as:

* master branch (pre-removal) 2637115bd92334444f1e03d9387266a92ae478da
* master branch (removal) 3d4a4b06 and 8deac9bb
* 1.14 branch 6b5ccb5fd12e7bb4795b25d1aa10d6f0c88a7490

Wesnoth's po/<textdomain> folder is copied into the subtree as "translations".
If there already was a "translations" in the subtree, it's renamed to
"umc_translations_dir".

The campaign will still need a few fixups for paths in _main.cfg, and
the scenarios' map_data or map_file attributes. The map_file paths
were made more portable in a5a1fec2, but this was after AOI's removal.

Many thanks to Lord Knightmare for porting AOI to 1.15 without this script,
which provided a reference to check the script against. LK's 1.0.0 matches
this script's output from the 1.14 branch, including the fix in b9f93cf that
was applied to 1.14 after the removal in master, and with the rank (but not the
"Rookie") from cc01ccae.
2021-03-25 18:30:18 +01:00
Steve Cotton
0f0343e3b6 UtBS S01: Spawn the mystics on the island, not in the lake
They were both placed on the same hex, which meant the engine moved one of
them a hex north-west, into the water.
2021-03-25 11:22:22 +01:00
mattsc
f1c37f64ac
Merge pull request #5630 from mattsc/remove_fai_uses
Remove Formula AI uses
2021-03-24 08:04:47 -07:00
Pentarctagon
124adb308f
Add and use is_dev_version() to version_info. 2021-03-24 09:32:13 -05:00
Gunter Labes
e4a803360d
Fixup migration to wesnoth.map module 2021-03-24 08:53:12 +01:00
Iris Morelle
fd37a05ffe ui: Claim back unused space from the 800 px minimap theme
This allows the minimap widget to be 2 pixels wider, and frees up 7
pixels of vertical space for the rest of the sidebar
2021-03-24 04:23:25 -03:00
Iris Morelle
5f462c6064 ui: Remove orphaned references to the zoom slider 2021-03-24 04:05:18 -03:00
Iris Morelle
73e5bff25c ui: Remove unused zoom slider portion of the minimap panel
This allows us to claim back 10px for the rest of the sidebar.
2021-03-24 04:05:18 -03:00
Pentarctagon
7050eaf03e
Show deprecation warnings ingame on the dev branch. 2021-03-24 00:12:39 -05:00
Celtic Minstrel
7c95e9d1a4 Lurker FAI: map(x, self) is exactly the same as just self
This caused the crash fixed in the previous commit. Although the crash is fixed, it's still stupid and we shouldn't do it.
2021-03-23 00:34:44 -04:00
Celtic Minstrel
7756242160 WFL: Prevent a crash if an object is destroyed before the formula is finished with it 2021-03-23 00:34:44 -04:00
Celtic Minstrel
c6486bd7cc Fix a misleading (and grammatically poor) log message 2021-03-23 00:34:44 -04:00
Steve Cotton
41fa00de2a Update changelog for EI changes 2021-03-23 01:37:48 +01:00
Steve Cotton
b24c88a7b1 EI S07b: Wake the sea creatures with noise instead of magic
This comes from a discussion about which archaic-sounding pronoun should be
used instead of "you" in "Creatures from the deep, I summon you to destroy this
foe". The conclusion with that was that "thee" or "ye" would sound better, but
"you" is the correct archaic pronoun.

The .ogg file is copied from Northern Rebirth.
2021-03-23 01:37:48 +01:00
Heiko Becker
a737065505 Remove obsolete FindSDL2_ttf cmake module
It's unused since 2dfdc0061d400ffad39f974d7fe9348204af0d08.
2021-03-22 19:13:03 -05:00