Commit graph

83861 commits

Author SHA1 Message Date
pentarctagon
2a243de31d ignore generated about.wiki 2024-05-26 15:01:24 -05:00
pentarctagon
94e216fb90 ignore generated macro-reference.html 2024-05-26 14:59:42 -05:00
Steve Cotton
7217f90039 Update changelog
Add entries for Git commits that are visible to players or UMC authors,
but which don't already have a file in the changelog_entries directory.
2024-05-26 14:52:39 -05:00
Jonathan-Kelly
e47a012623 Mudcrawlers better in swamp, worse in buildings
Resolves #8823
2024-05-26 12:17:25 -05:00
Jonathan-Kelly
c45d94e0f7
WoF S8: clarify objective notes (#8906) 2024-05-26 08:25:15 -04:00
newfrenchy83
9fc5887ae9 'value' attribute in [experimental_filter_ability(_active)] can have 'default' value 2024-05-26 13:48:45 +02:00
Nils Kneuper
6fe64d5cd7 updated Ukrainian translation 2024-05-26 11:44:28 +02:00
Nils Kneuper
013bad1093 updated French translation 2024-05-26 11:43:43 +02:00
white-haired-uncle
4b9c92a87f
set buttons inactive when irrelevant (#8920) 2024-05-26 03:31:28 -04:00
Subhraman Sarkar
bd36e29ffa
add changelog entries (#8922) 2024-05-26 11:29:37 +05:30
Subhraman Sarkar
da7e57422e
make sure bullets in about dialog use a font that has those character (#8921) 2024-05-26 11:29:07 +05:30
Steve Cotton
c2072f201d gui/language_selection: Rephrase text about becoming a translator
The link with details about individual compaigns is useful to players,
even if they aren't looking to become translators. So move it upwards.

The text about first-time players seemed confusing to me, as the choice
is already limited to languages that the player can read. Reworded it,
but after discussion in the PR, neither version was better than just
removing it.
2024-05-26 04:09:34 +02:00
Charles Dang
6c885c5db4 GUI2/Story Screen: only use area between images for Skip text 2024-05-25 02:45:42 -04:00
Charles Dang
7f814b1e7e GUI2/Game Load: don't flip the unknown unit image 2024-05-25 02:44:47 -04:00
Charles Dang
310919b464 Fixup b548e7348d 2024-05-25 02:44:26 -04:00
Charles Dang
fe71878bfc LoW S1: fixed typo in image path 2024-05-25 01:20:27 -04:00
Charles Dang
ebc3953e8b GUI2/Unit Create: increased list padding 2024-05-25 01:14:28 -04:00
Charles Dang
b548e7348d GUI2/Preferences: increased padding in hotkeys list 2024-05-25 01:14:15 -04:00
Charles Dang
91287d0fbf GUI2/Preferences: bumped max height slightly 2024-05-25 01:13:48 -04:00
Charles Dang
5e3a86f7ab GUI2/Game Load: refined design for the umpteenth time 2024-05-25 00:57:27 -04:00
Charles Dang
7e2a99dc20 GUI2/Listbox: enabled view-only mode
Currently for the vertical listbox only, since it does have some quirks. Removes the assert in the "show" policy checking if the callback is null. It won't be for the listbox, but doesn't really matter since it's not used.
2024-05-25 00:54:29 -04:00
Charles Dang
fb78528f2c GUI2/Story Viewer: fixed controls moving with long story sections 2024-05-25 00:48:20 -04:00
Charles Dang
4cb9df8e6c GUI2/Story Viewer: refine recent design updates, fix some layout issues 2024-05-25 00:26:11 -04:00
Charles Dang
9f1a92d71a GUI2/Widget: draw debug borders in the foreground 2024-05-24 21:25:14 -04:00
Charles Dang
d79fcdc065 GUI2/Widget: fixed long-standing debug border issue
Namely, it not working. At this point, the viewport had already been set to the local coordinates of the widget, so the draw origin needs to be 0,0, not the widget's position in screen space.
2024-05-24 21:24:22 -04:00
Charles Dang
ab3fc34f5c GUI2/Scroll Label: removed custom click handler
This was only added for the storyscreen, which can be handled instead by registering the click handle directly.
2024-05-24 21:20:20 -04:00
Charles Dang
8a0a1ac539 GUI2/Story Viewer: attached click handler directly to label 2024-05-24 21:17:48 -04:00
Dalas121
e2f893c2ea
EI S17b: fix Mal-Ravanal pausing to capture villages
Many turns into EI S17b, a pre-existing lich changes sides and transforms into Mal-Ravanal.

Before this commit, this process would un-capture any villages previously captured by that side, causing Mal-Ravanal to waste turns retaking them.
2024-05-24 20:15:44 -05:00
Dalas121
2027057689
EI S06b: weaken eastern leader guards on lower difficulty
To complete EI's S06b, the player must fight through a necromancer and his bodyguards. Prior to this commit, the necromancer's bodyguards did not vary by difficulty, making Easy disproportionately difficult.

Other leaders do not need to be fought directly to win. In addition, this is an optional mission labeled as more difficult. Therefore, I haven't adjusted other leaders' guards' difficulty scaling.

https://forums.wesnoth.org/viewtopic.php?t=57915
2024-05-24 20:12:12 -05:00
Dalas121
dbed8aa4e9
EI S04b: add objective note regarding herb distribution.
S04b's alternative objective involves collecting herbs that semi-randomly spawn around the map, hidden under fog. Herbs spawn in all directions, but the map layout and scenario design can lead players to expect herbs to all be in the east. This objective note clarifies herb placement.

https://forums.wesnoth.org/viewtopic.php?t=57915
2024-05-24 20:10:21 -05:00
Jonathan-Kelly
b3a8d02774
WoF: fix Lua type error with cast to number (#8773)
Lua was getting this variable without being told it is a number rather than a string. On some systems it is interpreted as a string which breaks this monster spawner code and throws Lua error messages onto the player's screen.
2024-05-24 13:30:01 -04:00
Jonathan-Kelly
a8194ee764
WoF S11: fix easy win AI exploit (#8774)
Fixes #8759
2024-05-24 13:12:19 -04:00
Subhraman Sarkar
9b38089db0
Story screen redesign (#8510) 2024-05-24 19:29:46 +05:30
Dalas121
2591899723
EI S09: add label to gold pile
EI's S09 has a small pile of gold some distance off the main path, visible through the shroud.

Without a label, players may over-commit units/upkeep to getting the gold without realizing it's only a small amount, and possibly worth skipping.
2024-05-22 17:21:12 -05:00
Dalas121
f539e70706
EI: remove random traits from S16 townsfolk (#8896)
Units with traits may sometimes have quick and may sometimes not have quick. This causes civilians to randomly block certain castle hexes that the player can use to recruit.

Remove traits to prevent this random blocking. Increase MP 4->5 to prevent 2 castle hexes from always being blocked.
2024-05-22 09:54:45 -05:00
pentarctagon
21d0e79cc3 preferences accessor cleanup
have external access to the preferences go through explicitly named accessors as much as possible rather than directly using get() and set(). also have the general preferences file directly use its `prefs` config.
2024-05-22 09:53:37 -05:00
pentarctagon
80d09b47c1 formatting
it's a pet peeve of mine, but the name of a type is ie "toggle_button*" aka toggle_button pointer. the asterisk or ampersand is part of the type and should be separated.
2024-05-22 09:53:37 -05:00
pentarctagon
962e0c35ac CI update 2024-05-22 09:53:21 -05:00
pentarctagon
2bc0ff1b1c sort the full list of files by name 2024-05-22 09:53:21 -05:00
pentarctagon
b30e6b2658 print files/rows that have issues 2024-05-22 09:53:21 -05:00
pentarctagon
f9f67eb6e1 write updates back to same file 2024-05-22 09:53:21 -05:00
Dalas121
7fde3f5ab6
EI: simplify S16 achievement (#8897)
The current S16 achievement requires that the player don't recall any units or have any items.

Some items are undroppable, which can make this achievement impossible if you give one to a loyal auto-recalled unit early in the campaign.

This PR alters the achievement to only care about droppable items.
2024-05-22 09:51:02 -05:00
Earth-Cake
b772c241e2 liberty generals name achievement fix for dawn 2024-05-21 23:21:37 -05:00
Dalas121
da47ecf25d
EI: Prevent Dacyn from using the Plague Staff (#8892)
Fixes #8885
2024-05-21 11:14:44 -05:00
Wedge009
73cc52b506 wmlxgettext: Remove unused WmlDefineState class disabled-as-comment/string and resolve #8867 (Python 3.12 highlighting invalid escape sequence in string with SyntaxError). 2024-05-21 14:55:09 +02:00
newfrenchy83
3d097f2950 add [filter_wml] to filter abilities like [experimental_filter_ability], [experimental_filter_ability_active] or [overwrite][experimental_filter_specials]
adding a sub-filter should make it possible to take into account the sub_tags of the abilities in the checking
2024-05-21 14:54:44 +02:00
Toom
9e08a78bf5
Reject [terrain] with unknown terrain type 2024-05-21 11:34:41 +02:00
Subhraman Sarkar
e262954c13
correctly open the initial tab (#8889) 2024-05-21 14:02:04 +05:30
Subhraman Sarkar
92d66554dd
UI : About dialog (#8803)
* Redesigned the version dialog to serve as a general purpose About dialog.

* Credits button removed from title screen

* Moved community dialog contents to about dialog as new tab

Co-Authored-By: Pentarctagon

* Bugfixes to the tab_container widget

* Success indication mechanism on copy buttons
2024-05-21 09:43:32 +05:30
Celtic Minstrel
8d5ca809f4 [Lua] Update obsolete location functions in ai_helper to return a proper named tuple and access locations as x,y instead of [1],[2] 2024-05-19 12:54:35 -04:00