aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Hide Wself-assign-overloaded and Wself-move unittest compilation warningsHybridDog2021-09-17
| | | | The warnings occured with the clang compiler
* Readd TGA to the list of valid texture formats. (#11598)ROllerozxa2021-09-15
|
* Chop game background in mainmenu (#10796)Lars Müller2021-09-14
|
* Add Windows-specific CreateTempFile() implementationsfan52021-09-14
| | | | Once again MSVC is the only compiler not supporting basic POSIX functionality.
* Fix broken handling of NodemetaChanged packetssfan52021-09-12
| | | | fixes #11610
* Make sure relevant std::stringstreams are set to binarysfan52021-09-11
|
* Clean up/improve some scriptapi error handling codesfan52021-09-10
|
* Send to clients node metadata that changed to become empty (#11597)Jude Melton-Houghton2021-09-10
|
* Dynamic_Add_Media v2 (#11550)sfan52021-09-09
|
* Fix movement in random_input mode (#11592)NeroBurner2021-09-05
|
* Don't look for zlib and zstd manually on Windowssfan52021-09-01
|
* Switch MapBlock compression to zstd (#10788)lhofhansl2021-08-31
| | | | | | | * Add zstd support. * Rearrange serialization order * Compress entire mapblock Co-authored-by: sfan5 <sfan5@live.de>
* Remove closing paren as weblink delimiterpecksin2021-08-29
|
* Async-related script cleanupssfan52021-08-28
|
* Remove redundant on_dieplayer callssavilli2021-08-28
|
* Joystick sensitivity for player movement (#11262)NeroBurner2021-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fix 6th line of infotext being cut off in half (#11456)Wuzzy2021-08-23
|
* Inventory: Fix rare out-of-bounds accessSmallJoker2021-08-23
| | | Co-authored-by: Thomas--S <info@thomas-stangl.de>
* Use utf-8 for the Irrlicht clipboard (#11538)DS2021-08-23
|
* HUD: Reject and warn on invalid stat types (#11548)SmallJoker2021-08-21
| | | | 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
* Show status message when changing block bounds (#11556)Wuzzy2021-08-21
|
* Validate staticdata and object property length limits (#11511)sfan52021-08-19
| | | | | | 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.
* Fix scaled world-aligned textures being aligned inconsistently for ↵Wuzzy2021-08-19
| | | | non-normal drawtypes
* Add fwgettext util functionrubenwardy2021-08-19
|
* Fix inconsistent integer comparison warningsSmallJoker2021-08-17
|
* Start sprite animation at the beginning (#11509)Lean Rada2021-08-16
| | | 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.
* Cap iterations of imageCleanTransparent sanelysfan52021-08-16
| | | | fixes #11513 performance regression with 256x textures
* Fix access violation in create_schematic() (#11534)Treer2021-08-16
| | | | | fixes #11533 Schematics saved from y locations greater than 0 would cause an access violation if layer probabilities were specified
* Fix segfault caused by shadow map on exitSmallJoker2021-08-12
|
* Move updating shadows outside of RenderingCore::drawAll. (#11491)x20482021-08-12
| | | | Fixes indirect rendering modes such as some 3D modes mentioned in #11437 and undersampled rendering. Does not fully fix anaglyph 3d mode.
* Fix a segfault caused by wrong textdomain lines in translation files (#11530)DS2021-08-12
| | | | | | * 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.
* Fix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox (#11519)DS2021-08-08
|
* Gettext support on Android (#11435)Pevernow2021-08-08
| | | | Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: =?UTF-8?q?Olivier=20Samyn=20=F0=9F=8E=BB?= <code@oleastre.be>
* OpenAL: Free buffers on quitSmallJoker2021-08-03
|
* Mods: Combine mod loading checks and deprection logging (#11503)SmallJoker2021-07-31
| | | | This limits the logged deprecation messages to the mods that are loaded Unifies the mod naming convention check for CSM & SSM
* Fix /emergeblocks crashing in debug builds (#11461)Wuzzy2021-07-31
| | | The reason for the bug was an u16 overflow, thus failing the assert. This only happened in Debug build but not in Release builds.
* Remove unsupported formats from the media enumeratorhecks2021-07-29
|
* Remove unsupported extensions from list in tile.cpphecktest2021-07-29
|
* Add a simple PNG image encoder with Lua API (#11485)hecks2021-07-29
| | | | | | | | | * 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>
* Add bold, italic and monospace font styling for HUD text elements (#11478)sfan52021-07-27
| | | Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
* Take advantage of IrrlichtMt CMake target (#11287)JosiahWI2021-07-27
| | | | With the CMake changes to IrrlichtMt, it's now possible to use a target for IrrlichtMt. Besides greatly improving the ease of setting up IrrlichtMt for users building the client, it removes the need for Minetest's CMake to include transitive dependencies such as image libraries, cleaning it up a tiny bit. The PR works by finding the IrrlichtMt package and linking to the target it provides. If the package isn't found and it isn't building the client, it will still fall back to using just the headers of old Irrlicht or IrrlichtMt.
* Distribute shadow map update over multiple frames to reduce stutter (#11422)x20482021-07-25
| | | | | | | | | | Reduces stutter and freezes when playing. * Maintains double SM and SM Color textures * Light frustum update triggers incremental generation of shadow map into secondary 'future' textures. * Every incremental update renders a portion of the shadow draw list (split equally). * After defined number of frames (currently, 4), 'future' and 'current' textures are swapped, and DirectionalLight 'commits' the new frustum to use when rendering shadows on screen. Co-authored-by: sfan5 <sfan5@live.de>
* Remove unused ITextSceneNode header (#11476)hecks2021-07-22
| | | Co-authored-by: hecktest <>
* Remove unused header includeshecks2021-07-21
|
* Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0sfan52021-07-20
| | | | Also enable `ky` which appears to work fine.
* CSM: Do not index files within hidden directoriesSmallJoker2021-07-17
| | | | CSM would previously scan for files within .git or .svn directories, and also special files such as .gitignore
* Add wallmounted support for plantlike and plantlike_rooted nodes (#11379)Wuzzy2021-07-15
|
* Fix revoke debug privs not reliably turn off stuff (#11409)Wuzzy2021-07-12
|
* Fix build on Ubuntu 16.04 and macOSsfan52021-07-12
| | | | | | Apparently the C++ standard library is supposed to provide specializations of std::hash for enums (even in C++11) but those don't always work for whatever reason.
* Avoid draw list and shadow map update in the same frame to reduce dtime ↵x20482021-07-11
| | | | | | | | | | jitter (#11393) * Separate draw list and shadows update to reduce jitter * Avoid draw list update and shadow update in the same frame * Force-update shadows when camera offset changes