78013 Commits

Author SHA1 Message Date
Iris Morelle
d39f70af9a Update changelog
[ci skip]
2020-12-17 02:32:50 -03:00
Charles Dang
55340a98e4 MP: cleaned up open_connection 2020-12-17 14:21:51 +11:00
Charles Dang
5feaf973ce
Merge pull request #5363 from shikadiqueen/feature/addonmg-url-ux
gui2/addon_manager: Replace URL widgets with a single link label
2020-12-17 04:46:15 +11:00
Charles Dang
3dd0e32cec GUI2/Styled Widget: somewhat hacky fix for widgets returning the wrong link after setting a new label 2020-12-17 04:45:41 +11:00
Charles Dang
2c6c9b56a5 Attempt fixup 2020-12-17 04:00:15 +11:00
Charles Dang
a3ad181e6c FS: removed use of Windows-specific error code
The OS-specific error code headers were deprecated in Boost 1.75 (see #5359). This code was first added back in 2013
(see 037e1c12997fe92a2aed36c8b2a05ff31696e8de) but testing now on Windows 10 using Boost 1.73 at least shows that
`no_such_file_or_directory` is returned for both missing files and paths. Seems unnecessary to keep this case around
especially as the header is deprecated going forward.
2020-12-17 02:30:06 +11:00
nemaara
f87a2bc4e4 THoT: move campaign lower in difficulty rating 2020-12-16 04:16:17 -05:00
nemaara
64e6c133fe Add THoT rebalance to changelog 2020-12-16 04:14:46 -05:00
nemaara
afbd7e0237 THoT: rebalance campaign 2020-12-16 04:13:49 -05:00
Charles Dang
c65db9acbb GUI2: added _WIDGET_DEBUG_BORDER macro 2020-12-16 19:18:29 +11:00
Charles Dang
d47abc1d52
Merge pull request #5360 from wesnoth/no_ptr_vector
Unit: removed use of boost::ptr_vector
2020-12-16 18:51:17 +11:00
Pentarctagon
20c4430773
Don't display a unit's name on hover if it hasn't been named. 2020-12-16 00:19:57 -06:00
Pentarctagon
3c2c1dd2ed
Don't display a unit's recruit list on hover since that can't be set anymore. 2020-12-16 00:12:07 -06:00
Pentarctagon
c8666a8a41 Remove the editor option to assign a recruit list to a unit.
The UI implementation of this is bad enough that I consider its presence to actively a detriment to anyone trying to use the editor.
2020-12-15 23:41:55 -06:00
Iris Morelle
cc052ed5a5 gui2/game_version: Minor streamlining 2020-12-15 19:49:40 -03:00
Iris Morelle
599509eb52 gui2/addon_manager: Replace URL widgets with a single link label
The URL widgets (textbox + copy button + browse button) predate the
implementation of link-awareness in labels and they sort of got carried
over into the new design magically without there being a real need for
that. Now that we have a visible cursor change when hovering links it's
even less necessary to draw unnecessary attention to the link with a
clunky and unintuitive (greyed out textbox...) interface.
2020-12-15 17:51:08 -03:00
Charles Dang
50235ce937 Bye bye boost::copy 2020-12-16 04:35:46 +11:00
Charles Dang
362b6d7fa6 Unit: removed uses of this->member 2020-12-16 03:20:44 +11:00
Charles Dang
3e2d0ae678 Unit: don't store advancements in a boost::ptr_vector
I really have no idea why it was done this way, especially since it always seems to be allocating new config objects...?
Probably a relic of the pre-C++11 age.

Addresses one header brought up in #5359.
2020-12-16 03:19:19 +11:00
Charles Dang
a4d109072c Revert "GUI2/Label: warn if link_aware is true but use_markup is false"
This reverts commit c49469c67b7957ff68edaf6a788f2169f3ee3e1e. This was causing warning in the campaign
dialog (even though use_markup is set when a new multi_page page is created) causing tests to fail...
2020-12-15 23:59:15 +11:00
nemaara
3c0377e28a HttT: rebalance remaining scenarios 2020-12-15 04:10:33 -05:00
fraaans
b3e5a260d9
NR S1/2: add dialogue when turns runs out (#5357)
* dialogue when turns runs out NR S1 and S2

* NR dialogue S1 and S2 for turn runs out: update

* Update data/campaigns/Northern_Rebirth/scenarios/02_01_Infested_Caves.cfg

Co-authored-by: nemaara <nemaara@users.noreply.github.com>

* Update data/campaigns/Northern_Rebirth/scenarios/01_Breaking_the_Chains.cfg

Co-authored-by: nemaara <nemaara@users.noreply.github.com>

* Update data/campaigns/Northern_Rebirth/scenarios/02_01_Infested_Caves.cfg

Co-authored-by: nemaara <nemaara@users.noreply.github.com>

* Update 01_Breaking_the_Chains.cfg

Co-authored-by: nemaara <nemaara@users.noreply.github.com>
2020-12-15 02:59:52 -05:00
nemaara
6e11c01664 Add campaign balancing to changelog 2020-12-15 02:47:43 -05:00
Eric Gallager
35c20c1541
DW: reduce difficulty
from https://github.com/cooljeanius/wesnoth_mods
2020-12-15 02:44:01 -05:00
Charles Dang
c49469c67b GUI2/Label: warn if link_aware is true but use_markup is false 2020-12-15 11:58:31 +11:00
Charles Dang
b3d4a3744d GUI2/Addon Manager: removed link awareness from addon descriptions
Formatting is disabled for these and links require formatting, so this is redundant.
2020-12-15 11:57:33 +11:00
Charles Dang
d549427652 Merge branch 'master' of github.com:wesnoth/wesnoth into master 2020-12-15 08:24:38 +11:00
Charles Dang
3bd1dd4681 Synced Commands/Context: removed unused parameter from error functions as per todo 2020-12-15 08:21:33 +11:00
Charles Dang
baa2072399 Synced Context: marked virtual functions with override 2020-12-15 08:07:33 +11:00
Charles Dang
79393d3623 Synced Context: is_simultaneously() -> is_simultaneous() 2020-12-15 08:05:18 +11:00
Charles Dang
7d47c4a687 Synced Context: moved simple implementations to header 2020-12-15 07:59:09 +11:00
newfrenchy83
2168f629fb
Add overwrite_specials attribute to allow forcing a lower chance to hit
The reported issue being that the FORCE_CHANCE_TO_HIT macro was able to force an increase in an attack's chance to hit, but no longer able to force a decrease.
2020-12-14 14:57:59 -06:00
Charles Dang
9ce4fadbbd Synced Context: formatting cleanup 2020-12-15 07:52:56 +11:00
Iris Morelle
3d7f0a6116 schema: GUI2 dropdown menus support the details= attribute 2020-12-14 14:44:08 -03:00
loonycyborg
85c9988f5e Remove "python_devel" from custom tools too 2020-12-14 15:59:14 +03:00
Charles Dang
3ca809d534 GUI2/Player Info: removed redundant grid 2020-12-14 23:53:20 +11:00
Charles Dang
24c8c3bd01 GUI2/Button: restored vertically-offset text positioning
The "plain" centered text looks a little weird with buttons
2020-12-14 23:51:16 +11:00
loonycyborg
4f5a713934 Drop load of unused scons tool "python_devel" 2020-12-14 15:47:41 +03:00
Celtic Minstrel
891421bb41 Return null instead of crashing when accessing an invalid element of a WFL list
Fixes #5355
2020-12-13 22:46:01 -05:00
newfrenchy83
b9dcc32e24
fix codeblocks projectfiles (#5356) 2020-12-14 10:35:42 +11:00
Charles Dang
6119486e32 Fixup attempt 3 2020-12-14 08:31:46 +11:00
Charles Dang
36062ed61c Testing a thing 2020-12-14 07:56:04 +11:00
Charles Dang
ccbb0de4e2 Fixup 2020-12-14 07:14:18 +11:00
Charles Dang
24f3245cfe Why was [titlescreen_music] in editor/_main.cfg... 2020-12-14 06:47:08 +11:00
Martin Hrubý (hrubymar10)
8c31a4cb10
Update Xcode project 2020-12-13 20:40:36 +01:00
Charles Dang
d00c29ab6e Minor cleanup 2020-12-14 06:33:12 +11:00
Charles Dang
b4db8dcab7 GUI2/Story Viewer: removed use of location_callable 2020-12-14 06:21:55 +11:00
Charles Dang
17f979d866 GUI2: removed pixel offset from GUI__TEXT_VERTICALLY_CENTRED
Fixes the text of menu_buttons being 1 pixel too high. Seems this is a relic from 2016 and me tweaking the
formula to try and get things more centered in buttons... But in that case, adjustments shuld probably be
directly made to buttons, not here.
2020-12-14 06:21:20 +11:00
Charles Dang
3ae339bf31 GUI2/Preferences Dialog: removed now-unused game config ctor argument 2020-12-14 06:03:59 +11:00
Charles Dang
ccd006cccd Refactored handling of advanced preferences
Instead of having the preferences dialog make a copy of all advanced preference config objects (and sorting them)
every time you invoke it, this adds a new advanced_manager class instantiated once in game_launcher (not sure if
that's the best place for it, though) that parses and handles the options. Allows me to greatly clean up the
preferences dialog code.
2020-12-14 05:56:52 +11:00