78349 Commits

Author SHA1 Message Date
Andrey Bienkowski
5cb1790669 Cleanup wmllint: display on/off
https://github.com/wesnoth/wesnoth/pull/5481 removed the check that made
wmllint: display on and wmllint: display off necessary.
This PR removes now redundant wmllint comments.

find ./data/ -name '*.cfg' -exec sed -ri '/^ *# *wmllint *:? *display *(on|off) *$/d; s/ *# *wmllint *:? *display *(on|off) *$//' '{}' ';'
2021-02-02 18:36:28 +03:00
Andrey Bienkowski
5826262023 wmllint: Only parse terrain strings if maptype==map 2021-02-02 15:41:34 +01:00
Andrey Bienkowski
5735a16abf wmllint: Ignore notes when checking for shroud and fog
The following line was causing a wmllint error because it contains _s:

Irs, book_start Icr^Ii, Irs

"../../data/campaigns/Descent_Into_Darkness/maps/07c_A_Small_Favor3.map", line 10: warning, fog or shroud in map file
2021-02-02 15:41:34 +01:00
Andrey Bienkowski
bbf3840f82 wmllint: cleanup two useless lines
As far as I can tell this lines do nothing.
1. `file_handle = None` is NOT how to close a file in python
2. The file handle is already closed due to `with open() as file_handle:`
2021-02-02 15:18:06 +01:00
Andrey Bienkowski
2296a17e5d wmllint: remove check for nonstandard word-wrap style
> I'm not convinced this test is doing anything useful. I really doubt this ever caught an error. I'd rather remove it.

