78097 Commits

Author SHA1 Message Date
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
Andrey Bienkowski
17a9cb720a Silence wmllint error about a missing campaign id
The following wmllint error was caused by the fact that the campaign definition is split into two and wmllint is not smart enough to understand that.

"../../data/campaigns/Dead_Water/_main.cfg", line 76: campaign requires an ID attribute but has none
2021-01-14 22:28:15 +03:00
Andrey Bienkowski
038f0d5109 Fix comment parsing in wmllint
wmllint saw [side] inside a comment and incorrectly assumed it is reading a side definition

"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 484: side number 5 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 488: side number 5 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 512: side number 6 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 516: side number 6 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 540: side number 7 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 544: side number 7 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 568: side number 8 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 572: side number 8 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 805: side number 1 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 818: side number 2 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 831: side number 3 is out of sequence (11 expected)
"../../data/multiplayer/scenarios/4p_A_New_Land.cfg", line 844: side number 4 is out of sequence (11 expected)
2021-01-14 21:53:00 +03:00
Andrey Bienkowski
e39bf8f4e5 Replace fog and shroud in map files
"../../data/multiplayer/maps/6p_Team_Survival.map", line 2: warning, fog or shroud in map file
"../../data/multiplayer/maps/Dark_Forecast_drought.map", line 2: warning, fog or shroud in map file
"../../data/multiplayer/maps/Dark_Forecast_firstsnow.map", line 2: warning, fog or shroud in map file
"../../data/multiplayer/maps/Dark_Forecast_secondsnow.map", line 2: warning, fog or shroud in map file
2021-01-14 21:16:46 +03:00
nemaara
92fedf8f2a Add DW rebalance to changelog 2021-01-14 05:03:23 -05:00
nemaara
9917854fa3 DW: rebalancing pass 2021-01-14 04:58:34 -05:00
nemaara
5b84e142e3 DW S8: no bah 2021-01-14 04:23:15 -05:00
Charles Dang
c5e5ce1352
Merge pull request #5429 from hexagonrecursion/wmllint-fog-fix
Fix wmllint confusing fake map border for fog
2021-01-14 18:22:01 +11:00
Andrey Bienkowski
73bc19576a Fix wmllint confusing fake map border for fog
According to this: https://wiki.wesnoth.org/TerrainCodeTableWML
^_fme is Fake Map Border
_f is Fog
2021-01-14 09:57:21 +03:00
Charles Dang
d0ee52e922
Merge pull request #5427 from hexagonrecursion/wmllint-skyhunter
Add missing NOTE_MARKSMAN to Dune Sky Hunter
2021-01-14 16:55:11 +11:00
Charles Dang
4a8245b04d
Merge pull request #5426 from hexagonrecursion/terrain-textdomain
Fix wmllint textdomain warnings in data/core/terrain-graphics
2021-01-14 16:54:44 +11:00
Charles Dang
fa450356b2
Merge pull request #5428 from hexagonrecursion/wmllint-data-core-units
Fix several wmllint errors in data/core/units
2021-01-14 16:54:10 +11:00
Andrey Bienkowski
518f6953d5 Fix several wmllint errors in data/core/units 2021-01-14 08:48:06 +03:00