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
a5263dc7ed
Do not allow vector components to be nil
2025-05-28 13:29:30 +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
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
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
sfan5
7892541383
Various random code cleanups
2025-03-04 19:53:01 +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
wrrrzr
f17498b049
Delete irrlichttypes_extrabloated.h ( #15723 )
...
Co-authored-by: cx384 <cx384@proton.me>
2025-02-01 13:41:51 +01:00
Erich Schubert
bee541f378
Lua get_biome_data: calc heat and humidity only once ( #15715 )
2025-01-26 19:17:02 +01:00
sfan5
a99e985674
Centralize arbitrary area volume limit and raise it ( #15696 )
2025-01-23 12:18:20 +01:00
SFENCE
af3f696423
Code style fixes.
2025-01-21 16:29:12 +01:00
grorp
eeb6cab4c4
In-game settings menu using separate Lua environment ( #15614 )
2025-01-19 13:07:04 -05:00
wozrer
a1b8d20f18
Rename getMapSettingNoiseParams to getNoiseParams
2025-01-02 14:59:19 +01:00
DS
bcbee873e8
Use openssl's sha1 and sha256, optionally ( #15472 )
2024-12-10 22:00:43 +01:00
SmallJoker
50928b9759
Mapgen: Add rudimentary unittests
2024-12-08 20:27:33 +01:00
cx384
c7fe2ee5c9
Add core.spawn_tree_on_vmanip
( #15415 )
...
This function works like `core.spawn_tree`, but spawns an L-system tree onto a VoxelManip object instead on the map.
2024-12-08 20:27:22 +01:00
AFCMS
e545e96d2b
Make string to v3f parsing consistent, replace core.setting_get_pos()
by core.settings:get_pos()
( #15438 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2024-12-04 18:19:46 +01:00
Lars Müller
b77ad82fb9
Sanitize invalid particle spawner time ( #15465 )
2024-11-24 19:23:53 +01:00
grorp
6a1d22b2c5
Implement an editor to customize the touchscreen controls ( #14933 )
...
- The editor is accessible via the pause menu and the settings menu.
- Buttons can be moved via drag & drop.
- Buttons can be added/removed. The grid menu added by #14918 is used to show
all buttons not included in the layout.
- Custom layouts are responsive and adapt to changed screen size / DPI /
hud_scaling.
- The layout is saved as JSON in the "touch_layout" setting.
2024-11-24 11:33:39 +01:00
Lars Müller
138052adfc
Add particle blend mode "clip" ( #15444 )
...
This lets modders avoid alpha blending rendering bugs as well as potential (future) performance issues.
The appropriate blend modes are also used for node dig particles.
---------
Co-authored-by: sfan5 <sfan5@live.de>
2024-11-19 13:30:17 +01:00
sfan5
f493e73aeb
Fix changing secure settings from mainmenu
...
forgotten in ea4ae55e24
closes #15454
2024-11-18 23:58:42 +01:00
cx384
d4378a74d3
Fix register_ore ore_type error handling
2024-11-15 11:37:17 +01:00
sfan5
ea4ae55e24
Implement script sandboxing for main menu
2024-11-13 14:22:41 +01:00
sfan5
1fd4e0b82d
Refactor ScriptApiSecurity for cleaner separation of concerns
2024-11-13 14:22:41 +01:00
Erich Schubert
4c44942a39
Add weights to biomes ( #15142 )
2024-11-12 10:53:17 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
grorp
9f43018df2
Better UX when touch events aren't supported by Irrlicht device ( #15288 )
2024-10-16 21:37:00 +02:00
sfan5
b61c83a19d
Move some more sources to shared target
2024-10-16 19:39:59 +02:00
sfan5
37095f3e49
Change the preprocessor macro that differs server/client builds
2024-10-16 19:39:59 +02:00
Lars Mueller
e2ea359925
JSON: Support consistent larger max. depth of 1024
2024-10-15 12:19:49 +02:00
Lars Mueller
4c419c4020
Improve minetest.parse_json
...
Let modders handle parsing errors, get rid of two unnecessary copies.
2024-10-15 12:19:49 +02:00
sfan5
d95e916a42
Defer to read_from_map in VoxelManip ctor
...
concrete problem: the getEmergeThread safety check was missing there
2024-10-12 22:37:17 +02:00