78109 Commits

Author SHA1 Message Date
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
Pentarctagon
cf23d44810
1.15.9. 1.15.9 2021-01-16 11:34:51 -06:00
newfrenchy83
3e46f3d4b4
update codeblock projectfiles (#5444)
* update codeblock project

* updat campaingd codeblock projectfiles

* update wesnothd codeblock scons
2021-01-17 03:04:18 +11:00
Charles Dang
73593ac6e6
Merge pull request #5439 from Pentarctagon/gui2-wiki-cleanup
Convert custom doc comments to doxygen.
2021-01-17 01:26:58 +11:00
loonycyborg
3d81892b95 pot-update and regenerate doc files 2021-01-16 17:22:09 +03:00
Charles Dang
e2e50645cd DW: ditch the ENABLE_KRAKEN macro 2021-01-16 23:27:36 +11:00
Charles Dang
bf153a1f76 Fixed difficulty selection popping up multiple times when loading a game (fixes #5392)
The first issue was difficulty_dialog::show being called twice. The second issue was that show_difficulty_dialog
was called from both load_game_ingame and load_game. The latter is called after the former (this should probably
be refactored), so if you selected Change Difficulty when loading from within a game, the dialog prompt would be
shown when both functions were called. Fixed this by toggling off the show_difficulty flag once a difficulty had
been selected.
2021-01-16 23:24:12 +11:00
Charles Dang
f69aa281c1 Revert "Avoid [+campaign] use"
This reverts commit f29ff0518034284610e057009aa380e6b6fe0da6. Since ENABLE_KRAKEN is defined in one of
the DW unit files, this causes the preprocessor to fail on game start.
2021-01-16 22:54:52 +11:00
Charles Dang
b484e52648
Merge pull request #5443 from hexagonrecursion/patch-1
Mention in  INSTALL.md that Vorbisfile is sometimes called libvorbis
2021-01-16 22:48:02 +11:00
Charles Dang
fce91d0e3f AI/aspect_attacks: code cleanup 2021-01-16 22:46:07 +11:00
Andrey Bienkowski
7e2b4dd5bd
Vorbisfile is called libvorbis on Fedora 2021-01-16 11:38:55 +00:00
Charles Dang
156665acbd Ai/aspect_attacks: code formatting 2021-01-16 22:36:33 +11:00
Charles Dang
cb86230bcd Removed adjacent_loc_array_t alias
This is no longer used everywhere (and we have `auto`) so it's easier for intellisense not to have this.
2021-01-16 22:10:24 +11:00
Charles Dang
79b6887d8b AI/aspect_attacks_base: pass an std::aray to do_attack_analysis 2021-01-16 22:06:02 +11:00
Charles Dang
76389cb3c0 Minor cleanup in a_star_search 2021-01-16 21:55:02 +11:00
Charles Dang
3f1ed55831 Actions/Move: greatly simplified a condition 2021-01-16 21:27:26 +11:00
Charles Dang
5b39a1c21e Pathfind/Teleport: made getters return their sets rather than taking them as arguments
Implementations were cleaned up in the process.
2021-01-16 21:24:08 +11:00
Charles Dang
e3055d47ae AI/aspect_attacks_base: format do_attack_analysis argument list 2021-01-16 20:51:54 +11:00
Charles Dang
d65d12e89d Big cleanup of get_adjacent_tiles usage
This adds a new overload of get_adjacent_tiles that returns the array instead of taking the address of
the first element (a C paradigm). This also converts the use of the result to range-for loops when possible,
which is enabled b the fact that we're using std::array here instead of C arrays.
2021-01-16 20:38:24 +11:00
Andrey Bienkowski
a71056df2f Quote an attribute value 2021-01-16 10:20:06 +01:00
Pentarctagon
6389c1e34e
Convert custom doc comments to doxygen.
NOTE: This does not do any validation of the existing documentation for whether it's correct or complete.  That would be the job of someone who actually knows the code being documented.  This is simply a format conversion to have everything now use the doxygen format.
2021-01-16 01:17:31 -06:00
Charles Dang
6a0baa563f Few minor code cleanups I had sitting around 2021-01-16 18:03:59 +11:00
Gunter Labes
f29ff05180
Avoid [+campaign] use 2021-01-15 20:45:00 +01:00
Andrey Bienkowski
8f84425ba5 Fix typo: team_name was used instead of user_team_name 2021-01-15 20:28:12 +01:00
Andrey Bienkowski
8581d21e1b Silence warnings about a missing translation mark
There is nothing that needs translating here
2021-01-15 15:33:23 +01:00
Charles Dang
75271a8246
Merge pull request #5430 from hexagonrecursion/wmllint-fog
Replace fog and shroud in map files
2021-01-15 09:25:30 +11:00
Charles Dang
f0d51ac57f
Merge pull request #5431 from hexagonrecursion/wmllint-fix-comment-parsing
Fix comment parsing in wmllint
2021-01-15 09:24:10 +11:00
Charles Dang
2157cf9768
Merge pull request #5432 from hexagonrecursion/wmllint-campaign-id-is-not-missing
Silence wmllint error about a missing campaign id
2021-01-15 07:11:30 +11:00
Charles Dang
e561b35acd
Merge pull request #5433 from hexagonrecursion/wmllint-more-comment-correctness
Fix wrong comment handling in wmllint
2021-01-15 07:11:14 +11:00
Andrey Bienkowski
48d001add7 Fix wrong comment handling in wmllint
A comment containing a string [advancefrom] was causing wmllint to get confused

../../data/campaigns/Dead_Water/scenarios/06_Uncharted_Islands.cfg, line 22: [advancefrom] needs to be manually updated to [modify_unit_type] and moved into the _main.cfg file
2021-01-14 22:57:20 +03:00