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
sfan5
294a30e445
Fix ScriptApiSecurity::checkPath mangling non-existent paths
...
bug introduced in 1c1c97cbd1
2024-11-03 19:27:08 +01:00
SmallJoker
c884e7181f
JsonCPP: restore '1.0.0+' compatibility ( #15368 )
...
Previously, compiling on Ubuntu 20.04 would fail with the system-provided JsonCPP
version (1.7.4). Which would satisfy the documented requirement of "1.0.0+".
2024-11-03 15:10:39 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
Nathanaëlle Courant
806fba6448
Fix missing rename
2024-10-28 11:02:59 +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
cbc741f464
Various improvements to push_json_value
2024-10-13 10:57:25 +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
sfan5
3778ed7466
Keep PlayerMetaRef via name not pointer
2024-10-12 22:37:17 +02:00
sfan5
c8dc9c2b8d
Increase safety checks around ObjectRefs
2024-10-12 22:37:17 +02:00
sfan5
41091a147c
Handle VOXELFLAG_NO_DATA when in VManip get_data()
2024-10-12 22:37:17 +02:00
sfan5
6d5103900f
Some refactoring and fixes to VoxelArea and VoxelManip
...
In particular this validates the edges of VoxelArea and fixes
all the nonsense tests uncovered by it.
2024-10-12 22:37:17 +02:00
sfan5
d2b4c27f21
Implement minetest.ipc_poll()
2024-10-11 12:00:59 +02:00
sfan5
72801d0233
Implement minetest.ipc_cas()
2024-10-11 12:00:59 +02:00
sfan5
f1a436619f
Add generic IPC mechanism between Lua envs
2024-10-11 12:00:59 +02:00
Lars Mueller
06907aa99b
Support floating-point animation frame numbers
2024-10-10 21:39:57 +02:00
paradust7
3a7c8279bf
Split log.h to speed up compilation ( #15258 )
2024-10-09 16:24:44 +02:00
grorp
6ac4447134
Make bloom parameters server-controlled ( #15231 )
2024-10-09 15:08:03 +02:00
rubenwardy
78aab8c95d
ContentDB redesign: Add package dialog
...
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-10-05 18:40:26 +01:00
sfence
a19d0033bc
Add forgotten lua_pop
2024-10-04 10:42:37 +02:00
SmallJoker
3797ca52c4
Network: offload often changed constants to source file ( #15207 )
...
* Network: offload often changed constants to source file
This prevents unnecessary recompiling when using incremental builds.
There is also no need to have separate max proto version variables;
as they're subject to the handshake between client and server. The
code is also expected to support the same version (or higher).
Co-authored-by: sfan5 <sfan5@live.de>
2024-10-02 11:01:30 +02:00
grorp
22ef4c8be1
Expose analog joystick input to the Lua API ( #14348 )
2024-10-01 17:21:42 +02:00
sfan5
700fbc803d
Minor improvements to metadata handling
2024-09-27 21:35:27 +02:00
sfence
d08d34d803
ABM without_neighbors ( #14116 )
2024-09-26 17:32:55 +02:00
sfan5
0220d0d492
Encapsulate envlock
2024-09-26 17:31:49 +02:00
grorp
526a2f7b8c
Dehardcode the death formspec ( #15155 )
...
Co-authored-by: Paul Ouellette <oue.paul18@gmail.com>
2024-09-24 22:37:44 +02:00
Elias Åström
f65fe80e81
Add minetest.bulk_swap_node ( #15043 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2024-09-24 22:25:34 +02:00
GefullteTaubenbrust2
d8f1daac25
Visual Effects Vol. 1 ( #14610 )
...
This PR adds a variety of effects to enhance the visual experience.
"soft" clouds look
Tinted shadows
Crude water reflections (sky and sun) and waves
Translucent foliage
Node specular highlights
Adjusted fog color (more saturated where the fog is lighter)
Minor changes to volumetric lighting (crudely simulates the effect of depth)
Co-authored-by: sfan5 <sfan5@live.de>
2024-09-24 11:14:27 -07:00
Erich Schubert
4ac86db8e3
Simplify getGameTime function usage ( #15187 )
2024-09-20 15:05:51 +02:00
sfan5
811adf5d42
Bulk LBMs ( #14954 )
2024-09-20 15:05:26 +02:00
sfan5
7ae51382c8
Refactor ABM/LBM related code
2024-09-20 15:05:26 +02:00
DS
4aec4fbe6f
Add support for Tracy profiler ( #15113 )
2024-09-15 13:47:45 +02:00
Gregor Parzefall
7bab390413
Add time_to_day_night_ratio to the Lua API
2024-09-14 12:13:11 +02:00
Gregor Parzefall
f9c0354af1
Add colorspec_to_table to the Lua API
2024-09-14 12:13:11 +02:00
1F616EMO~nya
38b4505ad7
Allow requesting reconnect when mods kick player ( #14971 )
2024-09-12 23:42:46 +02:00
SmallJoker
0c4f03d9a5
Reduce include count in headers
2024-09-02 16:09:32 +02:00
sfan5
b8b99d5cf1
Use std::string_view in logging code
2024-09-02 16:09:14 +02:00
cx384
52376fd87a
Add hotbar Lua HUD element and replace hardcoded hotbar
2024-08-31 16:04:14 +02:00
Lars Müller
21ed680b10
Make getting bone overrides return the "same" euler angles ( #15007 )
2024-08-26 21:22:38 +02:00