Commit Graph

1447 Commits

Author SHA1 Message Date
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
sfan5
9e3a11534f
Allow fog color to be overriden properly (#14296) 2024-01-23 22:33:33 +01:00
Lars Mueller
f6ecd931dc Minor documentation formatting fixes 2024-01-22 22:41:33 +01:00
Lars Müller
afc48cf224
Address set_player_privs footgun (#14297)
---------

Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-01-22 20:06:03 +01:00
cx384
5958714309
Tool specific pointing and blocking pointable type (#13992) 2024-01-22 18:27:08 +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
sfan5
699d1bf27c Use newer IrrlichtMt
now with SDL2
2024-01-19 11:54:40 +01:00
Lars Müller
a8cf10b0b5
Docs: Recommend against using PseudoRandom 2024-01-17 21:48:17 +01:00
Wuzzy
08ee6d8d4b
Add rotation support for wallmounted nodes in 'ceiling' or 'floor' mode (#11073) 2024-01-17 17:47:06 +01:00
Jude Melton-Houghton
e7dd9737bd Reduce minetest.after time complexity and provide ordering guarantee
---------

Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-01-16 23:46:43 +01:00
sfence
ceaa7e2fb0
Add API for restoring PseudoRandom and PcgRandom state (#14123) 2024-01-16 23:20:52 +01:00
cx384
92c55c27cf
Add function to get all HUD elements (#14042) 2024-01-14 17:46:29 +01:00
sfan5
dd094d7606 Write down some developer documentation
I think it's better suited here than in the wiki.
2024-01-14 13:17:53 +01:00
sfan5
e824e9023f Simplify LuaPseudoRandom::l_next and fix docs
Also extends the allowed range on the C++ side. This has no side-effects.
2024-01-14 13:17:53 +01:00
grorp
6b9250e4ef
Document settings API behavior regarding default values (#14247) 2024-01-13 20:01:50 +01:00
Lars Mueller
025516a005 Remove redundant and/or outdated client API docs 2024-01-12 16:24:15 +01:00
Lars Müller
7bae8ab838
Fix HUD image (waypoint) docs 2024-01-10 19:32:49 +01:00
Artem
e04f618979
Add "--needed" to Arch command to avoid reinstalling packages 2024-01-06 15:35:51 +01:00
sfan5
15f73258fd
Don't run CDB update_detector more than once (#14214) 2024-01-05 00:40:11 +01:00
ROllerozxa
8e9d7611ae Apply saturation even if tonemapping is disabled 2024-01-03 21:55:53 +01:00
sfence
d0753dddb1
Method add_pos for object/player (#14126) 2024-01-01 22:48:56 +01:00
cx384
467d3a8c62
Rename hud_elem_type to type (#14065) 2023-12-29 21:51:02 +01:00
sfan5
93dfa8a6d8
Optimize and improve built-in PNG writer (#14020) 2023-12-27 11:56:48 +01:00
Simon Boehm
5054918efc
MacOS: Add codesigning instructions to docs (#14060) 2023-12-27 11:44:54 +01:00
Gregor Parzefall
524721ee27 Remove non-existent textures from texture_packs.md
These textures were removed 5 years ago by 326eeca306f7bfb53ae3685eef18978dd81e587e.
2023-12-26 12:01:46 +01:00
Lars
e0d4a9d575 Make volumetric light effect strength server controllable
- Make volumetric light effect strength server controllable
- Separate volumetric and bloom shader pipeline
- Require bloom to be enable, scale godrays with bloom
2023-12-21 16:21:01 -08:00
Lars Müller
0d61598d8a
Extend bone override capabilities (#12388) 2023-12-20 21:21:53 +01:00
grorp
91ba02449b
Add touch_controls boolean to get_player_window_information() (#14092) 2023-12-17 20:47:07 +01:00
sfan5
d1a55e9ca4
Remove use_texture_alpha compatibility code for nodeboxes & meshes (#13929) 2023-12-13 13:15:59 +01:00
Gary Miguel
634e49b961
Improve Irrlicht instructions (#14055)
Specify the version when cloning.
Move instructions from CMakeLists to docs/compiling/.
2023-12-08 21:11:54 +01:00
rubenwardy
55f40a7f8d Continue with 5.9.0-dev 2023-12-04 17:15:43 +00:00
AFCMS
91134015e7
Document minetest.get_gametime() returning nil at init time (#14047)
Co-authored-by: sfan5 <sfan5@live.de>
2023-12-03 15:00:29 +07:00
MisterE123
31ee7af3ab
lua_api.md: Add tick marks to position HUD element 2023-11-19 20:46:40 +01:00
jordan4ibanez
72edfe3d04
Fix openSUSE build dependencies
They were incomplete.
2023-11-19 20:46:03 +01:00
DS
8cf76e004f
Add new flags to minetest.features for 5.8.0 features (#13978) 2023-11-12 20:08:57 +01:00
MisterE123
fe8d04d0b3
Fix misrendered fall_damage_add_percent calculation formula (#13969)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2023-11-09 19:55:26 +01:00
Thresher
80c4c260ae
Refactor and move world_format.txt to world_format.md (#13504)
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
2023-11-08 07:00:04 +07:00
ROllerozxa
570fc90bf6
Debundle Minetest Game (#13818) 2023-11-07 22:18:26 +01:00