aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-09-19Merge branch 'master' of https://github.com/minetest/minetestElias Fleckenstein
2021-09-19Fix src/util/string.cpp on NetBSDnia
- iconv() prototype changed from traditional Unix defintion to POSIX definition in 9.99.x. - wchar_t is not a valid character set for iconv. Share code with Android for using UTF-32.
2021-09-19Fix client-side performance of chat UI (#11612)DS
2021-09-19Fix HUD multiline text alignment (#10795)Lars Müller
2021-09-19Add ClientObjectRef:remove and return true in on_object_add callback to ↵Elias Fleckenstein
remove newly added object
2021-09-19Fix trivial typossfan5
2021-09-19Add preprocessor check for weird (incorrect) build configurationssfan5
2021-09-17Shave off buffer copies in networking code (#11607)sfan5
2021-09-17Fix GLES2 discard behaviour (texture transparency)sfan5
2021-09-17Hide Wself-assign-overloaded and Wself-move unittest compilation warningsHybridDog
The warnings occured with the clang compiler
2021-09-15Readd TGA to the list of valid texture formats. (#11598)ROllerozxa
2021-09-14Chop game background in mainmenu (#10796)Lars Müller
2021-09-14Add Windows-specific CreateTempFile() implementationsfan5
Once again MSVC is the only compiler not supporting basic POSIX functionality.
2021-09-12Fix broken handling of NodemetaChanged packetssfan5
fixes #11610
2021-09-11Make sure relevant std::stringstreams are set to binarysfan5
2021-09-10Clean up/improve some scriptapi error handling codesfan5
2021-09-10Send to clients node metadata that changed to become empty (#11597)Jude Melton-Houghton
2021-09-09Dynamic_Add_Media v2 (#11550)sfan5
2021-09-05Fix movement in random_input mode (#11592)NeroBurner
2021-09-01Don't look for zlib and zstd manually on Windowssfan5
2021-08-31Switch MapBlock compression to zstd (#10788)lhofhansl
* Add zstd support. * Rearrange serialization order * Compress entire mapblock Co-authored-by: sfan5 <sfan5@live.de>
2021-08-30add airjump and remove unused headersMinetest-j45
2021-08-29Remove closing paren as weblink delimiterpecksin
2021-08-28Async-related script cleanupssfan5
2021-08-28Remove redundant on_dieplayer callssavilli
2021-08-27Joystick sensitivity for player movement (#11262)NeroBurner
This commit deprecates the forward, backward, left, and right binary inputs currently used for player movement in the PlayerControl struct. In their place, it adds the movement_speed and movement_direction values, which represents the player movement is a polar coordinate system. movement_speed is a scalar from 0.0 to 1.0. movement_direction is an angle from 0 to +-Pi: FWD 0 _ LFT / \ RGT -Pi/2 | | +Pi/2 \_/ +-Pi BCK Boolean movement bits will still be set for server telegrams and Lua script invocations to provide full backward compatibility. When generating these values from an analog input, a direction is considered active when it is 22.5 degrees away from either orthogonal axis. Co-authored-by: Markus Koch <markus@notsyncing.net> Co-authored-by: sfan5 <sfan5@live.de>
2021-08-23Fix 6th line of infotext being cut off in half (#11456)Wuzzy
2021-08-23Inventory: Fix rare out-of-bounds accessSmallJoker
Co-authored-by: Thomas--S <info@thomas-stangl.de>
2021-08-23Use utf-8 for the Irrlicht clipboard (#11538)DS
2021-08-21HUD: Reject and warn on invalid stat types (#11548)SmallJoker
This comes into play on older servers which do not know the "stat" type. Warnings are only logged once to avoid spam within globalstep callbacks
2021-08-21Show status message when changing block bounds (#11556)Wuzzy
2021-08-19Validate staticdata and object property length limits (#11511)sfan5
Some games provide users with enough freedom to create items with metadata longer than 64KB, preventing this from causing issues is on them but we'll still do the minimum not to abort the server if this happens.
2021-08-19Fix scaled world-aligned textures being aligned inconsistently for ↵Wuzzy
non-normal drawtypes
2021-08-19Add fwgettext util functionrubenwardy
2021-08-17Fix inconsistent integer comparison warningsSmallJoker
2021-08-16Start sprite animation at the beginning (#11509)Lean Rada
When setting a sprite animation, do not keep the last animation's frame number. Setting a new animation should start the animation at the start of the new animation.
2021-08-16Cap iterations of imageCleanTransparent sanelysfan5
fixes #11513 performance regression with 256x textures
2021-08-16Fix access violation in create_schematic() (#11534)Treer
fixes #11533 Schematics saved from y locations greater than 0 would cause an access violation if layer probabilities were specified
2021-08-12Fix segfault caused by shadow map on exitSmallJoker
2021-08-12Move updating shadows outside of RenderingCore::drawAll. (#11491)x2048
Fixes indirect rendering modes such as some 3D modes mentioned in #11437 and undersampled rendering. Does not fully fix anaglyph 3d mode.
2021-08-12Fix a segfault caused by wrong textdomain lines in translation files (#11530)DS
* The problem were lines like these: "# textdomain:" * str_split does not add an empty last part if there is a delimiter at the end, but this was probably assumed here.
2021-08-08Fix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox (#11519)DS
2021-08-08Gettext support on Android (#11435)Pevernow
Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: =?UTF-8?q?Olivier=20Samyn=20=F0=9F=8E=BB?= <code@oleastre.be>
2021-08-03OpenAL: Free buffers on quitSmallJoker
2021-07-31Mods: Combine mod loading checks and deprection logging (#11503)SmallJoker
This limits the logged deprecation messages to the mods that are loaded Unifies the mod naming convention check for CSM & SSM
2021-07-31Fix /emergeblocks crashing in debug builds (#11461)Wuzzy
The reason for the bug was an u16 overflow, thus failing the assert. This only happened in Debug build but not in Release builds.
2021-07-29Remove unsupported formats from the media enumeratorhecks
2021-07-29Remove unsupported extensions from list in tile.cpphecktest
2021-07-29Add a simple PNG image encoder with Lua API (#11485)hecks
* Add a simple PNG image encoder with Lua API Add ColorSpec to RGBA converter Make a safety wrapper for the encoder Create devtest examples Co-authored-by: hecktest <> Co-authored-by: sfan5 <sfan5@live.de>
2021-07-27Add bold, italic and monospace font styling for HUD text elements (#11478)sfan5
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>