sfan5
36b5374715
Simplify HUD handling in Player class
2025-08-19 17:34:22 +02:00
sfan5
fd3588d49c
Give more infos to on_timer() callback
...
closes #15817
2025-08-14 12:33:35 +02:00
Lucas OH
93dd22b901
Clean up unused Forward Declarations ( #16324 )
2025-08-02 10:07:45 +02:00
sfan5
3cb8ce69d2
Minor cleanups and logging changes
2025-07-16 11:42:54 +02:00
sfan5
0eabc252b8
Relax path_user sandbox access in mainmenu
...
fixes #16302
2025-07-16 11:42:54 +02:00
Lars Müller
23bf50a07c
Document & extend testing for rotation conventions ( #16200 )
...
* Document Luanti rotation conventions
* Add test for setPitchYawRollRad (entity) rotation conventions
* Test and document that `vector.rotate` uses (extrinsic) Z-X-Y rotation order
2025-07-13 17:11:12 +02:00
Lars Mueller
37f922b500
Improve some deprecation warnings
2025-07-12 13:23:49 +02:00
Lars Mueller
8e03e94ea9
Improve script_log_add_source: Log full path for files
2025-07-12 13:23:49 +02:00
Lucas OH
ce2380b58e
Include header files in CMake sources ( #16297 )
2025-07-12 13:23:35 +02:00
sfence
4f42b4308c
Add persistent unique identifiers for objects ( #14135 )
2025-07-09 10:40:26 +02:00
sfan5
fd0ca20ce9
Add core.get_mapgen_chunksize() ( #16289 )
2025-06-29 17:19:40 +02:00
SmallJoker
fdc149f316
Formspec: Show a player inventory using core.show_formspec ( #15963 )
...
'core.show_formspec' now shows and updates the inventory formspec as if
it was opened using the hotkey on client-side.
2025-06-22 22:06:47 +02:00
sfan5
aa1bab2156
Implement API to create empty VoxelManip
2025-05-30 13:03:21 +02:00
sfan5
e03957ec0c
Add VoxelManip:close() for explicit free
2025-05-30 13:03:21 +02:00
sfan5
9ce9d7f433
Extend check for lingering clinets
2025-05-30 13:02:24 +02:00
sfan5
5c2599315c
Change nil-component error to deprecation warning
2025-05-28 13:29:30 +02:00
sfan5
6ca9d75f0b
Reject NaN and Inf in check_v3d() too
...
check_v2f() was already doing this
2025-05-28 13:29:30 +02:00
sfan5
a5263dc7ed
Do not allow vector components to be nil
2025-05-28 13:29:30 +02:00
sfan5
452160cd00
Clean up read_tiledef and related parts a bit
2025-05-24 22:49:04 +02:00
y5nw
57c1ab905c
Migrate existing keycode-based keybindings ( #16049 )
...
Co-authored-by: grorp <gregor.parzefall@posteo.de>
Co-authored-by: sfan5 <sfan5@live.de>
2025-05-14 22:15:15 +02:00
Lars Mueller
747857bffa
Implement helpful __tostring
for all userdata-based classes
2025-05-04 16:32:17 +02:00
z-op
c5abecbd3c
Improve log messages for core.clear_craft
2025-05-02 21:27:31 +02:00
Lars Müller
d96f5e1c76
MetaDataRef: Make set_float
preserve numbers exactly ( #16090 )
2025-05-02 21:27:00 +02:00
sfan5
893a74f9d7
Support HEAD and PATCH methods in http api
2025-05-01 10:46:24 +02:00
SmallJoker
d6d045aad4
Script: avoid fatal error in deprecated func handler
2025-04-23 21:41:18 +02:00
Desour
4a8f84b259
Mainmenu: Move core.on_before_close to s_mainmenu like other callbacks, and doc
2025-04-23 09:31:06 +02:00
Lars Mueller
1c5776d13a
FATAL_ERROR
for orphan object refs in objectrefGetOrCreate
2025-04-20 20:49:10 +02:00
Lars Mueller
e1143783e5
Fix some (MSVC) compiler warnings
2025-04-20 20:49:10 +02:00
y5nw
23bfb2db72
Move keybinding settings to (Lua-based) setting menu ( #15791 )
2025-04-20 20:20:49 +02:00
y5nw
bf15036831
Show SDL version in the About tab ( #16046 )
2025-04-20 20:20:22 +02:00
sfan5
bdaabad53c
Warn if async engine seems stuck ( #16010 )
2025-04-14 17:18:33 +02:00
Erich Schubert
78293404c7
Rename perlin noise to value noise ( #15858 )
2025-04-10 14:39:40 +02:00
sfan5
9d81c02f27
Add/remove/change some log messages for clarity
2025-04-10 14:39:21 +02:00
Lars Müller
7689f1f0fd
Improve some warning messages ( #15990 )
2025-04-08 22:24:00 +02:00
grorp
c30c94dfaa
Add server/client annotations to settingtypes.txt and make use of them ( #15756 )
2025-04-01 07:55:47 -04:00
JosiahWI
8fc7bf2af4
Fix core.get_content_info
docs and harden implementation ( #15925 )
2025-03-26 19:03:53 +01:00
grorp
b99f90ed80
Mainmenu: Trim whitespace from player name, address, port
2025-03-26 18:31:44 +01:00
JosiahWI
4125ce877d
Do not discover mod directories that fail parsing ( #15917 )
...
The root issue of the unit test failure is that all directories that are found in the mod search are counted as mods, even if they are detected to be invalid as such by the parser. For example, the presence of an init.lua file is required, and the parser will return false if one is not found. This return value was completely ignored. Simply counting the mod conditionally on the parsing success makes the modserver tests pass on MSVC.
2025-03-19 18:43:19 +01:00
cx384
18ac8b20fa
Replace object visual by enum ( #15681 )
2025-03-06 21:02:11 +01:00
sfan5
7892541383
Various random code cleanups
2025-03-04 19:53:01 +01:00
sfan5
47c000a293
Add unittest that lints builtin JSON files
2025-03-04 19:53:01 +01:00
Joshua Gerrish
8d822d8231
Fix compile error with MSVC: string is not a member of std
2025-03-01 12:26:33 +01:00
sfan5
27bbe3a873
CAO 'node' visual ( #15683 )
2025-02-22 16:19:04 +01:00
Andrii Nemchenko
e51221d247
Implement metadata-aware version of InvRef:remove_item() ( #15771 )
2025-02-22 16:18:48 +01:00
sfan5
ba62808fe8
Basic camera control API ( #15796 )
2025-02-19 18:45:45 +01:00
ROllerozxa
dd0070a6b8
Expose client version information in non-debug builds ( #15708 )
...
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
2025-02-09 18:09:07 +01:00
SmallJoker
8caf922df6
InvRef: deduplicate code
2025-02-02 19:05:09 +01:00
SmallJoker
5419345dff
PauseMenuScripting: resolve absolute 'builtin' path before substring check ( #15720 )
...
In 99% of the cases, this behaviour is identical to before.
With this commit, it is again possible to have 'builtin' a symlink that e.g.
points to the engine source directory, which is helpful for development purposes.
2025-02-02 19:04:50 +01:00
wrrrzr
f17498b049
Delete irrlichttypes_extrabloated.h ( #15723 )
...
Co-authored-by: cx384 <cx384@proton.me>
2025-02-01 13:41:51 +01:00
cx384
e9826f7819
Move EnumString to separate file and add enum_to_string ( #15714 )
2025-01-26 19:17:14 +01:00