1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-27 03:40:19 +02:00
Commit Graph

11895 Commits

Author SHA1 Message Date
5c187363b2 Fix some clang compiler warnings (#14654)
* Fix some clang compiler warnings

* Get rid of sdl_supports_primary_selection

* Fix draw2DImage hiding overloaded virtual function
2024-05-15 19:56:25 +02:00
93f4844c9c Fix unintentional error message with dynamic media 2024-05-14 23:12:49 +02:00
39fd9b93c3 Introduce proper error handling for file streams 2024-05-14 18:33:08 +02:00
c38e0d05bf Reenable fog toggle unless server restricts fog distance (#14634)
see comments in #14539
2024-05-14 18:31:51 +02:00
5a4d7fb0d6 Do not bother to assert that a u8 is >= 0
This fixes a warning seen in GCC 7 on CI about a comparison in
mapblock.h that is always true.
2024-05-14 16:21:30 +02:00
6303334cc2 Deduplicate GL extension detection 2024-05-12 14:20:34 +02:00
472742266b Fix invalid glDrawBuffer call on GLES
closes #14445
2024-05-12 14:20:34 +02:00
0889048cb5 Add option for random mod load order (#14637) 2024-05-12 14:20:18 +02:00
57b6e74abb Fix crash if zip file cannot be opened (#14636)
Helped-by: savilli <78875209+savilli@users.noreply.github.com>
2024-05-12 11:46:39 +02:00
a8af0c0ca4 Close buttonbars when hiding TouchScreenGUI (#14630)
To open the inventory or the pause menu, you first need to open the buttonbar
containing the respective button. Before this commit, the buttonbar is still
open after closing the menu, so you have to tap twice before you can continue
playing. After this commit, the buttonbar is already closed after closing the
menu, so you only have to tap once before you can continue playing.
2024-05-10 18:54:22 +02:00
07fe8d4481 Dockerfile: Use the default branch when cloning libspatialindex repository (#14621) 2024-05-10 17:00:15 +07:00
e0e1d0855d Close formspecs with a single tap outside (#14605) 2024-05-09 19:16:08 +02:00
178591b6d5 Android CI: Additionally make an AAB for uploading to the Play Store (#14584) 2024-05-09 19:15:50 +02:00
dd475d8af4 Add benchmarks for server::ActiveObjectMgr 2024-05-09 11:31:35 +02:00
121d22f137 Cleanup Removed Java 17 Options (#14626)
ref: https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#removed-java-options
2024-05-09 11:31:22 +02:00
59bf1d8cd9 Fix curl compatibility issues with colorize_url (#14615)
Also move the escape code safety check to guiOpenURL.
2024-05-09 11:31:10 +02:00
780543f0a2 Add forgotten opensuse dependency
gcc-c++
2024-05-09 00:22:36 +02:00
de78ffb551 Fix strings in modified_reason_strings
one was also missing
2024-05-09 00:19:24 +02:00
1aba7f1fde Add unit tests for MapBlock (de)serialization (#14560) 2024-05-05 22:54:40 +02:00
3017b0213b Allow quoting hypertext attribute values (#14550) 2024-05-05 14:27:17 +02:00
d748c8c653 Gate disabling of fog or camera update behind 'debug' priv 2024-05-05 14:26:56 +02:00
af8cb63292 Add object's own position for each collision to moveresult (#14608) 2024-05-05 13:28:59 +02:00
d7f9da49eb Fix shootline not being updated if press and release happen in the same step (#14606) 2024-05-05 13:28:50 +02:00
70bddcf318 Fix wrong name for bone override interpolation field 2024-05-04 02:09:35 +02:00
f0bb5313d3 Chat console: Prevent input loss on double open 2024-05-03 16:29:33 +02:00
DS
c352fbf5c9 Warn on unknown CMAKE_BUILD_TYPE values (#14600) 2024-05-03 16:29:02 +02:00
9c3c286aab Optimize code patterns around raycasting 2024-05-03 16:28:29 +02:00
e10adf83d5 Reduce wasteful memory allocations in update_lighting_nodes() 2024-05-03 16:28:29 +02:00
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
2e89529eef Optimize env access and structs in collisionMoveSimple 2024-05-03 16:28:29 +02:00
92d03f3832 Trivially optimize iteration order in loops
Due to how node data is stored iterating X last provides better cache locality.
2024-05-03 16:28:29 +02:00
2efd0996e6 Document empty string as form name (#14601) 2024-04-30 13:50:31 +02:00
ac4f13e78f Add minetest.get_gen_notify to mapgen env (#14568) 2024-04-30 13:50:18 +02:00
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
c044a3c1ca Client: fix unknown texture upon shift-move to full inventory list (#14586)
Fixes a regression caused by 4245a760
'moveItemSomewhere' attempted to add a leftover stack to an empty stack, resulting
in an empty name with non-0 ItemStack count.
2024-04-28 19:45:09 +02:00
72cb4e9bea Allow nil puncher in object:punch (#14319) 2024-04-28 17:55:04 +02:00
fc0ac64277 Fix build errors with curl disabled 2024-04-28 12:31:15 +02:00
df4c9e2903 Revert "Clean up some getServer() unsafety"
Turned out to not be a good idea.
This reverts commit 58eccc7a2a.
2024-04-28 00:24:22 +02:00
73dbd2f0ab Smooth scrolling (#14562) 2024-04-28 00:14:31 +02:00
05d5dc4cec Fix InvRef bugs and add unit tests (#14591) 2024-04-28 00:13:44 +02:00
815b5cb086 Translation updater: Add comment propagation (#14416) 2024-04-28 00:12:30 +02:00
0837d674eb Fix set_fov-induced grayscreen 2024-04-28 00:12:15 +02:00
a7bde8e523 Hide internal detached inventory functions (#14594) 2024-04-28 00:07:45 +02:00
c63c05b141 Fix crash when player leaves before breath removal job 2024-04-24 22:32:07 +02:00
12ccbe6f12 Amend profiling documentation 2024-04-24 14:55:50 +02:00
be540043ee Do not make inventory_items_animations setting static thread_local (#14573)
This removes restart requirement when toggling the setting after the first play/run.
2024-04-24 09:00:04 +07:00
de8d80dee0 Fix MSVC warning C4172 in ModifySafeMap::get (#14576) 2024-04-23 19:04:26 +02:00
98fd5bd453 Formalize OS support policy (#14556) 2024-04-23 19:03:58 +02:00
15b569fb71 Remove unnecessary copy of a big data structure 2024-04-23 19:03:50 +02:00
58eccc7a2a Clean up some getServer() unsafety 2024-04-23 19:03:35 +02:00