81801 Commits

Author SHA1 Message Date
Pentarctagon
50afb6ead9 column typo. 2023-02-21 13:51:57 -06:00
Severin Glöckner
d9aa849081 WC2: remove outdated comment
closes #6216
2023-02-21 16:53:12 +01:00
Jason Stephenson
373f8a4245 Resolve Issue 7398: Crash on Attack with Planning Mode
The game crashes when the player clicks the Attack button with
planning mode with a console error about a failed assert on line 164
of src/whiteboard/attack.cpp.  The assert uses > but it looks like it
should be >=.

This commit switches from > to >= and appears to resolve the issue.
2023-02-21 09:02:45 +01:00
Toranks
8bb7dace3f Typo ““ > “ 2023-02-20 20:46:42 -06:00
Pentarctagon
c9eae7c35b 1.17.13+dev 2023-02-19 22:08:57 -06:00
Pentarctagon
113056c9e1 1.17.13 1.17.13 2023-02-19 22:08:56 -06:00
Pentarctagon
42c4d22065 pot-update and regenerate doc files 2023-02-19 22:08:56 -06:00
Steve Cotton
cf4bcd1c4e Big changelog update
Most of this came from checking the commit log, changelog_entries hasn't
become part of the usual workflow yet.
2023-02-19 14:50:33 +01:00
Tahsin Jahin Khalid
41750e6380 achievements: add frames for use
use for UMC, MP content, mainline later on
2023-02-19 20:26:54 +08:00
Nils Kneuper
283051b52f updated Dutch translation 2023-02-18 11:34:06 +01:00
Hejnewar
6632116caa
Quenoth Rework (#7349)
Hopefully making the whole faction more interesting and enjoyable to play. 

Co-authored-by: Steve Cotton <steve@octalot.co.uk>
Co-authored-by: nemaara <nemaara@users.noreply.github.com>
2023-02-18 00:33:48 +01:00
Pentarctagon
3f63908296 Further consolidate logging functionality between Windows and non-Windows platforms.
For non-Windows platforms this adds:
* a new check for whether the logs directory exists and is writable by attempting to write a single whitespace to a dummy.log file.
* a popup shown immediately after the GUI system is initialized letting the player know if there was an issue creating the log file.

For Windows, this changes:
* instead of writing to the OS temp directory and then attempting to move that file to the logs directory, this uses the same check that was described above for non-Windows platforms.
* the alert shown when writing the dummy log file fails is now a Wesnoth alert message rather than the Windows-specific MessageBox.
* a failure to create a log file does not immediately exit wesnoth anymore.

Additionally, this makes it so that for the default state (logging to file), all platforms follow the same code path by calling `lg::set_log_to_file()`. `log_windows` now contains only the Windows-specific logic needed for handling the creation/redirection of output to a console.
2023-02-17 10:03:05 -06:00
Nils Kneuper
26400f9398 updated French translation 2023-02-17 11:01:10 +01:00
Celtic Minstrel
05d35442b6 Fix [harm_unit]alignment not accepting variables 2023-02-16 21:48:26 -05:00
Elvish_Hunter
59b6049f9f wmlxgettext: always use Unix file paths in .pot files
Fixes #7380.
2023-02-16 23:28:05 +01:00
Steve Cotton
3d13628bb8 Editor: let the help text switch between the top and bottom of the screen
If the northmost hexes of the map are visible, put the text on the bottom; if
the southmost are visible, put it on the top. Also, make the text smaller if
it's very wide.

It used to be fixed to the bottom of the screen, but this meant that it always
obscured the southmost hexes of the map, and the only way to avoid that is to
scroll east/west, or to add an extra row on the south. Similarly, having it at
the very top obscures the northmost hexes.

Moving it to any fixed location that isn't the edge of the screen makes it
possible to edit all the hexes, but also makes it more annoying when working
elsewhere on the map; that trade-off was rejected in review.

For very small maps, it will be at the bottom of the screen in the border
outside the map area. For any screen resolution there will be a specific
map-height that still has the old issue, but that's an improvement on it
happening for every map size.

Cherry-pick of 29d86d2c369483c45aa599076eb076c5792b7ef3.
2023-02-15 15:03:36 +01:00
Steve Cotton
abfb33ebf6 Move set_help_string to editor-only code
No behavior changes, this is just separating it into the editor directory.

This corresponds to 1.16's 76306d3fb61da9a046087fc862d960a6ac5d4cad, but has
additional cleanup outside the editor directory, including removing the unused
code from floating_label.cpp. Even within the editor, there are differences
because of the graphics refactor.
2023-02-15 15:03:36 +01:00
Toranks
5a3a1b69ba
UTBS: Hide Minion and Spire XP bars (#7339)
A unit with no advancements has the XP bars hidden.

Other behavior of a unit with no advancements is unit-tested in
ec8ad5f26f06dc3219ccc5c44eb24edde0386dc6's "unit_no_advancements".
2023-02-15 09:09:46 +01:00
Celtic Minstrel
3bc6a293f7
Fix the missing logs issue (closes #7310) (#7343) 2023-02-14 23:10:38 -05:00
Tahsin Jahin Khalid
354afc3758
[Units] Move the Dwarvish Miner to core
Move the Dwarvish Miner unit to core from SoF
2023-02-14 21:02:36 +08:00
Elvish_Hunter
fb32a9d68c Changelog entry for PR #7363 2023-02-13 10:03:53 +01:00
Elvish_Hunter
7cfd699e9d
Add icons for invulnerable and unhealable states (#7363) 2023-02-13 10:01:35 +01:00
inferno8
e522cf426c use progressive notation for the waterfall animation code 2023-02-12 22:22:36 -06:00
inferno8
fe4234aa8c add waterfall animations to Isar's Cross (closes #7348) 2023-02-12 22:22:36 -06:00
inferno8
ad300586ef add Art Placeholder terrain 2023-02-12 22:22:36 -06:00
Tommy
06686e22e4 UtBS: Updated many things to use FLASH macros and screen_fade
Most of these should be fine, but some need verification for
correctness using the new effect. Some of the color_adjust values
were very specific and i am not sure they give the same result now.

Several effects could probably also be significantly improved using
the new screen_fade system, with a little work.
2023-02-12 10:29:35 -06:00
Tommy
e47aa3532b SotA:17: Use screen_fade for sacrifice fade-out
There is a problem that the skeleton reverts to the base frame
during the fade. Previously the skeleton was deleted so this was
not evident.
2023-02-12 10:29:35 -06:00
Tommy
dcf65fd7b9 Liberty:04: Use FLASH for surprise events
This needs checking for timing
2023-02-12 10:29:35 -06:00
Tommy
fb3c2ee61b LoW:16: Use FLASH_WHITE for potion drinking effect 2023-02-12 10:29:35 -06:00
Tahsin Jahin Khalid
b8b402722f Units: Giant Ant advances to Soldier Ant 2023-02-12 10:21:46 -06:00
Tahsin Jahin Khalid
547aab3896
WC: fix abnormal commander mechanic (#7284)
Co-authored-by: Gunter Labes <soliton@wesnoth.org>
2023-02-12 10:21:27 -06:00
Tahsin Jahin Khalid
4d092347db unit_tree: comment out [advancefrom] 2023-02-12 10:11:45 -06:00
Tahsin Jahin Khalid
2cd0e5db03 unit_tree: add missing defines 2023-02-12 10:11:45 -06:00
Toom
02cb4a9e81 Remove hp_bar_scaling and xp_bar_scaling from [unit] schema
#2913
2023-02-12 10:11:05 -06:00
Pentarctagon
f68d8cf980 Add achievements button to titlescreen. 2023-02-12 10:10:15 -06:00
spixi
9f5d58763e Add Scamperer portrait and align Giant Scorpion's 2023-02-12 10:09:49 -06:00
Nils Kneuper
19d60e0a64 updated Polish translation 2023-02-11 11:15:05 +01:00
Nils Kneuper
ff2c7eb187 updated French translation 2023-02-11 11:14:25 +01:00
Nils Kneuper
1bbd9a6b75 updated Dutch translation 2023-02-11 11:13:14 +01:00
Nils Kneuper
6f5e71d30e updated Czech translation 2023-02-11 11:12:04 +01:00
Pentarctagon
e61fca0bf4
Small achievements cleanup (#7368)
* Move logic into lua engine code.
* Don't let use of limit decrease an achievement's progress.
2023-02-09 18:36:45 -06:00
Tahsin Jahin Khalid
f238a9e026 MP: typo fix in achievement 2023-02-10 02:51:31 +08:00
Pentarctagon
68fb0d5332 Make completed achievement name khaki colored part 2. 2023-02-09 12:42:58 -06:00
Tahsin Jahin Khalid
89361ba152
[MP] Add Survival Scenario Achievements (#7347)
1. Dark Forecast
2. Isle of Mists
3. Team Survival
4. ANL
5. ANL Mines
6. ANL Rescue
2023-02-10 02:31:33 +08:00
Tahsin Jahin Khalid
4f232c7265
Engine: make achievement title less bright gold (#7370) 2023-02-09 09:01:10 -06:00
Pentarctagon
1bbe240f82 Revert "Don't interpret markup for achievement name."
This reverts commit 971656fca0717191224c6bfaacfc5cb30ee877a3.

No idea why I thought this made sense.
2023-02-09 00:00:03 -06:00
Pentarctagon
4420ee3aae Make completed achievement name gold colored. 2023-02-08 23:41:41 -06:00
Pentarctagon
971656fca0 Don't interpret markup for achievement name. 2023-02-08 23:34:16 -06:00
Steve Cotton
80ce5e2a23 Delete an out-of-date comment in data/themes/default.cfg
The level isn't to the right of the alignment any more, the
workaround that the comment refers was removed in ca2eec45b9.
2023-02-08 09:01:52 +01:00
Steve Cotton
30525a0a2a Remove unused deprecation functions from wml_exception.cpp/hpp
Remove some unnecessary includes of wml_exception.hpp.

The last callers of these functions were removed in f545fbcbe8 and 4437691bdd,
and any potential future callers can use config::get_old_attribute instead.

Removes some translatable strings.
2023-02-07 14:18:12 +01:00