cx384
f06383f78c
Minor API reference fixes
2024-12-20 15:03:55 +01:00
Lars Müller
f99a1a7c7c
Revert "Optimize raycast performance ( #15233 )"
...
This reverts commit f7a695c212bea96887b32b859645f621fd8f1b48.
2024-12-14 19:29:00 +01:00
sfence
f7a695c212
Optimize raycast performance ( #15233 )
...
by skipping nodes not on the ray with selection boxes smaller than 1x1x1 early on
2024-12-14 17:01:06 +01:00
Wuzzy
ba63c1505a
Docs: Change translation example from NS
to PS
( #15476 )
...
The currently established convention uses `NS` for "translation no-ops", i.e., it will be collected by a string-collecting utility but not be translated by Luanti at this place.
We don't want to mislead modders with this example into using `NS` for plural forms instead, breaking with the established convention and making use of automated tools harder.
See also: https://github.com/minetest/modtools/pull/11
2024-12-14 16:59:29 +01:00
DS
bcbee873e8
Use openssl's sha1 and sha256, optionally ( #15472 )
2024-12-10 22:00:43 +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
Lars Müller
05d31222f7
Allow non-normalized weights in glTF models ( #15310 )
...
We are being lax here, but the glTF specification just requires that "when the weights are stored using float component type, their linear sum SHOULD be as close as reasonably possible to 1.0 for a given vertex"
In particular weights > 1 and weight sums well below or above 1 can be observed in models exported by Blender if they aren't manually normalized.
These fail the glTF validator but Irrlicht normalizes weights itself so we can support them just fine.
The docs have been updated to recommend normalizing weights (as well as documenting the status of interpolation support).
Weights < 0, most of them close to 0, also occur. Consistent with Irrlicht, we ignore them, but we also raise a warning.
2024-12-06 18:05:03 +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
veprogames
11b19cd126
Doc: Add missing jpeg package for Arch Linux ( #15461 )
2024-11-24 19:23:32 +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
luk3yx
4faa16fe0d
Clarify behaviour of core.hypertext_escape ( #15464 )
2024-11-22 17:56:35 +01:00
Richard Try
946b3a4222
Typo in lua_api.md ( #15440 )
...
Duplicate text removed.
2024-11-20 18:36:35 +00: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
veprogames
a8ea165042
Replace occurences of 'wiki.minetest.net' with 'wiki.luanti.org'
2024-11-18 00:04:32 +01:00
sfan5
11837d4623
Remove BMP image support ( #15434 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-11-15 12:21:30 +01:00
Erich Schubert
46f0baff09
Improve documentation of liquid_surface ( #15012 )
2024-11-15 12:19:41 +01:00
sfence
58dd42166d
Add some info to compiling README
2024-11-15 11:39:08 +01:00
sfan5
794aea8e92
Drop fixed pipeline support code ( #15421 )
...
OpenGL 2.0 is now mandatory.
2024-11-13 14:24:01 +01:00
Erich Schubert
4c44942a39
Add weights to biomes ( #15142 )
2024-11-12 10:53:17 +01:00
sfan5
a5e3fca40c
Revert "Disable SDL2 for 5.10.0 ( #15284 )"
...
This reverts commit 6d7a5197407460515b68e1ca18052c124b2fe15b.
2024-11-10 20:56:09 +01:00
sfan5
8503d8de5e
Continue with 5.11.0-dev
2024-11-10 19:17:56 +01:00
sfence
e55ba9c390
Support generation of working Xcode project for signature purposes on MacOS ( #15303 )
2024-11-10 19:06:52 +01:00
Lars Müller
77e78193a0
Fix set_bone_override
documentation ( #15353 )
2024-11-09 18:13:36 +01:00
Lars Müller
cce4fe5a3f
Fix wrongly documented glTF frame number restriction
...
The frame numbers can very well be floats since 06907aa
2024-11-09 17:57:37 +01:00
veprogames
9982c56373
Replace occurences of 'forum.minetest.net' with 'forum.luanti.org' ( #15372 )
2024-11-03 15:10:58 +01:00
grorp
a450301686
Fix server steps shorter than dedicated_server_step since #13370 ( #15330 )
...
Co-authored-by: Desour <ds.desour@proton.me>
Co-authored-by: sfan5 <sfan5@live.de>
2024-10-28 15:57:22 +01:00
grorp
4b90e582b4
Rename to Luanti ( #15294 )
...
The new header intentionally isn't in MTG stone design (or any other MTG-esque design), since we want to distance Luanti and MTG from each other. The font "undefined medium" (https://undefined-medium.com/ ) was used.
ASCII art generated by https://patorjk.com/software/taag/#p=display&f=Graffiti&t=luanti
https://github.com/minetest/minetest/pull/11952#issuecomment-1013364703
---------
Co-authored-by: sfan5 <sfan5@live.de>
2024-10-27 14:04:51 +01:00
BoySanic
6ead789509
Update documentation to reflect player constant values ( #15308 )
...
Co-authored-by: grorp <grorp@posteo.de>
2024-10-26 17:40:11 +02:00
DS
3f306a407c
core.after
: Improve documentation details about how time
is handled (#15316 )
2024-10-24 17:52:27 +02:00
Zughy
d52e4cdbdb
DOCS: replace Minetest -> Luanti, minetest.
-> core.
( #15292 )
...
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-10-22 23:05:41 +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
6d7a519740
Disable SDL2 for 5.10.0 ( #15284 )
...
see #14545
2024-10-14 22:09:11 +02:00
y5nw
e3aa79cffb
Gettext and plural support for client-side translations ( #14726 )
...
---------
Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2024-10-13 11:29:08 +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
Lars Mueller
323fc0a798
Add glTF animation support
2024-10-10 21:39:57 +02:00
Lars Mueller
521e678d39
Add binary glTF (.glb) support
2024-10-10 21:02:05 +02:00
grorp
6ac4447134
Make bloom parameters server-controlled ( #15231 )
2024-10-09 15:08:03 +02:00
SmallJoker
13f533d490
scrollcontainer: Add automatic scrollbar calculation ( #14623 )
...
New parameter 'content padding'. When specified, the scrollbar
max value is calculated automatically. This aims to reduce manual
calculation functions.
2024-10-08 21:45:27 +02:00
Lars Müller
291c3ad0c1
Document performance cost of use_texture_alpha=blend ( #15244 )
2024-10-08 21:44:44 +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
SmallJoker
95d7348a08
Client: upscale [mask or base image ( #15205 )
...
This improves texture pack compatibility. Masks are expected to be of the same
size as the base texture. This change upscales the smaller texture if needed.
The behaviour is now the same as a.png^b.png and a.png^[overlay:b.png (to mention a few).
2024-10-04 10:44:03 +02:00
Erich Schubert
3397950a0e
Clarify bit meaning in param2 palette ( #15225 )
2024-10-04 10:42:09 +02:00
grorp
22ef4c8be1
Expose analog joystick input to the Lua API ( #14348 )
2024-10-01 17:21:42 +02:00
sfence
610ddaba7c
Allow detection of damage greater than HP ( #15160 )
...
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-09-27 21:34:52 +02:00
DragonWrangler1
65ec371b78
Allow allfaces
drawtypes to have 6 textures ( #15175 )
2024-09-26 17:34:16 +02:00
sfence
d08d34d803
ABM without_neighbors ( #14116 )
2024-09-26 17:32:55 +02:00