77757 Commits

Author SHA1 Message Date
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
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
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
nemaara
c8576a781d HttT: rebalance some scenarios 2020-12-13 04:49:14 -05:00
Charles Dang
1ed3edb6db Editor: fixed vertical misalignment of map marker in the Window dropdown 2020-12-13 19:07:54 +11:00
Charles Dang
0963d2785d GUI2/Grid Builder: better validation error messages for Iris
Also fixes a logic oversight where the first row was allowed to have 0 columns somehow...?
2020-12-13 06:17:34 +11:00
Charles Dang
8049551241 WC: removed spurious error message 2020-12-12 23:20:09 +11:00
nemaara
41f65f84b9 HttT S6: make caves easier to navigate 2020-12-11 18:38:50 -05:00
nemaara
f1344c8574 HttT: reduce difficulty in early scenarios 2020-12-11 18:35:37 -05:00