@soliton- in https://github.com/wesnoth/wesnoth/pull/5479#issuecomment-763696081
2021-02-02 15:15:56 +01:00
Andrey Bienkowski
7a25c7f7d6 wmllint: remove outdated comment
This poor orphaned comment was left behind by 659f5d1894e400f60a1471816529512a5b23a2f4
2021-02-02 15:15:56 +01:00
nemaara
2540991364
HttT S14: fix no gryphon rider recruit bug 2021-01-31 20:53:42 -05:00
Andrey Bienkowski
63c71a010a
Move [color_range] id=darkblue to core (#5504)
Move [color_range] id=darkblue to core
2021-01-31 15:13:16 -06:00
Andrey Bienkowski
5032bed2b2 wmllint: remove commented out code 2021-01-31 15:09:11 -06:00
doofus-01
842725bcc1
orcish grunt sprite animations (#5506)
* units - orc grunt die anims (north and south)

* units - face-graft for orcish grunt defend frames
2021-01-31 11:28:28 -08:00
Nils Kneuper
a9247060ab updated French translation 2021-01-30 12:01:10 +01:00
Nils Kneuper
0bdbce7442 updated British English translation 2021-01-30 12:00:21 +01:00
Nils Kneuper
737e155ca5 updated Catalan translation 2021-01-30 11:58:34 +01:00
Charles Dang
c97d2cb6fb Several misc cleanups 2021-01-29 14:03:15 +11:00
Iris Morelle
6260a48e40 bi: Use Boost.Predef to detect and expose the build arch
This commit also adds this information to the startup banner on stderr,
the output of --report, and the Game Version dialog's main UI and
clipboard report.
2021-01-28 15:55:27 -03:00
Charles Dang
ac85468032 Fixed duplicate const 2021-01-28 12:59:01 +11:00
Charles Dang
e334e5f43d Fixed build 2021-01-28 12:29:43 +11:00
Charles Dang
78373d7c59 Cleanup and fixup 2021-01-28 04:41:25 +11:00
Charles Dang
df09fd8bf6 I forgot to *name my variables* :| 2021-01-28 03:56:14 +11:00
Charles Dang
5de1f8d5cc Campaignd: deployed an example use of config::optional_child 2021-01-28 02:50:48 +11:00
Charles Dang
67024f29a1 Added a new config::optional_child function
This is intended to replace uses of config::child that may fail, since we eventually want to get rid
of that ugly "invalid config" and the dreaded "Mandatory child missing yet untested for" error.

Both config::child and config::find_child had new optional throw-if-not-found behavior added, enabled
by an instance of config::throw_when_child_not_found.
2021-01-28 02:15:53 +11:00
Eric Gallager
efefcd2284
Tweak Eastern Invasion difficulty (#5496)
EI: small tweaks
2021-01-26 03:49:58 -05:00
Charles Dang
26426ea338 GUI2/Typed Formula: made use of std::optional 2021-01-26 11:12:39 +11:00
Charles Dang
3757f2caf6 GUI2/Loading Screen: made animation time-based instead of frame-based
Big thanks to @celticminstrel for help on this.
2021-01-25 18:56:48 +11:00
Charles Dang
745b774102 GUI2/Preferences Dialog: utilized maximum_value_label 2021-01-25 18:52:17 +11:00
Eric Gallager
3118f7cecf
Tweak Delfador's Memoirs difficulty (#5382)
* DM: tweak difficulty

this should be equivalent to the following commits in my other repository:
3427219b45 (diff-f2f73b177895cba8d63b07c163e862b8fdd9da442fc060ae5d6b871ae321c867)
bb211951c1 (diff-f2f73b177895cba8d63b07c163e862b8fdd9da442fc060ae5d6b871ae321c867)
20e2a751f1 (diff-f2f73b177895cba8d63b07c163e862b8fdd9da442fc060ae5d6b871ae321c867)
2021-01-24 23:16:29 -05:00
doofus-01
2a8baa9590
various small fixes (#5495)
* units - set image_icon for sidebar display of Cataphract

* units - remove inactive ability description for Diversion

* add recruit/recall to event list triggering check for diversion animation (Dunefolk Falconer)
2021-01-24 16:59:54 -08:00
doofus-01
818077cf18
Update changelog.md 2021-01-24 16:59:14 -08:00
doofus-01
9229600b72
Sprite work (#5417)
* units - north facing bowman and troll whelp

* units - north facing standing and defense frames for dunefolk skirmisher

* units - defense and (half-hearted) dagger attack anims (SE) for poacher

* units - update footpad sprite (SE-only)

* ran wmlindent
2021-01-24 16:56:33 -08:00
Charles Dang
454bed95ce GUI2/Loading Screen: improved animation 2021-01-25 09:21:01 +11:00
Charles Dang
673937d573 WFL: fixed a crash using debug_print 2021-01-25 09:19:04 +11:00
Pentarctagon
4ec1b46c09
Fix manual translation typo. 2021-01-24 13:31:27 -06:00
Pentarctagon
4524b3c783
Fix man translation typos. 2021-01-24 13:01:59 -06:00
Nils Kneuper
c22bd3b65e updated Catalan translation 2021-01-24 12:14:25 +01:00
Pentarctagon
b8d7b96d7b
VS README update. 2021-01-23 16:54:57 -06:00
Pentarctagon
47ba5b7af8
This script was never finished and never used, so delete it. 2021-01-23 12:42:34 -06:00
Charles Dang
c9c1204815 Unit: consider all [modification] tags 2021-01-23 23:49:11 +11:00
Charles Dang
0c2134a645 Further boost cleanup
* Removed more unnecessary includes
* Used std::swap instead of boost::swap in fake_unit_ptr. This is since unit_ptr (the type of `unit_` here)
  is now just a shared_ptr instead of a boost::intrusive_ptr.
* Used std::gcd instead of boost::integer::gcd
2021-01-23 23:46:20 +11:00
Nils Kneuper
de8ad232d4 updated Portuguese (Brazil) translation 2021-01-23 13:17:54 +01:00
Nils Kneuper
601ad5f462 updated French translation 2021-01-23 13:16:33 +01:00
Nils Kneuper
b945d25e11 updated Catalan translation 2021-01-23 13:15:09 +01:00
Charles Dang
8a316fa094 Fixup build
UNUSED wasn't defined here anymore, so this just adds some quick boilerplate to replace it
and that uses the class's private members.
2021-01-23 22:47:01 +11:00
Charles Dang
f8a45f2be9 Removed two unnecessary boost includes 2021-01-23 21:52:04 +11:00
Charles Dang
3ebe14c47b Removed spirit-po MSVC 2013 patch file 2021-01-23 21:49:39 +11:00
Charles Dang
8b0127bc1f Made use of the spirit_po::default_catalog typedef 2021-01-23 21:49:15 +11:00
Charles Dang
7311b19d4d Added utils::reversed_view
This is a wrapper around either std::views::reversed (C++20) or boost::adaptors::reverse (anything else).
2021-01-23 21:38:02 +11:00
Charles Dang
204d3b4254 Cleaned up global.hpp includes 2021-01-23 21:08:00 +11:00
Charles Dang
a04f6d2564 Replaced UNUSED with [[maybe_unused]] where applicable 2021-01-23 20:44:02 +11:00
Charles Dang
b713de3d85 Updated spirit-po from source
Applies (refs to :
* 4a72a9f0ef (we had !=, upstream used >, so I went with the latter)
* 4cf2d589e9 (catalog.hpp only)
* fac4caa4d0

This also fixes builds with /std:c++latest on MSVC. Seems that last commit which fixed things on
GCC9 also fixes thing on MSVC. Not entirely sure why it breaks in C++20 mode where it didn't before,
but potentially something to do with the default constructor and the new concepts stuff.
2021-01-23 20:36:15 +11:00
Charles Dang
a1cb45dc2d Fixed build with /std:c++latest
`requires` is a reserved keyword in C++20 related to the new Concepts stuff, so you can't have a function
named that. Also renamed `conflicts` to `does_conflict` for consistency with the new `does_require`.
2021-01-23 20:17:04 +11:00