77810 Commits

Author SHA1 Message Date
Celtic Minstrel
651090cf47 Fix erroneous deprecation warnings from [random_placement] 2020-12-20 15:17:26 -05:00
Celtic Minstrel
5a068dad61 Fix a deprecated use of [random_placement] 2020-12-20 15:16:59 -05:00
Martin Hrubý (hrubymar10)
1d5448fb0c
Add support for Apple Silicon to Xcode 2020-12-20 20:38:44 +01:00
Michal Žejdl
698c55198c SotBE: fix pronoun (Inarix is an Ambusher, thus female) 2020-12-20 12:56:45 -06:00
Iris Morelle
75df6f1eb1 pofix: 1.14 announcement rules for 1.14.15
[ci skip]
2020-12-20 03:15:25 -03:00
Charles Dang
1235a6e9af Synced changelog with 1.14 2020-12-20 14:10:55 +11:00
Pentarctagon
bfee8bbf3b
Update INSTALL for boost 1.65 minimum. 2020-12-19 18:31:29 -06:00
Michal Žejdl
5b56e675b6
SotBE S09: add user_team_name (#5371)
* SotBE S09: add user_team_name
2020-12-19 19:29:37 -05:00
doofus-01
dd322ccbf4
[terrain-graphics] fix for Eff/V* transition
fixes #5366
2020-12-19 09:54:22 -08:00
Charles Dang
5714deebba Cleaned up some boost::variant includes 2020-12-20 02:01:06 +11:00
larry_the_cow
60e69492da NEAREST_HEX: variable location_found is no longer used. 2020-12-19 01:57:55 -06:00
Pentarctagon
0409c22ae2
Update cmake/scons for boost 1.65 minimum. 2020-12-19 01:54:46 -06:00
nemaara
6e236ba03b EI: second balance pass 2020-12-19 02:22:20 -05:00
Charles Dang
0d685c6bef Drop compatibility for Boost pre-1.65 2020-12-19 18:19:30 +11:00
nemaara
b0882c6ded Add EI rebalance to changelog 2020-12-19 02:12:42 -05:00
nemaara
ab900b0093 EI: rebalance pass 2020-12-19 02:11:36 -05:00
Iris Morelle
61e832e9af gui2/campaign_selection: Layout tweaks for the settings row
This makes the row actually take up its full horizontal space and spaces
out the columns very slightly while still allowing them to be usable at
800x600.

It also replaces the overlong detailed descriptions for the options in
the Combat menu with tooltips holding the same contents.
2020-12-19 03:47:54 -03:00
Iris Morelle
10d578bb7b gui2/campaign_selection: Use "Timeline" for the timeline sorting header
It's more elegant in context than "dates".
2020-12-19 03:47:54 -03:00
Iris Morelle
19004a6950 gui2/panel: Avoid using images and just draw rectangles
The opacity used here for the fill colour is identical to the one used
in the image file.
2020-12-19 03:47:54 -03:00
Iris Morelle
8a4515e9d2 gui2/campaign_selection: Add difficulty-specific laurels
This brings back laurels for the difficulty menu. Because I really don't
want to break into menu_button's implementations details just yet, this
is a bit of a hack using the BLIT IPF instead of stacked_widget.

To make up for it, this version uses the three different difficulty
laurels depending on the difficulty being displayed, instead of always
using the standard laurel.
2020-12-19 03:47:54 -03:00
Iris Morelle
3bfb9e34c5 engine: Add missing member initializers 2020-12-19 03:47:54 -03:00
Iris Morelle
c8d824be95 engine: Don't log to stderr directly 2020-12-19 03:47:54 -03:00
Iris Morelle
4b5eabdfb0 engine: Control experimental PRNG option via game classification
This removes the use_prng Advanced Preferences option and replaces it
with a new possible value for randomness in the game classification
class, "biased". It also changes the enumeration label for it in the
GUI2 campaign dialog.

It also makes it so the synced RNG is automatically used with this
option as well as the existing deterministic randomness option ("save
random seed").
2020-12-19 03:47:54 -03:00
Iris Morelle
ac53f93004 gui2/campaign_selection: Major dialog overhaul
CC: issue #4543

(N.B. This is a monolithic mega-commit because of a bunch of
experimental phase changes that necessitated constant changes to both
engine code and UI WML.)

This redesigns the campaign selection dialog implementing a
campaign-defined background image that changes depending on the selected
campaign, specified by the [campaign] background= attribute; adding a
menu button for selecting the RNG mechanism in use (default RNG vs.
predictable RNG a.k.a. "save random seed"); and finally, adding a menu
button for selecting the campaign difficulty without having to go
through the campaign difficulty selection dialog.

A huge amount of changes to the UI WML were required for this to say the
least.

This also adds the following new widget definitions:

 * toggle_button: listbox_header_centered, listbox_header_bg,
   listbox_header_centered_bg
 * panel: panel_listbox_bg, campaign_menu_bg

As a side effect, two private methods in
gui2::dialogs::campaign_selection() are no longer const-qualified. No
idea why they were const-qualified in the first place, but it
interferred with some of the new code in a major way.
2020-12-19 03:47:54 -03:00
gfgtdf
7e353095c1 fix crash in mp lobby
Fixes #4792

Previously that line would call generator::set_item_shown which inherits that class since set_item_shown is virtual. This doesn't work, in particular  since generator::set_item_shown wouldn't do anything if the to-be-deleted selected item is already hidden. (which for some reason happens quite often in the mp lobby window).

This resulted in generator::delete_item deleting a selecting item,  so selected_item_count_ would become wrong.
2020-12-19 16:39:57 +11:00
Pentarctagon
e9f62bcd66
Wesnoth 1.15.8+dev. 2020-12-18 19:37:09 -06:00
Pentarctagon
36fc7538b8
Wesnoth 1.15.8. 1.15.8 2020-12-18 19:34:38 -06:00
Iris Morelle
c45e90ebb6 pot and documentation update 2020-12-18 22:29:40 -03:00
Nils Kneuper
fd5cb62565 updated Russian translation 2020-12-19 02:22:36 +01:00
Nils Kneuper
de3a16b401 updated Turkish translation 2020-12-19 02:17:28 +01:00
Nils Kneuper
7e21233d85 updated Portuguese (Brazil) translation 2020-12-19 02:15:28 +01:00
Charles Dang
9b69128676 Merge branch 'master' of github.com:wesnoth/wesnoth into master 2020-12-19 11:54:58 +11:00
Charles Dang
35733f1143 GUI2/Screenshot Notification: select filename initially
This is pretty hacky, need to do something better.
2020-12-19 11:54:25 +11:00
Charles Dang
7a3ebe1777 GUI2/Screenshot Notification: removed unnecessary temp variable, cleaned up includes 2020-12-19 11:46:25 +11:00
Charles Dang
92c10f1b19 GUI2/Screenshot Notification: fixed wrong path being used for opening screenshot (fixes #5322) 2020-12-19 11:43:23 +11:00
Pentarctagon
90778f2f84
Changelog clarification. 2020-12-18 18:39:09 -06:00
Charles Dang
3118f34798 GUI2/Screenshot Notification: use action_browse definition for browse button 2020-12-19 11:32:14 +11:00
Charles Dang
f3f6acf74b Game Launcher: removed CVideo getter 2020-12-19 11:15:19 +11:00
Charles Dang
1ba2b7e823 SP: cleaned up code a bit 2020-12-19 10:33:32 +11:00
Severin Glöckner
b1983c2bc3 German translation update 2020-12-18 23:36:55 +01:00
Charles Dang
63030fef14 Game Config Manager: minor code cleanup
Fixes a stray space in the ENABLE_DWARVISH_RUNESMITH entry in the 1.14 deprecated advancement macros list.
2020-12-19 00:03:55 +11:00
Charles Dang
8da8d3ee55 Game Config Manager: code formatting 2020-12-18 23:55:41 +11:00
Charles Dang
68e2d13275 Fixup add1fd9 2020-12-18 14:31:13 +11:00
Charles Dang
add1fd9fa3 Removed second argument from game_launcher ctor
This seems to be a relic from the time when the editor was a separate executable
2020-12-18 13:40:36 +11:00
Charles Dang
9700c1487b Simplified event::call_in_main_thread 2020-12-18 12:51:28 +11:00
Charles Dang
1507bec710 Game Launcher: code formatting 2020-12-18 07:53:00 +11:00
Charles Dang
2bc291909b Converted a trivial regex to std::regex
See https://github.com/wesnoth/wesnoth/pull/5231#issuecomment-716097356
2020-12-18 02:51:44 +11:00
Charles Dang
8e0e474864 clang-format: set AlignOperands false 2020-12-17 20:45:57 +11:00
Iris Morelle
5102d3eb2f I guess I need to scream at myself
[ci skip]
2020-12-17 02:34:28 -03:00
Iris Morelle
d39f70af9a Update changelog
[ci skip]
2020-12-17 02:32:50 -03:00