Wedge009
ca8a0aede8
Typography update. Closes #8000 .
...
[ci skip]
2024-10-06 09:13:10 +11:00
Charles Dang
32e1bdb2e6
Help/Editor: shorten very long topic title
2024-10-05 15:19:52 -04:00
Charles Dang
ad736266c1
GUI2/Widget: add const overload of get_parent_grid
2024-10-05 15:19:20 -04:00
Charles Dang
2931816979
GUI2/Tree View Node: make use of emplace_back returning a reference
2024-10-05 15:18:48 -04:00
Charles Dang
9dc4a94533
Pango Text: avoid max short constant
2024-10-05 15:17:10 -04:00
Charles Dang
0fa0019127
Hide Load Turn button in MP ( resolves #9308 , closes #9428 )
2024-10-05 15:12:30 -04:00
Nils Kneuper
d84669c8a8
updated Japanese translation
2024-10-05 15:07:31 +02:00
Nils Kneuper
58bc7ba4af
updated Bengali translation
2024-10-05 15:06:48 +02:00
Subhraman Sarkar
ea3698665f
rich label: fix wrong text splitting for pixel scale > 1
2024-10-05 15:57:06 +05:30
Charles Dang
736e45a197
Remove all occurrences of box=yes in editor help markup
...
Was non-functional anyway
2024-10-05 00:57:26 -04:00
Charles Dang
8079807146
Fixed broken table markup in Editor Palette topic
2024-10-05 00:55:23 -04:00
Charles Dang
2dd27fcf8e
Help: fix unit type pages not showing up due to overscaling
2024-10-04 20:26:58 -04:00
Charles Dang
eccce783a9
GUI2/Help Browser: layout improvements
2024-10-04 20:26:23 -04:00
Charles Dang
57bd39d4a5
GUI2/Rich Label: minor cleanup ( #9426 )
2024-10-04 19:53:28 -04:00
OrekOrek
d9bb46ce37
Units are defined without [base_unit] tag ( #9413 )
...
Dark Horse, White Horse, Sand Scamperer, and Sand Scuttler are now defined without [base_unit] tag.
2024-10-04 17:30:19 -05:00
Gothyoba
1597fd0248
Typo fixes in EI _main.cfg
2024-10-04 08:57:54 -04:00
Gothyoba
fa3d421a85
Remove unused lua in THoT
2024-10-04 15:59:29 +10:00
Charles Dang
b1105e2c2f
Config: add range-based access over child tags
...
This is meant as a lightweight replacement for all_children_range in cases where the iterator doesn't need to be stored (most cases). It has several advantages:
First, it avoids the custom iterator classes, making the code easier to read. It also means it should be composable with STL ranges in C++20. Further, you no longer get a mutable reference on a const config. Finally, it means intellisense can properly display the key/cfg types in a structured binding. When unpacking `config::any_child`, for some reason it shows up as a key/value copy instead of reference...
2024-10-03 23:40:41 -04:00
Charles Dang
61ac2e3f3f
Config: fix value ctor not compiling with const config references
2024-10-03 23:40:41 -04:00
Charles Dang
187f10ea84
Config: added assignment to string&&
2024-10-03 23:40:41 -04:00
Dalas121
e7509c5dba
EI S14 "Drowned Plains" - rework scenario objective ( #9411 )
...
Change the EI S14 objective from "kill enemy leaders" to "gather gold". Reduce turn limit from 75 to 25.
2024-10-03 22:26:08 -05:00
Tóth Kornél
08c666156b
Action wml unit better error ( #9402 )
...
* Better error message for ActionWML [unit]
---------
Co-authored-by: SomeName42 <>
Co-authored-by: Gunter Labes <soliton@wesnoth.org>
2024-10-03 13:59:00 -05:00
Celtic Minstrel
4062f579e3
Fix #9360
2024-10-02 09:05:24 -04:00
Dalas121
2bec13a825
EI: update Dacyn arcane resistance to be consistent with the arcane rework ( #9412 )
...
* Twilight Mage: set arcane resist to 20%
* Fallen Mage: set arcane resist to -20%
2024-10-02 07:43:39 -05:00
Subhraman Sarkar
8267bc3d16
rich label: use columns instead of col_idx for last col width calculation
2024-10-02 10:41:19 +05:30
Gothyoba
1008296863
Change UtBS date from 300 to 1000 AF
...
This makes a lot more sense given how forgotten everything before the fall is by the time of UtBS. 300 AF is small enough for a few elves to remember the times before. 1000 AF is more sensible in my opinion.
2024-10-01 19:17:44 -04:00
Pentarctagon
ede10ca10c
slows tests ( #9401 )
2024-10-01 17:54:36 -05:00
Subhraman Sarkar
d2f6b171c0
help: fix misalignment in Unknown Unit page
2024-10-01 21:37:40 +05:30
Subhraman Sarkar
5e50ab2bf1
rich label: remove leftover debug_print
2024-10-01 12:54:47 +05:30
Subhraman Sarkar
a7420b80ea
various rich label bugfixes
2024-10-01 12:39:34 +05:30
ForestDragon
d0688865ff
[Units][Skeletal Dragon] Adjust stats to be closer to 1.18 ( #9403 )
...
Skeletal Dragon saw very major buffs in #8541 , which causes some concern about rebalancing and UMC. This reduces their stats closer to 1.18, though still moderately stronger.
2024-09-30 13:10:52 -05:00
Gothyoba
25718875f0
Fix a comment typo in THoT S6
2024-09-30 13:36:12 -04:00
Charles Dang
ea1d915c26
Display: remove scroll_to_tiles overload taking iterators
...
Was only used in two places, one of which was as the implementation of the version that took a vector. All the same arguments were accepted by both. Also use list initialization for the other overloads.
2024-09-30 02:39:31 -04:00
Charles Dang
bc971b45c9
Display: simplify get_middle_location
2024-09-30 02:36:06 -04:00
Charles Dang
17361198fe
Display: use rect instead of SDL_Rect consistently
2024-09-30 02:34:48 -04:00
Charles Dang
07df161c96
Display: simplify tile_fully_on_screen
...
outside_area checks that the point is within the given rect reduced by hex_size(). Since that's the size of a location rect, the adjustment meant that a hex can't protrude outside the map area. This simplifies the logic using rect math instead of point math.
2024-09-30 02:32:15 -04:00
pentarctagon
d4e7f5bc43
remove unsigned_matches_if_present
2024-09-29 23:19:39 -05:00
pentarctagon
d278ae9c5f
poison ability tests
2024-09-29 22:15:47 -05:00
Gunter Labes
9c665ae3c4
Use completion token overload to fix compile issues with boost 1.86
...
Keep behavior of previous (now deprecated) overload by rethrowing exceptions.
Fixes #9284 .
2024-09-29 19:30:56 +02:00
Subhraman Sarkar
961a6a5802
fix problematic find_widget usage and slightly rewrite the logic ( #9388 )
2024-09-28 12:43:34 -04:00
newfrenchy83
68a1d1139f
add documentation for explain why presence of cfg attribute isnecessary in some case.
2024-09-27 22:24:03 -05:00
newfrenchy83
cea9b82863
filter attribute integrates the tag_name check to verify that the attribute sought can be used there.
...
reuse partially 1493faeaee
but don't remove check cfg. Thanks to @Pentarctagon
if for example the ability filter searches for the value of 'active_on' in an ability 'leadership' then the false value will be returned because active_on is not an attribute usable in [leadership]
on the other hand if the ability is of type 'dummy' its encoding remaining at the discretion of the UMC developer, the checking can be done normally
2024-09-27 22:24:03 -05:00
newfrenchy83
66103e4d4e
reorganize attribute of [experimental_ability_filter] and add documentation.
...
resolve https://github.com/wesnoth/wesnoth/issues/7992 issue
2024-09-27 22:24:03 -05:00
Nils Kneuper
4870ff66bd
updated Chinese (Simplified) translation
2024-09-28 00:58:36 +02:00
pentarctagon
d20128530a
fix clang warning for signed unsigned comparison
2024-09-27 13:20:08 -05:00
Charles Dang
1d5d73b75a
Language: remove excessive logging
2024-09-27 12:35:24 -04:00
Charles Dang
67335a514d
Unit: don't return const values
2024-09-27 12:34:19 -04:00
Charles Dang
a832ed8b2e
Continue putting display::get_location_rect to good use
2024-09-27 12:23:02 -04:00
Steve Cotton
3e464cb856
The NOT_DANGLING specifier should be before the const attribute
...
Fixes a warning with GCC-14.
2024-09-27 10:38:14 -04:00
pentarctagon
82c7b4c7eb
use the correct editor dir location
...
fixes issue brought up on the forums: https://forums.wesnoth.org/viewtopic.php?t=58725
2024-09-27 08:41:54 -05:00