27416 Commits

Author SHA1 Message Date
Iris Morelle
c45e90ebb6 pot and documentation update 2020-12-18 22:29:40 -03:00
Charles Dang
3118f34798 GUI2/Screenshot Notification: use action_browse definition for browse button 2020-12-19 11:32:14 +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
nemaara
f87a2bc4e4 THoT: move campaign lower in difficulty rating 2020-12-16 04:16:17 -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
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
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
Eric Gallager
35c20c1541
DW: reduce difficulty
from https://github.com/cooljeanius/wesnoth_mods
2020-12-15 02:44:01 -05: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
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
Iris Morelle
3d7f0a6116 schema: GUI2 dropdown menus support the details= attribute 2020-12-14 14:44:08 -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
Charles Dang
24f3245cfe Why was [titlescreen_music] in editor/_main.cfg... 2020-12-14 06:47:08 +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
nemaara
c8576a781d HttT: rebalance some scenarios 2020-12-13 04:49:14 -05: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
Charles Dang
a22622258e Updated schema 2020-12-12 03:53:48 +11:00
Charles Dang
7188781f91 GUI2: made link_aware a per-instance config option rather than per-definition
Back when link awareness was first added (https://github.com/wesnoth/wesnoth/pull/300), this key was added
globally to label definitions alongside link_color. This had the unintended side effect of making *all* labels
link aware, leading to issues such as being able to open a do-you-want-to-open prompt from an instance of the
same ad-infinitum.

This became an active issue after 213453e6cf78371360471ac4d110602aafecd9f3, since now that labels could capture
focus if link_aware was true - which it always was for most labels - labels in toggle panels would always
grab mouse_motion events and no longer allow their parent toggle panels to gain their hovered states. That
appears to be in keeping with the design of GUI2, and a further evaluation of that issue is needed at a later
time. However, the fact remains that almost every single label was marked as link-aware, even when in almost every
case that was not the desired behavior.

This change move the link_aware config option to individual label and scroll_label instances. The following uses
had this explicitly enabled:

- Addon license prompt
- Addon descriptions
- Campaign descriptions
- The Server Info popup
- The chatbox
2020-12-12 03:03:09 +11:00
nemaara
32c803017a TSG S5: reduce difficulty 2020-12-11 03:42:01 -05:00
nemaara
0059c67edf TSG S6a: reduce difficulty 2020-12-11 03:39:53 -05:00
nemaara
6d8b14855e TSG: reduce bandit branch difficulty 2020-12-11 03:38:05 -05:00
Steve Cotton
68eeb39e97 EI S03: Fix the chance-to-hit on the initial Dark Adept
The map was changed to use ruined castles in 1.14.12 (fb6d79c8) and 1.15.3
(704fa2ef), but the .cfg file was missed.
2020-12-10 11:36:51 +01:00
Iris Morelle
f49cb62c7c gui2/addon_license_prompt: Fix missing translation mark 2020-12-10 04:34:22 -03:00
Iris Morelle
4fa0ac6357 gui2/addon_license_prompt: Revert caption to just "Terms" 2020-12-10 04:31:02 -03:00
Iris Morelle
8c3918197c gui/addon_manager: Add dedicated license prompt dialog
This allows using full markup for the license text and making it
independently scrollable without messing up the dialog. It also enables
URL parsing in it.
2020-12-10 00:15:17 -03:00
newfrenchy83
70e4f7bb7e
Move documentation outside some macros
Fixes #5347
2020-12-07 22:26:06 -06:00
Elvish_Hunter
ab95662720 wmllint: warn about shroud terrain in map files
Just like _f (fog), _s (shroud) is allowed only inside mask files
2020-12-06 11:23:13 +01:00
Elvish_Hunter
5eadebeb3a wmllint: added four tags to the allowed children of [if]
They are [true], [false], [found_item] and [proceed_to_next_scenario]
2020-12-06 11:23:12 +01:00
Elvish_Hunter
7babdf3cec wmllint: added [elseif] and [wml_message] to the tags allowed inside [part] 2020-12-06 11:23:12 +01:00
Elvish_Hunter
351f7cafcc wmllint: added support for custom conditional tags with magic comments 2020-12-05 11:03:40 +01:00
Elvish_Hunter
785bd018e6 wmllint: prevent a crash if CLEAR_VARIABLE and its arguments aren't on the same line 2020-12-03 21:33:49 +01:00
Elvish_Hunter
845887dfa6 wmllint: prevent a crash if an [attack] tag without the corresponding [/attack] is found 2020-12-03 21:12:21 +01:00
Elvish_Hunter
a5207027fe wmllint: don't quit when finding a mask= key not referencing a .mask file
Fixes #5324
2020-12-03 21:01:15 +01:00
Elvish_Hunter
5e4ba6c01b wmllint: fix a crash if advances_to= is placed before id= in [unit_type]
This was supposed to be a part of the fix for #4102, but for some reason it never got committed.
2020-12-03 20:55:12 +01:00
mattsc
bf3cdeb179 AToTB S2: fix AI bug when Muff Toras has no move
This was caused by a change in the return value of ai_helper.find_best_move() when no move is found.

Fixes #5316
2020-12-02 17:35:26 -08:00
Severin Glöckner
a7320744d0 NR S2: weaken fallback events
One of them seems to be triggered occasionally
2020-12-03 01:18:41 +01:00
Severin Glöckner
7c4ce9dd0f NR: remove unused images
belonged to the alternative story branch
2020-12-02 16:19:48 +01:00
Severin Glöckner
d4e06c83e2 DiD: remove accidentally commited file 2020-12-02 16:15:04 +01:00
Severin Glöckner
db28a8657b DiD S9: increase health
Bats deal 3 damage.
Malin heals also 3 damage if he hits (unless the enemy has less than 6 health)
With 28 hp, Malin can take 9 more hits than he does,
compared to 6 previously on hard (and 8 previously on normal)

closes #5296
2020-12-02 14:10:21 +01:00
Pentarctagon
62aa0b252f
Run wmlindent. 2020-11-30 16:10:28 -06:00
Celtic Minstrel
9c102a64c6
Fix OBJECTIVE_FOOTNOTE 2020-11-30 13:41:09 -05:00
Severin Glöckner
0996a95c48 DiD S9: small fixes
Some units can be cut of in the 2nd round. That's not a problem, but with a
good portion of bad luck it could happen to MKBones, making the scenario
unwinnable. That's handled by map adjustments.

Also increasing HP by 3 for the lich start, might even be more.
Discussion in #5296
2020-11-30 03:32:04 +01:00
Severin Glöckner
e0b39e5dd2 DiD S9: simplify terrain matching codes
Uu^* matches Uu too
2020-11-30 03:32:00 +01:00