Steve Cotton
2888f0417d
Add unit tests for Lua API wesnoth.simulate_combat
...
(cherry picked from commit d96968b2ec0ea3198982fc530ee68054dd19af63)
2022-03-23 07:43:10 +01:00
loonycyborg
489e7faa29
Add compatibility symlink for previous dockerfiles
2022-03-22 21:06:07 +03:00
loonycyborg
1e56959008
dockerbuilds: provide our own implementation of msys2 image base for cross-compiling
...
Unlike rwgrim/msys2-cross this Dockerfile doesn't require manual setup
as it downloads msys2 itself. Though it uses archlinux as image base
instead of debian in order to reuse archlinux's own pacman.
2022-03-22 21:06:07 +03:00
Charles Dang
82a5287af6
Removed display::enable_menu
...
Its only uses was a no-op, since we have no menus with the end turn option. The button is an [action].
2022-03-22 11:28:17 -04:00
Charles Dang
e95afdab9e
Merge pull request #6570 from wesnoth/misc-cleanups
...
Misc cleanups
2022-03-22 11:26:54 -04:00
Charles Dang
9b72df3077
Removed string_to_button_type from the display class
2022-03-22 10:23:13 -04:00
Charles Dang
3435cf7ab9
Added a sized_array alias to string enums
2022-03-22 10:07:47 -04:00
Charles Dang
2e869ce204
Few misc code cleanups I had sitting around
2022-03-22 09:38:21 -04:00
Charles Dang
b1ea4a53fd
Connect Engine: removed unused function argument from update_and_send_diff
2022-03-22 09:35:17 -04:00
Charles Dang
1b8d1d66cf
Cleaned up a bunch more std::array uses
2022-03-22 09:34:38 -04:00
Charles Dang
a6502e83ba
Clang why are you pedantic
2022-03-21 22:59:04 -04:00
Charles Dang
e3b816cf14
Fixup tests for f60de6a
2022-03-21 14:40:42 -04:00
Pentarctagon
4698b9393f
Use non-attic jpg file.
2022-03-21 13:26:17 -05:00
Charles Dang
f60de6ab51
More glorious scoped enums
2022-03-21 11:00:17 -04:00
doofus-01
d09f472b1a
Update changelog.md
2022-03-20 20:39:30 -07:00
doofus-01
3f500e3a4c
1.17 new Fence terrain ( #6555 )
...
* palisade terrain (*^Eqp) addition
* make Eqf and Eqp play nice
* try to make barrier fence editor tiles clearer
* get specific terrain codes out of the NEW:FENCE rules
* fence terrain macro cleanup
* better transitions for portals/fences
2022-03-20 20:35:08 -07:00
Pentarctagon
3f41d911f2
1.17.2+dev.
2022-03-20 12:03:51 -05:00
Pentarctagon
7ce603e565
1.17.2.
1.17.2
2022-03-20 12:02:51 -05:00
loonycyborg
400f5af475
pot-update and regenerate doc files
2022-03-20 06:52:10 +03:00
Nils Kneuper
71ab6ebb4e
updated Bulgarian translation
2022-03-19 16:43:11 +01:00
Charles Dang
82d03090c6
Specify /Zc:__cplusplus for VS
2022-03-17 10:02:52 -04:00
Charles Dang
a3af95ccbb
Used proper __cplusplus
value for C++20
2022-03-17 09:45:26 -04:00
Charles Dang
e380a33e89
Removed system info field from FR template
2022-03-17 09:38:23 -04:00
Charles Dang
86cf82bf27
Merge pull request #6565 from wesnoth/test-stl-any
...
Used std::any, except on MacOS
2022-03-17 08:27:06 -04:00
Charles Dang
cd45c04c5a
GAH
2022-03-17 08:09:37 -04:00
Charles Dang
a3aae532f4
Marked system info required
2022-03-17 08:08:00 -04:00
Charles Dang
dcade30357
Don't use a string literal in the typo form
2022-03-17 07:59:50 -04:00
Charles Dang
664e0cb584
Fix key typo
2022-03-17 07:55:00 -04:00
Charles Dang
f095664894
Convert our issue templates into issue forms
2022-03-17 07:46:44 -04:00
Charles Dang
6d77fdc48c
Used std::any, except on MacOS
...
There's one remaining use of boost::any in commandline_options.cpp that cannot be converted since boost::program_options
excepted custom validator functions to take boost::any as their first argument.
2022-03-17 06:53:50 -04:00
Elvish_Hunter
c23cdd5fb1
maps/background.jpg -> maps/background.webp
2022-03-16 22:34:06 +01:00
Elvish_Hunter
e1553e8c52
wmllint: added conversion rule for maps/background.png to WebP
2022-03-15 22:47:17 +01:00
Elvish_Hunter
9e98be3676
wmlscope: recognize webp images
2022-03-15 18:35:46 +01:00
Wedge009
170c124bcb
UtBS: Rename ally_name to ally_id for clarity.
...
Justification: ally_name variable actually holds the ID attribute of the unit, not the name attribute.
This change was originally included in #6165 , which has since been reverted, so reinstating the variable renaming here.
2022-03-15 10:51:13 +11:00
Charles Dang
f1a9420042
Merge pull request #6558 from stevecotton/cleanup_pane_includes
...
Remove gui/auxiliary/filter.hpp and unused includes of pane.hpp
2022-03-14 16:36:03 -04:00
Gunter Labes
39c9ca03da
Improve bug report template
...
Try to make it clearer where the reporter should put answers to questions.
Put instructions inside `<!-- -->` so they're invisible even if not removed/replaced.
To make it even better could look into making it a form: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
2022-03-14 20:37:15 +01:00
Wedge009
d5b95e621d
While this is far from the only place where variables are used in translated text, the use of variables adds challenges to some translations.
...
The particular discussion which led to this reversion relates to the Czech translation.
Revert "Refactor handling of allies in UtBS. Resolves #6158."
Revert "Add po hints where self-referential troll names have been replaced with variables."
This reverts commit 541f0a1e73c45a8e58237e3a635d8d3bcbe1305a.
This reverts commit 4a3ddfb1430ce715e0ffbb519aef1c4592db3575.
2022-03-14 11:22:32 +11:00
Pentarctagon
9282828f58
Use the C++ compiler instead of the C compiler.
...
Note using clang++ to build C code as C++ without also providing `-x c++` gives a deprecation warning.
2022-03-13 18:38:12 -05:00
newfrenchy83
04181d7de8
update codeblock projetfiles
2022-03-13 12:07:00 -05:00
Pentarctagon
c1058215e5
Fix #6389 .
...
Previously this code assumed that all add-ons would have a _server.pbl or an _info.cfg. When neither was the case, it tried to dereference the begin() of an empty set, causing the crash.
2022-03-13 11:48:13 -05:00
Charles Dang
439de2531d
Merge pull request #6561 from newfrenchy83/updatecodeblock
...
update codeblock projectfiles
2022-03-13 06:44:33 -04:00
newfrenchy83
429094b577
update codeblock projectfiles
2022-03-13 11:27:42 +01:00
Pentarctagon
8655095516
changelog update.
2022-03-12 16:37:14 -06:00
Pentarctagon
9689554aa9
Make MSVC fail when C files generate warnings.
2022-03-12 16:32:46 -06:00
Martin Hrubý (hrubymar10)
f363853993
Add support for libwebp in Xcode project
2022-03-12 21:06:10 +01:00
Pentarctagon
94002d60dc
Add webp requirement.
2022-03-12 13:51:03 -06:00
Pentarctagon
f44acd68c2
Add build support for webp images.
2022-03-12 13:47:46 -06:00
Nils Kneuper
2c0b0bac68
updated Czech translation
2022-03-12 12:54:27 +01:00
Pentarctagon
82a8350a94
Put translation contribution info into CONTRIBUTING.md.
2022-03-11 21:42:29 -06:00
Celtic Minstrel
57c2e6de4a
Fix shroud unit tests not being classified as unit tests and showing up in the in-game test list
2022-03-11 09:46:33 -05:00