Celtic Minstrel
db48a98f12
LuaDoc: Document the new WFL function table
2024-10-02 22:17:49 -04:00
Celtic Minstrel
cf5e2b1d2c
Functions defined in WFL can now access the function table they are defined in as a Lua global variable
2024-09-29 13:40:29 -04:00
Celtic Minstrel
141c26d955
WFL functions defined in Lua only get access to a subset of the library
2024-09-29 13:40:29 -04:00
Celtic Minstrel
731b4eba0f
WFL functions can now be defined in Lua
2024-09-29 13:40:29 -04: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
Subhraman Sarkar
aa3006c883
miscellaneous fixes
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
db5ea45ffb
improve inline image support and autocount table columns
...
tables columns are automatically counted and col key is removed
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
a1dbcdc9f5
inline image text support
...
some extra y space is still getting added somewhere
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
f611188cd4
help_impl.cpp cleanup
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
069a0c659d
rich_label: move attributes to ctor
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
dc68d261ca
improve nested formatting tag support
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
449689a37c
more refactoring and rudimentary nested formatting tags
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
9e891fbd78
refactor: remove some global variables and simplify add_image
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
9c46869585
remove "jump" and table-specific "br" behavior
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
f1bc261c62
nested table tag improvements and global var removal
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
6a1de922bd
nested table tag (preliminary)
...
new syntax:
<table><row><col>text</col>...</row><row>...</row>...</table>
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
3c4dd9628b
typo fix
2024-09-23 19:49:44 -04:00
Subhraman Sarkar
beaba772cc
tree view: stop scrollbar from jumping to top during layout
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