78338 Commits

Author SHA1 Message Date
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
Charles Dang
5df29bf9e6 Used [[fallthrough]] directly 2021-01-23 18:26:48 +11:00
Charles Dang
52db6a92fc Removed explicit STDC99 define on MSVC
We compile Lau as C++ code anyway.
2021-01-23 18:23:15 +11:00
Charles Dang
f8e58f0625 VS: specify C17 for C code 2021-01-23 18:20:49 +11:00
Andrey Bienkowski
a8a3bedc46 TSG: Add missing NOTE_DEFENSE_CAP
Three units with movement_type=mounted were missing {NOTE_DEFENSE_CAP}
2021-01-22 20:28:15 +01:00
Charles Dang
b8bf664147 Fixup 2069b70 2021-01-22 16:22:07 +11:00
Charles Dang
2069b70653 Made config::error inherit from std::exception instead of boost::exception
There was once a reason to use the latter (136f42bd4f264c0e933af9fcf6860d2a0a69bdb7, where boost::get_error_info
was used and relied on the error inheriting from boost::exception, but that code is long removed) and now it's
just an unnecessary boost include.
2021-01-22 15:10:14 +11:00
Charles Dang
4512d17c0b Game Conifg Manager: implemented an automatic WML cache file cleaning step
The game keeps track of the version it last cleaned the cache, and if it's less than the current version,
it will perform a cache clean when the game_config_manager is created.
2021-01-22 14:59:39 +11:00
Charles Dang
cca68fcdc0 Fixup f84be32 2021-01-22 14:11:18 +11:00
Charles Dang
4bf5acf3f2 GUI2/Chat Log: marked text area as link-aware (fixes #5485) 2021-01-22 14:08:10 +11:00
Charles Dang
f84be32671 Cleaned up and optimized pango_text::format_links 2021-01-22 14:07:24 +11:00
Charles Dang
e350b50b9a Game Board: used structured bindings 2021-01-22 14:05:53 +11:00