Daniel Hajjar
ec115ffe2a
Make SecureRandom non-failable
2024-08-20 11:49:15 +02:00
cx384
48845de46e
Fix trailing whitespace from #14945
2024-08-17 21:22:26 +02:00
cx384
03e600a721
Fix whitespaces
2024-08-17 21:02:54 +02:00
Zughy
792fb13ac6
Docs: Clarify rotation syntax of model
formspec element ( #14997 )
...
There has been confusion over this in the past, with users wrongly supplying rotation as `{x,y}`.
2024-08-17 15:16:37 +02:00
Lars Mueller
d3ca269c79
Add minetest.is_valid_player_name
utility
2024-08-16 22:13:16 +02:00
Lars Mueller
6874c358ea
Allow managing object observers
...
-----
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2024-08-16 22:13:16 +02:00
Erich Schubert
9046379b30
Fix chance/probability wording in lua_api.md
2024-08-16 21:59:36 +02:00
Zughy
ea96f6e1e3
DOCS: state that initial_properties
are shared between entity instances
2024-08-16 21:59:20 +02:00
1F616EMO~nya
dc7a7a0ed9
Add table.keyof()
( #14910 )
2024-08-13 18:39:50 +02:00
Erich Schubert
e6f77b95f3
Add vector.random_direction()
( #14784 )
...
Generate a random vector of unit length. Useful for many mods.
2024-08-13 18:38:07 +02:00
1F616EMO~nya
98e51a0159
Clamp hotbar selection to slots that exist ( #14869 )
2024-08-12 15:35:13 +02:00
sfan5
39c2af9710
Render clouds as flat when thickness is zero ( #14897 )
2024-08-12 15:35:00 +02:00
grorp
013c6ee166
TouchScreenGUI: Replace buttonbars with grid menu ( #14918 )
2024-08-12 15:34:50 +02:00
sfan5
85e717fcd1
Rework object attachment handling to fix bugs ( #14825 )
2024-08-12 15:32:18 +02:00
Zughy
c7642c3c6c
Docs: Explain how to create and remove inventory lists ( #14927 )
2024-08-12 02:49:14 +02:00
rubenwardy
c6c2c4f60f
Revert "Disable SDL2 for 5.9.0 ( #14944 )" ( #14959 )
...
This reverts commit ebaf3c8d77e5240b505b7e7b0c05a769e44d8e0e.
2024-08-11 20:18:11 +02:00
rubenwardy
1222750c50
Continue with 5.10.0-dev
2024-08-11 16:55:00 +01:00
rubenwardy
ebaf3c8d77
Disable SDL2 for 5.9.0 ( #14944 )
...
See #14545 and https://forum.minetest.net/viewtopic.php?t=30864
2024-08-11 13:27:41 +01:00
Luke aka SwissalpS
8ef2c42150
Fix some typos in docs ( #14921 )
...
---------
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-08-04 23:51:45 +02:00
cx384
c489cef875
Add version to override_item_remove_fields
feature flag doc ( #14917 )
2024-08-02 20:05:50 +02:00
y5nw
8bff2f23c6
Rename minetest.register_async_metatable
to minetest.register_portable_metatable
( #14895 )
2024-08-02 00:13:25 +02:00
SmallJoker
26deb26f17
Sounds: Partial revert of #14436 and #14341 ( #14889 )
...
This reverts functional changes of:
* commit bf52d1e6 (#14436 )
* commit 63a98538 (#14341 )
2024-07-30 21:25:50 +02:00
Lars Mueller
90fccc15eb
Document empty key in item stack metadata
2024-07-27 18:30:22 +02:00
Zughy
7625f88a0c
Move mod_translation_updater.py to minetest/modtools ( #14865 )
2024-07-22 21:34:07 +02:00
DS
768fd4adee
Restore buggy texture overlay modifier ( #14852 )
...
Required because of backwards compatibility.
2024-07-22 16:35:36 +02:00
grorp
3de42f56c5
Fix and improve particle(spawner) documentation ( #14804 )
2024-07-06 18:02:31 +02:00
grorp
fcb4f258f5
GUITable: Scale images with display density / row height ( #14709 )
2024-07-02 20:57:43 +02:00
Lars Müller
8ed55b3aff
Help modders deal with object invalidation ( #14769 )
...
* Skip invalid objects in raycasts
* Add `ObjectRef:is_valid` method
* Add object inside radius / area iterators which skip invalid objects
* Update docs to clarify object invalidation and how to deal with it
---------
Co-authored-by: sfan5 <sfan5@live.de>
2024-07-01 20:50:38 +02:00
Erich Schubert
d5444e1172
Fix more missing newlines in lua_api.md
( #14791 )
...
Poor rendering in online documentation:
https://api.minetest.net/minetest-namespace-reference/#list-of-apis-available-in-the-mapgen-env
https://api.minetest.net/minetest-namespace-reference/#list-of-apis-available-in-an-async-environment
2024-07-01 20:49:00 +02:00
grorp
ea827e4c5d
Fix new texture properties not being sent for minetest.add_particle ( #14760 )
...
Co-authored-by: Lars Müller <appgurulars@gmx.de>
2024-07-01 20:41:54 +02:00
grorp
7709d92289
Restore old inconsistent minimum digging time behavior ( #14777 )
...
and restore default of 0.16 for repeat_place_time since it was only changed to be in line with repeat_dig_time.
2024-06-30 20:39:28 +02:00
Erich Schubert
514e106414
Fix missing newline before Markdown list ( #14783 )
...
Renders incorrectly e.g. on https://api.minetest.net/spatial-vectors/
2024-06-26 22:21:18 +02:00
1F616EMO~nya
fb6ceb2664
Properly escape Markdown markups at minetest.string_to_area ( #14774 )
...
Co-authored-by: DS <ds.desour@proton.me>
2024-06-24 22:14:16 +02:00
aminothere
50da26da91
Document alternative 'persist' key in noise parameter table ( #14762 )
2024-06-24 22:12:42 +02:00
Yoruma
9ab447843b
Clarify "dtime" in API ( #14758 )
2024-06-22 10:59:58 +02:00
cx384
7a64527db5
Fix connected_players on_shutdown ( #14739 )
2024-06-15 16:00:33 +02:00
Mikita Wiśniewski
9def45aa80
Add zstd to Void Linux dependencies ( #14748 )
2024-06-12 12:39:15 +02:00
cx384
4c9be808a7
Improve register_on_leaveplayer documentation
2024-06-09 13:21:54 +02:00
Alex
75f3a2183f
Fix and clarify skybox texture order documentation ( #14680 )
2024-06-03 12:40:34 +02:00
grorp
833bb542fc
Allow toggling fullscreen without restart and add keybind ( #14714 )
2024-06-02 21:05:16 +02:00
sfence
140b9e5a5a
Allow game to specify first and last mod in mod loading order ( #14177 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
2024-06-01 16:36:20 +02:00
Desour
9da5c5e2d0
Add precompiled header support
...
Note: the <filesystem> header is not included in the default
precompiled_headers.txt, because we don't use it yet, and it might be big
2024-05-27 17:12:39 +02:00
AFCMS
82790b1556
Add documentation for IDE developer setup ( #13935 )
2024-05-26 14:28:12 +02:00
Lars Mueller
5009259473
Add unit test and feature flag for override_item
2024-05-21 15:46:33 +02:00
Lars Müller
408faa11a1
Allow removal of item definition fields ( #14675 )
2024-05-20 20:37:40 +02:00
sfan5
c38e0d05bf
Reenable fog toggle unless server restricts fog distance ( #14634 )
...
see comments in #14539
2024-05-14 18:31:51 +02:00
jordan4ibanez
780543f0a2
Add forgotten opensuse dependency
...
gcc-c++
2024-05-09 00:22:36 +02:00
rubenwardy
3017b0213b
Allow quoting hypertext attribute values ( #14550 )
2024-05-05 14:27:17 +02:00
grorp
af8cb63292
Add object's own position for each collision to moveresult ( #14608 )
2024-05-05 13:28:59 +02:00
Lars Müller
2efd0996e6
Document empty string as form name ( #14601 )
2024-04-30 13:50:31 +02:00
grorp
2bdd0a6bdb
Add physics overrides for walk speed and Fast Mode ( #14475 )
...
Co-authored-by: Wuzzy <Wuzzy@disroot.org>
2024-04-30 13:50:01 +02:00
sfence
72cb4e9bea
Allow nil
puncher in object:punch
( #14319 )
2024-04-28 17:55:04 +02:00
OgelGames
05d5dc4cec
Fix InvRef
bugs and add unit tests ( #14591 )
2024-04-28 00:13:44 +02:00
sfan5
12ccbe6f12
Amend profiling documentation
2024-04-24 14:55:50 +02:00
sfan5
98fd5bd453
Formalize OS support policy ( #14556 )
2024-04-23 19:03:58 +02:00
David Heidelberg
4ab3c54f5b
Basic tablet/phone/watch autodetection ( #14400 )
...
Until we're able to detect touchscreen itself, let's have a detection
based on a form factor of the device.
Tablets and handhelds are usually equiped with touchscreens, so as a
default enable touchscreen GUI there.
- Windows and Linux supports autodetection.
- Android is hardcoded as touch-based.
- MacOS staying same as before without detection.
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-04-21 15:51:58 +02:00
SmallJoker
c8a41409d9
HUD: Text element color support ( #14558 )
2024-04-20 20:36:44 +02:00
sfan5
ecfe9c5c2f
lua_api: Clarify some environment API functions
2024-04-14 11:57:20 +02:00
sfan5
7e4462e0ac
Better handling of temporary folders
2024-04-06 12:10:21 +02:00
1F616EMO~nya
2d8e4df7bc
Allow optional actor ObjectRef value in node interaction calls ( #14505 )
2024-04-05 13:00:50 +02:00
Lars Müller
0ea1ec31fc
Misc. doc things ( #14509 )
...
* Improve `[sheet` docs
* Clarify that `self` is a luaentity in `self.name`
* Clarify `textures = {itemname}` deprecation
* Document global callback table names
2024-04-03 14:24:15 +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
6c6e48f006
Move values the mainmenu caches to dedicated files ( #14433 )
2024-03-30 11:06:28 +01:00
Desour
9cee9bc279
Build with the imported IrrlichtMt at irr
...
Also remove the now useless options (like IRRLICHT_INCLUDE_DIR)
and update download instructions, CI and similar.
Co-authored-by: sfan5 <sfan5@live.de>
2024-03-26 21:39:02 +01:00
grorp
a7908da968
Replace antipattern translation example in lua_api.md ( #14482 )
2024-03-24 18:56:41 +01:00
Elias Åström
20bfaba0b7
Update docs to allow non-liquid nodes to use "liquid" drawtype
2024-03-24 18:56:29 +01:00
AFCMS
5a27c05b6a
Docker image workflow (publish on ghcr.io
) ( #14230 )
2024-03-24 18:54:09 +01:00
rubenwardy
24cc33e704
Add button_url[] and hypertext element to allow mods to open web pages ( #13825 )
...
Fixes #12500
2024-03-24 17:19:23 +00:00
rubenwardy
6c4a110679
Add world-independent storage directory for mods ( #12315 )
...
Fixes #4821
2024-03-24 17:18:58 +00:00
cx384
234b01a8c2
Item meta pointing range ( #14347 )
2024-03-17 15:55:38 +01:00
SmallJoker
4245a7604b
Inventory: Fix order of callbacks when swapping items
2024-03-16 20:14:05 +01:00
cx384
60810c2d37
Add L-system trees as decorations ( #14355 )
2024-03-12 20:10:28 +01:00
sfan5
8ff0e1da15
Amend Android dev documentation
2024-03-09 11:28:12 +01:00
Lars Müller
bf52d1e624
Fix attached sounds stopping if objects are removed serverside ( #14436 )
...
Restores backwards compatibility for death sounds or other sounds that are not supposed to be "cut off" abruptly.
---------
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-03-06 20:36:02 +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
91ea47fddf
Fix node callbacks unit test
2024-03-03 20:16:32 +01:00
grorp
e40417f687
Allow giving "pointabilities" to Lua raycasts ( #14390 )
2024-03-01 17:12:13 +01:00
sfan5
229389b7f6
Use newer IrrlichtMt
2024-02-26 20:47:47 +01:00
sfan5
4caf0e4cb9
Update LTO exclusion list ( #14407 )
2024-02-25 20:58:42 +01:00
sfan5
762fca538c
Expose SHA256 algorithm to Lua ( #14403 )
...
Co-authored-by: chmodsayshello <chmodsayshello@hotmail.com>
2024-02-25 18:12:23 +01:00
rubenwardy
b4be483d3e
Add support for translating content titles and descriptions ( #12208 )
2024-02-24 19:13:07 +00:00
ShadowRoi
6952bab519
Mark jpeg-turbo as the default library for compiling in macOS
2024-02-23 21:31:24 +01:00
David Heidelberg
34286d77c7
Allow toggling touchscreen mode at runtime ( #14075 )
...
Signed-off-by: David Heidelberg <david@ixit.cz>
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-02-22 15:44:49 +00:00
sfan5
6ca214fefc
Introduce std::string_view
into wider use ( #14368 )
2024-02-17 15:35:33 +01:00
sfan5
cb5fa56e17
Remove insecure environment from async and emerge environment
2024-02-15 11:06:21 +01:00
sfan5
3cac17d23e
Lua on each mapgen thread ( #13092 )
2024-02-13 22:47:30 +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
sfan5
c90ebad46b
Allow specifying name for dynamic media files
2024-02-13 22:44:10 +01:00
sfan5
af69d4f7a9
Allow dynamic_add_media at mod load time
2024-02-13 22:44:10 +01:00
kromka-chleba
6c8ae2b72a
Fix liquid falling if in "float" group ( #13789 )
...
* Make falling liquid source nodes replace flowing nodes
This makes falling liquid source nodes in group:float replace
flowing nodes on the ground instead of being placed above
the flowing node.
* Make flowing liquids "fall through" for source nodes
This makes liquids in float and falling_node groups fall through
flowing liquid nodes instead of being supported by them in the air.
---------
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-02-12 23:24:54 +01:00
cx384
7901087466
Rename MINETEST_SUBGAME_PATH
to MINETEST_GAME_PATH
( #14351 )
2024-02-12 23:21:19 +01:00
David Heidelberg
eb52a149a0
Enable IPO/LTO by default except for debug builds ( #14198 )
...
Test case:
```
$ cmake . -DRUN_IN_PLACE=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SERVER=TRUE -DENABLE_TOUCH=FALSE
minetest minetestserver
W/o LTO: 13M 7.3M
W/ LTO: 11M 5.9M
difference: 15% 19%
```
Also fixes various compiler warnings resulting from compilation using LTO.
---------
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-02-09 00:01:12 +01:00
cx384
adaa4cc2f3
Move hard coded minimap to builtin ( #14071 )
2024-02-07 20:13:23 +01:00
grorp
f2b99332d9
Add Lua API function to resolve node/collision/selection boxes ( #13964 )
2024-02-06 20:45:16 +01:00
sfence
83f779c52d
Fix active object adding to not generated block ( #14311 )
2024-02-04 21:24:08 +01:00
Lars Müller
1d9c9710d7
Fix short raycasts missing large objects ( #14339 )
...
Increases the tolerance from one node to five nodes.
Also optimizes the "sphere" used for pre-filtering entities
to start in the middle of the line segment rather than at the start.
2024-02-04 14:04:05 +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
Lars Mueller
b1ee137177
Minor documentation fixes
2024-01-28 13:01:54 +01:00
Bradley Pierce
df9975f35d
Add markdown admonition extension ( #14303 )
2024-01-26 22:10:57 +01:00