aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-07-24Add keybind to swap items between handshandswap_keybindElias Fleckenstein
2022-07-23Dual WieldingElias Fleckenstein
2022-07-20Update minetest.conf.exampleupdatepo.sh
2022-07-19Restore flags texture to fix interlaced stereo mode (#12560)x2048
2022-07-19Offset cuboid origin after scaling the cuboid. (#12558)x2048
This avoids the problem of offset nodes with visual_scale > 1.
2022-07-17Fix automatic rotate for attached entities (#12392)Lars Müller
2022-07-17Remove workaround for normals not matching winding order (#12460)x2048
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-17Deprecate loading a world with unresolved dependencies (#12541)rubenwardy
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-14Add check_mod_configuration to main menurubenwardy
2022-07-14Refactor ModConfigurationrubenwardy
2022-07-14Reduce code duplication between c_converter.cpp and helper.cppsfan5
2022-07-14Remove unnecessary float limits from script APIsfan5
Leaves a check for NaN and inf.
2022-07-14Move f1000 sanitizing to the places that still use this typesfan5
2022-07-14GUIFormSpecMenu: Fix label multiline translation (#12527)SmallJoker
2022-07-13Make BlendMode::alpha the fallback for unknown future blend modesDmitry Kostenko
2022-07-13Animated particlespawners and more (#11545)Lexi Hale
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
2022-07-10GUIFormSpecMenu: Fix parameter orderSmallJoker
Fixes a regression caused by e51f47461 because C++ implicitly converts boolean to float. no matter what.
2022-07-09Sounds: Various little improvements (#12486)SmallJoker
Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
2022-07-09Enforce limits of settings that could cause buggy behaviour (#12450)SmallJoker
Enforces the setting value bounds that are currently only limited by the GUI (settingtypes.txt).
2022-07-09Release shadow mapping resources when not needed (#12497)x2048
2022-07-03FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)Vincent Robinson
* FormSpec: 9-slice images and animated_images * Add fgimg_middle; clean up code * Address issues, add tests * Fix stupid error; bump formspec version * Re-add image[] elements without a size
2022-07-02Allow to set maximum star opacity at daytime (#11663)Wuzzy
2022-06-28Remove an unused method and header includessfan5
2022-06-28Remove tile_images and special_materials obsolete code (#12455)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-06-26Increase max FPS on Android to 60 (#12373)ROllerozxa
2022-06-26Fix two memleak reports from Coverity (#12466)JosiahWI
2022-06-20Re-order sound-related code (#12382)SmallJoker
Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated 'fade' and 'pitch' values on server-side where only one was used anyway. SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included. Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the future. Per-type version numbers are kept for now as a safety rope in a special case.
2022-06-20Annotate light spread functions with commentssfan5
2022-06-19Fix CAO light calculation issuesfan5
2022-06-17Fix updating glow on entitiessfan5
was broken in #10021 more than 2 years ago(!)
2022-06-16Fix zlib (de)compressor memory leakssavilli
2022-06-16Update my nameNathanaël Courant
2022-06-15Fix entity related bugssfan5
* Make minetest.add_entity() binary-safe * Fix on_death pushing dummy ObjectRef instead of nil
2022-06-14Fix Android input box crashROllerozxa
2022-06-11Inline triLinearInterpolationNoEase and triLinearInterpolation (#12421)paradust7
Performance profiling on Linux AMD64 showed this to be a significant bottleneck. The non-inlined functions are expensive due to XMM registers spilling onto the stack.
2022-06-11on_deactivate: distinguish removal and unloading (#11931)Lars Müller
Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
2022-06-11No damage effects on hp_max change (#11846)Lars Müller
2022-06-07Sanitize player position and speed server-side (#12396)sfan5
2022-06-07Mapblock Mesh BspTree: Increase the depth of block-level splitsx2048
... before going node-level triangle search. Fixes transparent grass on transparent land
2022-06-06Remove invalid fps_max on Macparadust7
2022-06-05Fix crash in commit a69b7abe00fb818fd88f3cd04e7f9997ffd21072sfan5
2022-06-05Android: Add support for sharing debug.txt (#12370)rubenwardy
2022-06-05Improve LBMManager::applyLBMs() codesfan5
Fixes a possible bug for lbms on content ID zero and removes unsafe casts.
2022-06-05Add register dialog to separate login/register (#12185)rubenwardy
New users find Minetest's account system confusing. This change moves username/password to a new dialog, with login and register buttons added to the Join Game tab. The old registration confirmation dialog is removed in favour of the new dialog. Fixes #8138
2022-06-05Fix BSD iconv declarationsavilli
2022-06-03fix integer overflow in mapgen (#11641)JosiahWI
* fix integer overflow in mapgen Some calculations involving the magic seed had overflow because the result of an intermediate arithmetic step could not fit in an s32. By making the magic seed unsigned, the other operand in the equation will be cast to unsigned, and possibly other operands or intermediate operands. This will result in unexpected behavior if an operand is negative, which is technically possible, but logically should not happen. * comment noise2d bitshift While working through the code I was momentarily concerned that the right bitshift in noise2d could fill ones in some cases. It turns out that with signed integers, this is indeed true, but this one is shifting an unsigned integer, so the behavior is as expected. I put a comment here to clarify this, in case someone else wonders the same thing down the line. * noise2d and noise3d unittests I have added 3 tests each for noise2d and noise3d, testing all zero inputs, a very large seed (case which caused UB in the old implementation) and some fun primes I picked for no particular reason. This should be sufficient to demonstrate that the behavior of the new implementation has not changed. I used uniform initialization because it is a good feature of C++11. Please do not explode. * uncomment the noise2d bitshift This reverts commit 583b77ee9f1ad6bb77340ebb5ba51eb9a88ff51c. It's a well-defined language semantic; it doesn't need to be commented. * code cleanliness
2022-06-03Properly keep noclip state in Game and ClientMapsfan5
2022-06-03Remove obsolete eye_height related workaroundsfan5
This was added a long time ago in 42bbd5c9ae06a8d8ffb7915599097ead6f848755 and meant to fix prevent the view becoming black when jumping into a ceiling, this no longer happens today.
2022-06-03Add helper functions to make tool usable n times (#12047)Wuzzy
2022-05-29Fix use-after-free in node meta cleanupsfan5
bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7