cx384
e9826f7819
Move EnumString to separate file and add enum_to_string ( #15714 )
2025-01-26 19:17:14 +01:00
SFENCE
af3f696423
Code style fixes.
2025-01-21 16:29:12 +01:00
sfan5
a2058f7f3a
Avoid some inefficiencies when handling ItemStack(Metadata)
2024-12-31 14:47:46 +01:00
sfan5
f2b1cc3e61
Fix situation around aabbox3d default constructor ( #15586 )
...
Co-authored-by: JosiahWI <41302989+JosiahWI@users.noreply.github.com>
2024-12-29 14:36:30 +01:00
cx384
88c845166c
Fix L-System trees fruit node regression ( #15513 )
2024-12-06 18:06:27 +01:00
sfan5
1fd4e0b82d
Refactor ScriptApiSecurity for cleaner separation of concerns
2024-11-13 14:22:41 +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
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
sfan5
cbc741f464
Various improvements to push_json_value
2024-10-13 10:57:25 +02:00
sfan5
c8dc9c2b8d
Increase safety checks around ObjectRefs
2024-10-12 22:37:17 +02:00
sfan5
72801d0233
Implement minetest.ipc_cas()
2024-10-11 12:00:59 +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
sfence
f2c66b9ceb
Add possibility to easier override HP and breath engine logic by Lua ( #14179 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-08-21 20:24:43 +02:00
1F616EMO~nya
321b217feb
Log node/ore name when detecting deprecated fields ( #14794 )
2024-07-01 17:26:15 +02:00
OgelGames
8972e829f2
Restore vector type check ( #14663 )
2024-05-20 20:36:44 +02:00
grorp
af8cb63292
Add object's own position for each collision to moveresult ( #14608 )
2024-05-05 13:28:59 +02:00
sfan5
c24a04d246
Optimize pushing collision data for entity on_step
...
Since this is fixed overhead for every entity, this is important to optimize.
This optimizes one very common case.
before:
push_collision_move_result [us] _____________ 64512x 3.562
after:
push_collision_move_result [us] _____________ 72636x 0.831
2024-05-03 16:28:29 +02:00
Gregor Parzefall
e79587c934
Add shorthand form for touch_interaction
2024-03-30 11:40:50 +01:00
Gregor Parzefall
517f1602aa
Re-add "long tap to punch" as a client-side setting
2024-03-30 11:40:50 +01:00
sfan5
d1a1aed23e
Reduce unnecessary include in serialize.h
2024-03-30 11:07:02 +01:00
cx384
60810c2d37
Add L-system trees as decorations ( #14355 )
2024-03-12 20:10:28 +01:00
y5nw
fc80f65a6d
Try to preserve metatable when exchanging data with the async env ( #14369 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-03-06 18:04:49 +01:00
sfan5
c524c52baa
Fix some common SAO methods to not generate useless update packets
2024-03-06 18:03:57 +01:00
sfan5
492aab20fe
Fix compiler warnings
2024-02-24 12:39:12 +01:00
sfan5
6ca214fefc
Introduce std::string_view
into wider use ( #14368 )
2024-02-17 15:35:33 +01:00
sfan5
933432e62d
Annotate Lua packer with more comments
2024-02-16 12:34:40 +01:00
sfan5
d4b107e2e8
Enable dynamic_add_media to take the file data instead of a path
2024-02-13 22:44:10 +01:00
Lars Mueller
a14320fc44
Improve deprecation error messages
2024-02-12 22:58:26 +01:00
grorp
f2b99332d9
Add Lua API function to resolve node/collision/selection boxes ( #13964 )
2024-02-06 20:45:16 +01:00
techno-sam
176e674a51
Add wear bar color API ( #13328 )
...
---------
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-02-02 21:21:00 +01:00
cx384
5958714309
Tool specific pointing and blocking pointable type ( #13992 )
2024-01-22 18:27:08 +01:00
Lars Mueller
fb461d21a5
Fix waypoint precision wraparound, add bounds check
2024-01-21 21:00:09 +01:00
grorp
404a063fdf
Touchscreen: Allow mods to swap the meaning of short and long taps (punch with single tap) ( #14087 )
...
This works through a new field "touch_interaction" in item definitions.
The two most important use cases are:
- Punching players/entities with short tap instead of long tap (enabled by default)
- Making items usable that require holding the place button (e.g. bows and shields in MC-like games)
2024-01-21 17:44:08 +01:00
cx384
2ea8d9ca11
Fix out of range enum casts in deSerialize functions ( #14090 )
2024-01-17 20:05:46 +01:00
Wuzzy
08ee6d8d4b
Add rotation support for wallmounted nodes in 'ceiling' or 'floor' mode ( #11073 )
2024-01-17 17:47:06 +01:00
cx384
467d3a8c62
Rename hud_elem_type
to type
( #14065 )
2023-12-29 21:51:02 +01:00
sfan5
5405a558fd
Fix minor issue with log_deprecated()
2023-12-25 19:47:34 +01:00
Lars Müller
cad8e895f2
Fix set_bone_position regression (error on passing none)
2023-12-21 18:55:12 +01:00
Desour
585e6aa80b
Clamp values in read_ARGB8
2023-11-19 20:45:18 +01:00
sfan5
033128d8dc
Show better description to users when std::bad_alloc happens
2023-09-13 13:58:59 +02:00
SmallJoker
4ef93fe25f
Allow place_param2 = 0 node placement predictions ( #13787 )
...
The placement prediction value 0 was accidentally ignored
and made the clients fall back to automatic rotation based
on the node paramtype2 value.
This now changes the internal representation to properly
indicate the disabled state (e.g. 'nil' in Lua).
2023-09-13 13:57:57 +02:00
Gregor Parzefall
aea9242a96
Allow nodes to have their post_effect_color affected by lighting ( #13637 )
...
Co-authored-by: DS <ds.desour@proton.me>
2023-08-24 20:16:36 +02:00
rubenwardy
c6a0ead72d
Add warning for initial properties directly inside definition ( #9650 )
2023-08-13 00:19:03 +01:00
DS
edcbfa31c9
Sound refactor and improvements ( #12764 )
2023-06-16 20:15:21 +02:00
Desour
5e6d144567
Enable -Wimplicit-fallthrough and use [[fallthrough]] attribute
2023-06-15 10:38:44 +02:00
Desour
e700182f44
Replace Optional with std::optional
2023-06-15 10:38:44 +02:00
rubenwardy
39f4d26177
Add minetest.get_player_window_information() ( #12367 )
2023-02-27 22:58:41 +00:00