Commit graph

29838 commits

Author SHA1 Message Date
spixi
0e326894cb
Add missing [then] from 6f15150 2024-09-24 08:35:30 +02:00
Subhraman Sarkar
22677e57c7 wmlindent change 2024-09-23 19:49:44 -04:00
Celtic Minstrel
58ef02b74a Missed removing a col=2 from a table 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
6ec5af83df update help pages and generators 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
7fdf4848db updated help pages to use nested table tags 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
3c4dd9628b typo fix 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
2adab6593a improve link calculation with non-zero padding 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
e1c87a24a8 rich_label: allow width key to be a wfl formula 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
0b4611abb4 Fix scrollbar bug when not initialized with text, add link click sound 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
8ab6d2458a help browser: fix weird spacing and alignment issue in treeview
thanks to Vultraz for helping with the fix
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
470c3da79c update editor help pages to new markup 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
b46a04bc1f update markup in terrain editor pages 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
e6c36b914e update help markup in terrains page 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
76780d1fb0 update help markup in faction descriptions 2024-09-23 19:49:44 -04:00
Celtic Minstrel
586fbec882 Update GUI2 schema to match existing implementation of text attributes 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
5958ca209e reformat the ToD page and bugfixes
Although not perfect, this makes the page usable. Using the previous version leads to multiple complex bugs at this point.
also stops a y calculation bug in table.
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
e4bffc04ce improve manual linebreak functionality outside table
also reformats some broken pages with manual breaks
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
ce9d3bdc38 insert paragraph breaks correctly 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
72f1f0007c new definitions for label and new font size macros 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
21906c9bf4 help text adjustments to new markup (partial) 2024-09-23 19:49:44 -04:00
Subhraman Sarkar
78ca6f50a9 help browser changes
1. back/forward button functionality
2. some ui adjustments
3. use rich_label
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
f318ac0d11 various rich_label bugfixes 2024-09-23 19:49:44 -04:00
Charles Dang
ee82387c3d Some build fixups to reflect changes since the help commits were originally made 2024-09-23 19:49:44 -04:00
Charles Dang
1b20d04d07 Help Browser: removed help topic padding 2024-09-23 19:49:44 -04:00
Charles Dang
b3babea922 Help Browser: fixup topic title layout 2024-09-23 19:49:44 -04:00
Celtic Minstrel
ada7b50403 Help Browser: Show topic title 2024-09-23 19:49:44 -04:00
Charles Dang
6144b5e778 Help Browser: properly implement toggling by clicking the book icons 2024-09-23 19:49:44 -04:00
Charles Dang
28dd0f8a68 Help Browser: implemented viewing of sub-sections/topics 2024-09-23 19:49:44 -04:00
Charles Dang
b6079891a8 Help Browser: improved layout stability and added next/back buttons (non-functional, of course) 2024-09-23 19:49:44 -04:00
Celtic Minstrel
38bfb1838a Help Browser: Actually show the correct topics with the correct icons
This also fixes the lag when opening help and makes the topic text appear.
(The topic text is not parsed at the moment, though.)
2024-09-23 19:49:44 -04:00
newfrenchy83
feef53d4ab
Add an 'alignment' attribute to attacks
This attribute, when set to a valid value of lawful|neutral|chaotic|liminal, will assign to the weapon a different alignment than the unit alignment used by default. This alignment is then used when attacking with this weapon.

The attribute is not accessible from lua so far since the fallback to unit alignment does not work.
2024-09-23 17:11:46 +02:00
spixi
6f15150d99
DW S9: Improve event handling of undead and bats on the players' side
Add dialog for the cases of a bat or undead entering Caladon's house
that does not lead to victory to prevent the scenario from being too easy.
2024-09-22 18:36:57 +02:00
Jonathan-Kelly
a8d68165ec
UtBS: Cut duplicate stun weapon special remnants
Cut extra icon and lua code for 'stun' weapon special.
An identical copy was already moved to core by #7323 and stun in UtBS was removed long ago anyway.
2024-09-21 18:42:19 +02:00
Gothyoba
7bd657e2a5 Increased text size for UMC Author note in terrain elevation help page 2024-09-19 11:15:02 -04:00
Subhraman Sarkar
355ed849ee scroll_text: make components look more integrated 2024-09-18 23:01:46 -04:00
Subhraman Sarkar
54535fca3b scroll_text: markup and link awareness support
support for copying and partial editing only.
this does not make multiline_text a rich text editor.
2024-09-18 23:01:46 -04:00
Subhraman Sarkar
6023eb338c chatbox: use scroll_text so text can be copied 2024-09-18 23:01:46 -04:00
Charles Dang
1011c0f58a GUI2/Tab Container: clean up unnecessary grid 2024-09-18 20:13:32 -04:00
Charles Dang
3b07a7c76e MP/Method Selection: new design 2024-09-18 19:42:45 -04:00
Charles Dang
fc1409e2d1 MP/Staging, Join Game: improve sidebar layout 2024-09-18 16:09:07 -04:00
pentarctagon
ea8cdf9282 1.19.4+dev 2024-09-17 21:22:35 -05:00
pentarctagon
ff9c4461ae 1.19.4 2024-09-17 21:21:55 -05:00
pentarctagon
1ba012f05c pot-update and regenerate doc files 2024-09-17 21:20:42 -05:00
Jonathan-Kelly
c4610a0283 Tests of events in [abilities] and [specials] tags 2024-09-16 21:07:38 -04:00
Jonathan-Kelly
bddbf060a5 Support events in [abilities] and [specials] tags 2024-09-16 21:07:38 -04:00
Gothyoba
4cb3b8fd82 Use proper apostrophe to spell Shek’kahan 2024-09-17 06:51:40 +10:00
Celtic Minstrel
c7ad093ac5 Lua API: Avoid trying to iterate a userdata in location_set.of_pairs
Fixes #9345
2024-09-15 15:27:39 -04:00
Celtic Minstrel
ab022c09ae Lua API: Add unit:rebuild
Fixes #9314
2024-09-15 15:27:39 -04:00
Celtic Minstrel
6d8a17aa8d Lua API: Add mathx.lerp_index and wesnoth.game_config.palettes 2024-09-15 15:27:39 -04:00
Celtic Minstrel
fc86cb0b93 WFL: Add replace_all, starts_with, and ends_with string functions.
The latter two are also added to the Lua stringx module.
2024-09-15 15:27:39 -04:00