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
3aa6993a32
Help: That parameter isn't really needed
2024-09-23 19:49:44 -04:00
Celtic Minstrel
63ad2f4875
Help Viewer: Show topics with generated text
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
pentarctagon
815e3fe90b
add clang-tidy
2024-09-23 17:44:02 -05:00
Pentarctagon
bd8322a40b
add code documentation for the tokenizer ( #9354 )
...
Also clean up/simplify the code a bit.
2024-09-23 13:29:43 -05: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
Charles Dang
363241faf9
GUI2/Tab Container: set members from builder
2024-09-23 10:02:32 -04:00
Charles Dang
12d4a11959
Halo: simplify effect::set_location
2024-09-23 10:01:47 -04:00
Charles Dang
09e7ed97e8
Further deploy display::get_location_rect
2024-09-23 09:55:53 -04:00
Charles Dang
85309bd93c
Display: simplify add_overlay interface ( #9371 )
...
Instead of passing all the arguments for an overlay to display::add_overlay, just take an rvalue-reference to an existing overlay object.
The overlay ctor was adjusted. It no longer takes a halo::handle argument, and the display class sets that manually.
2024-09-23 01:47:42 -04:00
Nils Kneuper
8a35469a05
updated Italian translation
2024-09-22 20:10:16 +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
Charles Dang
fe7d94a2f2
Don't manually specify default predicate for config::remove_children
2024-09-21 11:51:28 -04:00
Charles Dang
0664724c99
Editor/Context: don't copy config in lambda...
2024-09-21 11:47:36 -04:00
pentarctagon
615855ebb5
fixup indentation
2024-09-21 10:38:24 -05:00
Nils Kneuper
6836af62a6
updated British English translation
2024-09-21 00:05:23 +02:00
Nils Kneuper
d5d1820286
updated Finnish translation
2024-09-21 00:04:28 +02:00
Nils Kneuper
c7baa6025c
updated Turkish translation
2024-09-21 00:03:27 +02:00
Charles Dang
7380885226
Display: add get_location_rect
2024-09-19 15:03:22 -04: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
b6dead682b
clipboard: remove redundant methods
2024-09-18 23:01:46 -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
Subhraman Sarkar
a682adb264
text_renderer: markup support in insert_text and some refactoring
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
05f4e21951
Display: clean up the FPS counter implementation
...
* Makes it more type-safe by using chrono types more directly.
* Fixes a few design issues, such as the current time point being taken multiple times when updating the data.
* Fixes min and max FPS times being swapped
* Improved display
2024-09-18 18:15:22 -04:00
Charles Dang
fc1409e2d1
MP/Staging, Join Game: improve sidebar layout
2024-09-18 16:09:07 -04:00
Charles Dang
02cbdc83aa
GUI2/Tree View Node: doc typo fixes
2024-09-18 16:08:13 -04:00
Charles Dang
1803cb6d54
Config: fold over one-liner packs
2024-09-18 15:42:21 -04:00
Charles Dang
4d086b6db4
Config: attempt to reenable append_children optimization
2024-09-18 15:42:21 -04:00
Charles Dang
a52c5e133a
Game Lua Kernel: simplify a horrendous loop
...
This can't be done in a simple loop over all_children_range since splice_children modifies
the source config. This adds a new getter method for a view over all tag names.
2024-09-18 15:42:21 -04:00
Charles Dang
39729290df
GUI2: optimize create_widget_builder
...
No need for all this config searching... there's only one tag!
2024-09-18 15:42:21 -04:00
Charles Dang
5f31a5b2fd
Game Lua Kernel: simplify dummy AI stage cleanup
2024-09-18 15:42:21 -04:00
Charles Dang
97d61649f0
Game Events/Handler: initialize all members
2024-09-18 15:42:21 -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
pentarctagon
4c8dc3d8f3
changelog_entries
2024-09-17 21:18:23 -05:00
Celtic Minstrel
14df301b7f
Wrap all LATTR_[GS]ETTER macros in anonymous namespaces
...
Without this, seemingly random link errors occur when either file is modified.
2024-09-16 23:20:50 -04: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
Gunter Labes
fb42d4b5ac
Don't redirect --usercache-path
2024-09-16 22:56:13 +02:00
Gunter Labes
47aac28db1
Correct error message
2024-09-16 22:56:13 +02:00
Gunter Labes
41f37021bd
Fix formatting issues
2024-09-16 22:56:13 +02:00
Gothyoba
4cb3b8fd82
Use proper apostrophe to spell Shek’kahan
2024-09-17 06:51:40 +10:00
Celtic Minstrel
711b77b7e2
Lua API: Add __dir metamethod to wesnoth.terrain_types
2024-09-15 15:27:39 -04:00