Commit Graph

1553 Commits

Author SHA1 Message Date
DS
4aec4fbe6f
Add support for Tracy profiler (#15113)
Some checks failed
android / build (push) Waiting to run
cpp_lint / clang_tidy (push) Waiting to run
linux / gcc_7 (push) Waiting to run
linux / gcc_14 (push) Waiting to run
linux / clang_7 (push) Waiting to run
linux / clang_18 (push) Waiting to run
linux / clang_11 (PROMETHEUS=1) (push) Waiting to run
macos / build (push) Waiting to run
whitespace_checks / trailing_whitespaces (push) Waiting to run
whitespace_checks / tabs_lua_api_files (push) Waiting to run
windows / MinGW cross-compiler (${{ matrix.bits }}-bit) (32) (push) Waiting to run
windows / MinGW cross-compiler (${{ matrix.bits }}-bit) (64) (push) Waiting to run
windows / VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} (map[arch:x64 generator:-G'Visual Studio 16 2019' -A x64 vcpkg_triplet:x64-windows], portable) (push) Waiting to run
windows / VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} (map[arch:x86 generator:-G'Visual Studio 16 2019' -A Win32 vcpkg_triplet:x86-windows], portable) (push) Waiting to run
lua_api_deploy / build (push) Has been cancelled
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)
Some checks failed
windows / VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} (map[arch:x64 generator:-G'Visual Studio 16 2019' -A x64 vcpkg_triplet:x64-windows], portable) (push) Has been cancelled
android / build (push) Has been cancelled
cpp_lint / clang_tidy (push) Has been cancelled
linux / gcc_7 (push) Has been cancelled
linux / gcc_14 (push) Has been cancelled
linux / clang_7 (push) Has been cancelled
linux / clang_18 (push) Has been cancelled
linux / clang_11 (PROMETHEUS=1) (push) Has been cancelled
lua_lint / Compile and run multiplayer tests (push) Has been cancelled
lua_lint / Builtin Luacheck and Unit Tests (push) Has been cancelled
lua_api_deploy / build (push) Has been cancelled
macos / build (push) Has been cancelled
whitespace_checks / trailing_whitespaces (push) Has been cancelled
whitespace_checks / tabs_lua_api_files (push) Has been cancelled
windows / MinGW cross-compiler (${{ matrix.bits }}-bit) (32) (push) Has been cancelled
windows / MinGW cross-compiler (${{ matrix.bits }}-bit) (64) (push) Has been cancelled
windows / VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} (map[arch:x86 generator:-G'Visual Studio 16 2019' -A Win32 vcpkg_triplet:x86-windows], portable) (push) Has been cancelled
2024-09-12 23:42:46 +02:00
nauta-turbidus
b12e67699a
Document negative saturation (#15062) 2024-09-12 23:42:33 +02:00
grorp
af67353f7a
Only apply "touch_punch_gesture" when wielded item has no on_use callback (#15098) 2024-09-12 23:41:47 +02:00
sfence
8617993386
Add SDL2 options to compiling README (#15136) 2024-09-12 23:40:03 +02:00
grorp
041d67ceca
Improve formspec scaling (#14840) 2024-09-06 12:11:03 +02:00
Zughy
2bc9dc54ff
Windows/vcpkg instructions: enable i18n by default 2024-09-02 21:50:28 +02:00
JosiahWI
ac11a14509
Add static glTF support (#14557)
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: jordan4ibanez <jordan4ibanez@users.noreply.github.com>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2024-09-02 14:50:30 +02:00
grorp
322a9c2f74
Restore proportional minimap scaling (#15022) 2024-08-31 18:11:56 +02:00
cx384
52376fd87a Add hotbar Lua HUD element and replace hardcoded hotbar 2024-08-31 16:04:14 +02:00
kromka-chleba
a6ba5304c4
Add new vector utils (ceil, sign, abs, random_in_area) (#14807) 2024-08-31 11:43:52 +02:00
Zughy
3441fd6e04
Menu docs: clarify that image paths must be escaped to correctly render on Windows (#15072) 2024-08-28 15:37:43 +02:00
Gregor Parzefall
5d18b6fcd0 Fix incorrect documentation of new-style particlespawner size property
Some checks failed
whitespace_checks / trailing_whitespaces (push) Waiting to run
whitespace_checks / tabs_lua_api_files (push) Waiting to run
lua_api_deploy / build (push) Has been cancelled
2024-08-27 17:51:29 +02:00
sfan5
c6ef5ab259
Sanitize formspec fields server-side (#14878) 2024-08-21 21:34:46 +02:00
grorp
66b3db3601
Fix mods folder being read twice with RUN_IN_PLACE=1 (#15024) 2024-08-21 20:25:58 +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
Lars Müller
9ccd9d341f
Revert empty form name deprecation warnings 2024-08-20 11:49:41 +02:00
Daniel Hajjar
ec115ffe2a
Make SecureRandom non-failable 2024-08-20 11:49:15 +02:00
cx384
48845de46e Fix trailing whitespace from #14945
Some checks failed
android / build (push) Has been cancelled
cpp_lint / clang_tidy (push) Has been cancelled
linux / gcc_7 (push) Has been cancelled
linux / gcc_14 (push) Has been cancelled
linux / clang_7 (push) Has been cancelled
linux / clang_18 (push) Has been cancelled
linux / clang_11 (PROMETHEUS=1) (push) Has been cancelled
lua_lint / Compile and run multiplayer tests (push) Has been cancelled
lua_lint / Builtin Luacheck and Unit Tests (push) Has been cancelled
lua_api_deploy / build (push) Has been cancelled
macos / build (push) Has been cancelled
whitespace_checks / trailing_whitespaces (push) Has been cancelled
whitespace_checks / tabs_lua_api_files (push) Has been cancelled
windows / MinGW cross-compiler (${{ matrix.bits }}-bit) (32) (push) Has been cancelled
windows / MinGW cross-compiler (${{ matrix.bits }}-bit) (64) (push) Has been cancelled
windows / VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} (map[arch:x64 generator:-G'Visual Studio 16 2019' -A x64 vcpkg_triplet:x64-windows], portable) (push) Has been cancelled
windows / VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} (map[arch:x86 generator:-G'Visual Studio 16 2019' -A Win32 vcpkg_triplet:x86-windows], portable) (push) Has been cancelled
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
Some checks are pending
android / build (push) Waiting to run
cpp_lint / clang_tidy (push) Waiting to run
linux / gcc_7 (push) Waiting to run
linux / gcc_14 (push) Waiting to run
linux / clang_7 (push) Waiting to run
linux / clang_18 (push) Waiting to run
linux / clang_11 (PROMETHEUS=1) (push) Waiting to run
lua_lint / Compile and run multiplayer tests (push) Waiting to run
lua_lint / Builtin Luacheck and Unit Tests (push) Waiting to run
lua_api_deploy / build (push) Waiting to run
macos / build (push) Waiting to run
windows / MinGW cross-compiler (${{ matrix.bits }}-bit) (64) (push) Waiting to run
windows / MinGW cross-compiler (${{ matrix.bits }}-bit) (32) (push) Waiting to run
windows / VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} (map[arch:x64 generator:-G'Visual Studio 16 2019' -A x64 vcpkg_triplet:x64-windows], portable) (push) Waiting to run
windows / VS 2019 ${{ matrix.config.arch }}-${{ matrix.type }} (map[arch:x86 generator:-G'Visual Studio 16 2019' -A Win32 vcpkg_triplet:x86-windows], portable) (push) Waiting to run
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 ebaf3c8d77.
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