78338 Commits

Author SHA1 Message Date
Andrey Bienkowski
67ea5b5eed DiD: Explain the Inky encounter logic 2021-01-18 13:57:56 -06:00
Andrey Bienkowski
b155192fb3 DiD: add wmllint: recognize Jaime 2021-01-18 13:57:27 -06:00
Andrey Bienkowski
208bf55c86 Use wmllint: recognize instead of blanket ignore 2021-01-18 13:57:02 -06:00
Severin Glöckner
37dfcad927 Hide warnings from GCC if compiling with LTO
This adds the change from d643edc (in scons) and 941433e (in cmake) to the linking step as well, but only when using LTO

closes  #5350
2021-01-18 13:53:05 -06:00
Gunter Labes
24d3872b3d
Fix pango markup error 2021-01-18 15:47:53 +01:00
Steve Cotton
8bff60f441 Run wmlindent on DiD's scenarios 2021-01-18 14:08:29 +01:00
Andrey Bienkowski
b9d64a63e5 Add wmllint: display on/off around multiline messsages 2021-01-18 01:09:07 -06:00
Andrey Bienkowski
92ecc63962 Silence a wmllint false positive 2021-01-18 01:09:07 -06:00
Pentarctagon
3ddb5ce313
Fix macro arguments. 2021-01-18 00:57:49 -06:00
Pentarctagon
74d914f45f Convert relevant cases of lexical_cast to std::to_string().
In general I think it's best to use std implementations unless there's a functional or performance reason not to, but also in a few cases this also allows removing the include of lexical_cast.hpp.
2021-01-18 00:51:41 -06:00
nemaara
92ccc9ae5b
Merge pull request #5457 from hexagonrecursion/DiD-plus-exp
DiD: refactor scripted experience gain
2021-01-18 00:22:47 -05:00
Charles Dang
b54ce01134 Deployed structured bindings
This doesn't touch cases where `std::tie` was used with `std::ignore`, since there isn't a way to
ignore a variable in structured bindings and choosing a random variable name might trigger unused
variable warnings on CI (will have to confirm that, though).
2021-01-18 09:43:59 +11:00
Charles Dang
3bea67efc6 Quit Confirmation: defined static variable inline 2021-01-18 09:43:05 +11:00
Andrey Bienkowski
30fb6a7d96 DiD: refactor scripted experience gain
My primary motivation was internationalization: with one added string we can translate all these messages.
2021-01-17 19:57:05 +03:00
Martin Hrubý (hrubymar10)
f91f02b4fd
Fix Xcode project 2021-01-17 12:14:39 +01:00
Martin Hrubý (hrubymar10)
22dc527294
Use new automatic signing in Xcode project 2021-01-17 11:58:26 +01:00
newfrenchy83
6f85e689e6
Update codeblock for recent changes (#5455)
* update codeblock for recent changes

* update codeblock test for recent changes

* Update wesnothd.cbp

* Update wesnothd.cbp

* update scons codeblock
2021-01-17 21:45:31 +11:00
Charles Dang
f3f6a15d90 Units/Frame: cleaned up some redundant logic
These are already set to indeterminate initially in the initializer list.
2021-01-17 21:29:37 +11:00
Charles Dang
248eab0267 Fixup efa330a35c04bada6ae65a522597eaf144356e98 2021-01-17 21:29:15 +11:00
Charles Dang
b2e22b8aed Reapply d0100758f855ec0d8f30dff41e8a8b6ff2d45fda 2021-01-17 21:28:47 +11:00
Charles Dang
ddf1ed9f0a Upgrade to Lua 5.3.6
Resolves #5452. There were no official patches to apply.
2021-01-17 21:28:47 +11:00
Charles Dang
040a52ce25 Cleaned up some SDL includes 2021-01-17 18:01:38 +11:00
Severin Glöckner
deeb7460d7 Move changelog entry for Isar’s
from 1.15.8 to 1.15.9
2021-01-17 06:38:31 +01:00
Severin Glöckner
efa330a35c NR S12: move dialogue from victory event
It's not shown with :n then
2021-01-17 06:35:49 +01:00
Severin Glöckner
deb007f1b1 NR S13: use new code features
Using location_id (which accepts multiple values sice 1.15.0)
and the new macros for handling overlays and ellipses.

Side effect: the now-leaders won't have the loyal trait anmore
2021-01-17 06:35:49 +01:00
Severin Glöckner
2d94d90449 NR S13: use Sisal as fallback for Eryssa
The situation of having her but not Eryssa is new.
2021-01-17 06:35:49 +01:00
Severin Glöckner
c5bc4e9c3f NR S12+S13: let Eryssa die
She's not needed anymore.
2021-01-17 06:35:49 +01:00
Severin Glöckner
7733e55077 NR S10: Fix side 7 objectives
closes #5373
2021-01-17 06:35:49 +01:00
Severin Glöckner
4846a08c5f NR: Krash's side is always orange 2021-01-17 06:35:49 +01:00
Charles Dang
1f7d6239da Make scons happy while I work on this dialog 2021-01-17 16:14:10 +11:00
Charles Dang
f323deb23e Don't use optional::value since MacOS < 10.14 doesn't like it 2021-01-17 12:25:10 +11:00
Charles Dang
f8bf44ecf0 Updated changelog 2021-01-17 11:48:24 +11:00
Charles Dang
8037076e5d Synced Context: defined static members inline 2021-01-17 11:48:23 +11:00
Charles Dang
3176c7a5a5 Used inline variables for metaprogramming constants 2021-01-17 11:48:22 +11:00
Charles Dang
6d155ced61 Updated VS projectfiles for recent changes
- Adding the Match History viewer
- Removing utils/optional_fwd.hpp
- Adding the wesnothd game history query handling
2021-01-17 11:48:22 +11:00
Charles Dang
e3f8b68796 Added basic dialog definitions for the Match History viewer 2021-01-17 11:48:21 +11:00
Charles Dang
3ff0b7f081 Added a HAVE_CXX20 define 2021-01-17 11:48:17 +11:00
Charles Dang
bb49aa8397 Used [[maybe_unused]] directly 2021-01-17 11:48:16 +11:00
Charles Dang
c35a73f5f1 Used std::clamp directly 2021-01-17 11:48:15 +11:00
Charles Dang
4d54b2a7fd Used std::optional directly since we support C++17 now 2021-01-17 11:48:14 +11:00
Iris Morelle
8433134e53 Forgot all my 1.15.9 changelog entries
[ci skip]
2021-01-16 20:31:23 -03:00
Pentarctagon
1b8479c28a
Update xcode to C++17 as well. 2021-01-16 17:14:00 -06:00
Pentarctagon
1569ecfc9b
Update minimum requirements 2021-01-16 17:06:53 -06:00
Pentarctagon
90946ca262 Update to require C++17.
This then also bumps the minimum GCC version to 7.
2021-01-16 17:05:47 -06:00
Pentarctagon
ef7d69b953 Use gcc-9 in the Scout runtime instead of gcc-5.
The gcc-9 shipped with the Scout runtime forces the use of -static-libstdc++ which is what allows this to work. However, LTO is not yet able to be enabled since as of right now it simply crashes immediately with `free(): invalid pointer`.
2021-01-16 15:43:59 -06:00
Nils Kneuper
005fdac6df updated Catalan translation 2021-01-16 20:15:20 +01:00
Pentarctagon
5ee08c80fb Add support for asynchronously querying a player's game history for display on the client. 2021-01-16 12:48:07 -06:00
Nils Kneuper
4d2e20ec85 updated Catalan translation 2021-01-16 18:57:35 +01:00
Nils Kneuper
8ef7d14e45 updated Czech translation 2021-01-16 18:56:12 +01:00
Pentarctagon
e678c544bf
1.15.9+dev. 2021-01-16 11:37:33 -06:00