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
Charles Dang
1d9f57a668
Config: more structured bindings for attribute_range
2024-09-27 03:22:35 -04:00
Charles Dang
95c9f0c720
Config: use structured bindings with all_children_range ( #9387 )
2024-09-27 02:49:57 -04:00
Subhraman Sarkar
5913cfdf55
remove unnecessary std::ref(window)
2024-09-27 06:04:57 +05:30
Subhraman Sarkar
f5906d6224
remove find_widget.hpp
2024-09-27 06:04:57 +05:30
Subhraman Sarkar
298065e1bd
remove window param from pre/post_show
2024-09-27 06:04:57 +05:30
Subhraman Sarkar
c7d9c0f5b0
find widget signature changes
2024-09-27 06:04:57 +05:30
Severin Glöckner
43e1d183e5
fix in German translation
...
[ci skip]
2024-09-26 02:28:04 +02:00
newfrenchy83
291e4bb0e5
update codeblock projectfiles
2024-09-24 14:39:39 +02:00
Soliton
2f8d471e80
Remove any_tag for a more useful schema validation
2024-09-24 08:58:11 +02:00
Subhraman Sarkar
32c528501f
help browser: remove unnecessary lines
...
cleans up some print statements and comments out code
2024-09-24 12:23:03 +05:30
spixi
0e326894cb
Add missing [then] from 6f15150
2024-09-24 08:35:30 +02:00
Charles Dang
1261d88b15
Removed a bunch of unused GUI1 stuff ( #9375 )
...
Don't need these now that the GUI2 help browser is merged.
2024-09-23 23:54:47 -04:00
Celtic Minstrel
53cb294b4e
Use unicode_cast instead of wstring_convert
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
ca7fad97c6
rich label: increase padding
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
1436f4f69b
help topic generator: complete movement costs table
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
cfe4924b5e
canvas: remove unnecessary variables and attr["name"] -> name
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
ee82b0ec10
rich label: refactor and framework for width shrinking
2024-09-23 19:49:44 -04: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