aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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>
2021-07-27Take advantage of IrrlichtMt CMake target (#11287)JosiahWI
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.
2021-07-25Distribute shadow map update over multiple frames to reduce stutter (#11422)x2048
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>
2021-07-22Remove unused ITextSceneNode header (#11476)hecks
Co-authored-by: hecktest <>
2021-07-21Remove unused header includeshecks
2021-07-20Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0sfan5
Also enable `ky` which appears to work fine.
2021-07-17CSM: Do not index files within hidden directoriesSmallJoker
CSM would previously scan for files within .git or .svn directories, and also special files such as .gitignore
2021-07-15Add wallmounted support for plantlike and plantlike_rooted nodes (#11379)Wuzzy
2021-07-12Fix revoke debug privs not reliably turn off stuff (#11409)Wuzzy
2021-07-12Fix build on Ubuntu 16.04 and macOSsfan5
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.
2021-07-11Avoid draw list and shadow map update in the same frame to reduce dtime ↵x2048
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
2021-07-11Improve shadow rendering with non-default camera FOV (#11385)x2048
* Adjust minimum filter radius for perspective * Expand shadow frustum when camera FOV changes, reuse FOV distance adjustment from numeric.cpp * Read shadow_soft_radius setting as float * Use adaptive filter radius to accomodate for PSM distortion * Adjust filter radius for texture resolution
2021-07-11Refactor video driver name retrieval (#11413)hecks
Co-authored-by: hecktest <>
2021-07-10Script API: Fix segfault in remove_detached_inventorySmallJoker
when minetest.remove_detached_inventory is called on script init, the environment is yet not set up, hence m_env is still nullptr until all scripts are loaded
2021-07-09Add API for mods to hook liquid transformation events (#11405)Warr1024
Add API for mods to hook liquid transformation events Without this API, there is no reliable way for mods to be notified when liquid transform modifies nodes and mods are forced to poll for changes. This allows mods to detect changes to flowing liquid nodes and liquid renewal using event-driven logic.
2021-06-30Auth API: Error when accessed prior to ServerEnv init (#11398)SmallJoker
2021-06-30Remove unsupported video drivers (#11395)hecks
This completely removes any mention of the software and D3D drivers from MT, preventing the user from accidentally attempting to use them. Users who need a software renderer should be asked to install Mesa drivers which offer superior fidelity and performance over the 'burningsvideo' driver.
2021-06-30Inventory: Make addList() consistent (#11382)SmallJoker
Fixes list clearing for inv:set_list() using same size, since 2db6b07. addList() now clears the list in all cases. Use setSize() to resize without clearing.
2021-06-24Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵Wuzzy
'debug' priv to view wireframe (#9315) Fixes #7245.
2021-06-23Perform some quality assurance for translation strings (#11375)Wuzzy
2021-06-23Rework Settings to support arbitrary hierarchies (#11352)sfan5
2021-06-22Server: Ignore whitespace-only chat messagesSmallJoker
2021-06-20Inventory: show error on invalid list names (#11368)SmallJoker
2021-06-20Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence
This check can be used by ABM to reduce CPU usage.
2021-06-20Make chat web links clickable (#11092)pecksin
If enabled in minetest.conf, provides colored, clickable (middle-mouse or ctrl-left-mouse) weblinks in chat output, to open the OS' default web browser.
2021-06-16Update minetest.conf.example and dummy translation fileupdatepo.sh
2021-06-16Drop --videomodes, fullscreen_bpp and high_precision_fpu settingssfan5
These have been pointless for a while.
2021-06-06Shadow mapping render pass (#11244)Liso
Co-authored-by: x2048 <codeforsmile@gmail.com>
2021-06-04Add metatables to lua vectors (#11039)DS
Add backwards-compatible metatable functions for vectors.
2021-06-01fontengine: Fix crash loading PNG/XML fonts from paths without dotsfan5
fixes #11096
2021-05-30Add core.compare_block_status function (#11247)SmallJoker
Makes it possible to check the status of the mapblock in a future-extensible way.
2021-05-30Fix base64 validation and add unittests (#10515)Lars Müller
Implement proper padding character checks
2021-05-30Fix procession ordering issue in content_caosfan5
2021-05-30Fix background color of formspec text fieldssfan5