78937 Commits

Author SHA1 Message Date
Pentarctagon
c1fad387c1
Add the high contrast icons to cmake for installation.
Fixes #5685
2021-04-07 17:10:45 -05:00
Pentarctagon
01695acfe0 Log an error if a [variable] is found that's not comparing any values. 2021-04-07 17:08:45 -05:00
newfrenchy83
f70039fe26 update codeblock projectfiles 2021-04-07 11:47:00 -05:00
Charles Dang
0575bde289
Merge pull request #5677 from knyghtmare/knyghtmare-sand-scuttler-variation-name-fix
Fix for Giant Scorpion having an empty variation name.
2021-04-06 12:01:57 -04:00
Charles Dang
feda47baba
Merge pull request #5672 from stevecotton/align_debug_clock
Make the debug clock look right
2021-04-06 11:57:01 -04:00
Charles Dang
b1e533c8bc
Merge pull request #5678 from stevecotton/build_debug_window_layout
Fix building with ENABLE_DEBUG_WINDOW_LAYOUT
2021-04-06 11:18:21 -04:00
Steve Cotton
075e08faff Fix building with ENABLE_DEBUG_WINDOW_LAYOUT
It turned out to not be the tool that I need, so please don't
ask me for any help using it.
2021-04-06 15:54:09 +02:00
Tahsin Jahin Khalid
d52c5a8880 Update Giant_Scorpion.cfg 2021-04-06 19:15:10 +06:00
Tahsin Jahin Khalid
8cf20f263b village support +1 for 2 player mode (#5)
this sort of makes Dark Forecast passable for 2 player mode. Initially, it was only passable if it was one-player-mode as one player could have 11 villages active and could get a good army built prior to the final wave.
2 player suffered from lack of resources to replace losses and would be unwinnable in some cases.
Only 2 cases where it was won in 2 player mode was when the players were of exceptionally high skill level but average skill-levelled players have yet to even win.
2021-04-05 14:02:26 -05:00
Celtic Minstrel
f9500f9b0e Add unit tests for utils::square_parenthetical_split 2021-04-05 13:35:52 -04:00
Celtic Minstrel
01cc36dabb Add unit tests for utils::parenthetical_split 2021-04-05 13:35:52 -04:00
Celtic Minstrel
730afb3d4b Add some unit tests for utils::split and utils::map_split 2021-04-05 13:35:52 -04:00
Celtic Minstrel
74afe17ddf Add the new GUI2 dialog to the unit tests in the Xcode project 2021-04-05 13:35:52 -04:00
Celtic Minstrel
7860b2845b Add some missing test files to the Xcode project 2021-04-05 13:35:52 -04:00
Steve Cotton
489d364cb6 Make the debug clock look right
This is the only widget in mainline using GUI2's [draw][circle] tag. I'm
currently working on a change to the C++ text_shape class, and want to
be able to regression-test the placement of [circle]s after that change.

I'd be okay with deprecating both [circle] and [round_rectangle] as neither
seems to be used elsewhere, but this close to feature-freeze I'd prefer to keep
them in 1.16 rather than suggest removing them now.

To see the widget, start the game with `wesnoth --clock`, and then click the
button underneath "Quit" on the main menu.
2021-04-05 12:59:10 +02:00
doofus-01
3da068801b
terrain-graphics - remove hard cut on convex walls of human castle ruins, to blend with sunken ruins (#5667) 2021-04-04 12:08:48 -07:00
Steve Cotton
de3e798e72 Update the animals Micro-AI demo with boars and piglets
This adjusts to the change in e7b5996e988747c2b590852b4b461abe48857526.

The micro ai itself is unchanged, it's still controlled by `tusker_type` and
`tusklet_type`, it simply needed the new unit ids to be used in this scenario.
2021-04-04 20:23:46 +02:00
Celtic Minstrel
942743eb78
run_wml_tests: Fix indentation 2021-04-04 10:44:26 -04:00
Celtic Minstrel
be4b10a611 Update Xcode project
In addition to the new source file, this adds a number of header files that had been missed in previous updates.
2021-04-04 03:44:10 -04:00
Pentarctagon
139370b0a8
Remove comments so doxygen will use the parent class's comment. 2021-04-04 02:37:51 -05:00
Steve Cotton
6579f073c1 pango_text: remove unused force options and single-character insertion
The single-character insertion seems unlikely to be used in future. While
pango_text isn't a singleton, a few shared instances are created and then used
in a singleton-like way, with each caller assuming that it received it in an
unknown state and always calling set_text(), set_font_size(), set_font_style(),
etc.
2021-04-04 08:47:32 +02:00
Pentarctagon
38e7afb07f
Update changelog. 2021-04-04 01:32:01 -05:00
Pentarctagon
6b97a76109 Add a prompt to allow entering an add-on's password at upload time.
This is an alternative to needing to store the plaintext password in the _server.pbl.
2021-04-04 01:28:23 -05:00
Celtic Minstrel
5fc4b235a9 WFL: Fix carryover bonus being represented as an int 2021-04-04 00:58:57 -04:00
Celtic Minstrel
a755788392 run_wml_tests: Skip tests that expect strict validation failure if log-strict is disabled 2021-04-04 00:58:48 -04:00
Celtic Minstrel
099414ed1e run_wml_tests: Don't append to the provided path if it's not a directory
This allows passing an explicit path on Mac (instead of using the automatic -p xcode option), since the binary is not named "wesnoth" on that platform.
2021-04-04 00:58:42 -04:00
doofus-01
77f8112032
Update changelog.md 2021-04-03 21:18:31 -07:00
doofus-01
e7b5996e98
remove reference to tusker, replace with boar or piglet (#5662)
* remove reference to tusker, replace with boar or piglet
2021-04-03 21:15:24 -07:00
doofus-01
31bc471d39
Update changelog.md 2021-04-03 16:39:55 -07:00
doofus-01
bdfb550e9a
scorpion variations (#5589)
* portrait variation for sand-scuttler scorpion variation

* units - scorpion zombie/soulless variation

* addition of new unit called rock scorpion
2021-04-03 16:35:26 -07:00
doofus-01
22a9d21dee
various small fixes (#5613)
* units - fix incorrect file type (png -> ogg) in animation

* units - touch-up WC beast_rider portrait
2021-04-03 14:49:28 -07:00
Pentarctagon
e668c477c5
Delete SUPPORT.md and move CONTRIBUTING.md.
SUPPORT.md was a small subset of CONTRIBUTING.md, and CONTRIBUTING.md no longer has a TOOD section and so should be moved to where more people will see it.
2021-04-02 19:05:10 -05:00
Tahsin Jahin Khalid
18b42b0439
Fix for weather change cheat in dark forecast (#5656)
Adjusted the weather change effect from side 3 turns to side 1 turns. Side 1 is never empty so it would bypass the side 3 as empty cheat which impeded weather changed.
2021-04-02 18:19:03 -05:00
Pentarctagon
6fcd4ede8d
Fill out PR section. 2021-04-02 17:29:46 -05:00
Tahsin Jahin Khalid
7f9b399235
Dark Forecast Lua file comment Typo fix (#5658)
Fixed a typo in the comments and in a function name.
2021-04-02 14:51:46 -05:00
Celtic Minstrel
89778ca26f WC: Change the invest dialog title to be more descriptive
I doubt anyone who hasn't played before will guess what "Invest" means.
2021-04-02 11:38:39 -04:00
Andrey Bienkowski
1760e6f5ff Fix a typo 2021-04-02 10:20:09 -05:00
Andrey Bienkowski
003419bba9 Fix typo
singular: brother; plural: brethren; plural possessive: brethren’s
granted: it is possible that this word is an exception. I'm not an expert
2021-04-02 10:19:51 -05:00
Nils Kneuper
b73d66eff1 updated British English translation 2021-04-02 09:52:19 +02:00
Charles Dang
289ac354a0
Merge pull request #5646 from stevecotton/wfl_error_thread_master
[1.15] Make WFL's error-reporting machinery thread_local
2021-04-01 10:19:49 -04:00
Pentarctagon
ea46abf5b0
Run wmlindent. 2021-03-31 13:46:12 -05:00
Celtic Minstrel
726b5458f9 SotA: Convert zombie recruit dialog to WML 2021-03-31 14:02:29 -04:00
Pentarctagon
690e8f0193
Prevent deprecation message details from being on a separate line.
The log handler does some kind of per-line sorting of these, so a single deprecation warning ends up with the detail line first and the message line second (line order reversed). When there are multiple deprecation messages, their detail lines and message lines get jumbled together.  This seems to be tied together with how it detects repeated instances of the exact same error/warning, so putting both the message and the detail on the same line is much simpler than tinkering with that.
2021-03-31 11:57:46 -05:00
Pentarctagon
852938519a
Run wmlindent. 2021-03-31 10:29:10 -05:00
Celtic Minstrel
cc12e342a0 tutorial: Convert character dialog to WML 2021-03-31 09:43:48 -04:00
Celtic Minstrel
7defa434e8 WC: Convert the remaining dialogs to WML
- Pickup confirmation
- Got unit from invest
- Settings for map editor
2021-03-31 09:29:20 -04:00
Celtic Minstrel
1af920669c WC: Make that macro uppercase as per style guidelines 2021-03-31 02:17:23 -04:00
Celtic Minstrel
63aad7453c WC: Convert the help dialog to WML 2021-03-31 02:05:55 -04:00
Celtic Minstrel
a51271670c WC: Convert invest dialog to WML 2021-03-31 01:27:06 -04:00
Celtic Minstrel
ea2d74580f WC: Fix invest dialog 2021-03-31 00:45:14 -04:00