aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* Improve shadow rendering with non-default camera FOV (#11385)x20482021-07-11
| | | | | | | | | | | * 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
* Refactor video driver name retrieval (#11413)hecks2021-07-11
| | | Co-authored-by: hecktest <>
* Script API: Fix segfault in remove_detached_inventorySmallJoker2021-07-10
| | | | | 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
* Add API for mods to hook liquid transformation events (#11405)Warr10242021-07-09
| | | | | | | | | 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.
* Auth API: Error when accessed prior to ServerEnv init (#11398)SmallJoker2021-06-30
|
* Remove unsupported video drivers (#11395)hecks2021-06-30
| | | 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.
* Inventory: Make addList() consistent (#11382)SmallJoker2021-06-30
| | | | 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.
* Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵Wuzzy2021-06-24
| | | | | 'debug' priv to view wireframe (#9315) Fixes #7245.
* Perform some quality assurance for translation strings (#11375)Wuzzy2021-06-23
|
* Rework Settings to support arbitrary hierarchies (#11352)sfan52021-06-23
|
* Server: Ignore whitespace-only chat messagesSmallJoker2021-06-22
|
* Inventory: show error on invalid list names (#11368)SmallJoker2021-06-20
|
* Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence2021-06-20
| | | This check can be used by ABM to reduce CPU usage.
* Make chat web links clickable (#11092)pecksin2021-06-20
| | | 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.
* Update minetest.conf.example and dummy translation fileupdatepo.sh2021-06-16
|
* Drop --videomodes, fullscreen_bpp and high_precision_fpu settingssfan52021-06-16
| | | | These have been pointless for a while.
* Shadow mapping render pass (#11244)Liso2021-06-06
| | | Co-authored-by: x2048 <codeforsmile@gmail.com>
* Add metatables to lua vectors (#11039)DS2021-06-04
| | | Add backwards-compatible metatable functions for vectors.
* fontengine: Fix crash loading PNG/XML fonts from paths without dotsfan52021-06-01
| | | | fixes #11096
* Add core.compare_block_status function (#11247)SmallJoker2021-05-30
| | | Makes it possible to check the status of the mapblock in a future-extensible way.
* Fix base64 validation and add unittests (#10515)Lars Müller2021-05-30
| | | Implement proper padding character checks
* Fix procession ordering issue in content_caosfan52021-05-30
|
* Fix background color of formspec text fieldssfan52021-05-30
|
* script: Replace calls to depreated luaL_openlibsfan52021-05-30
|
* Provide exact error message if postgres connection string missingsfan52021-05-30
|
* UnitSAO: Prevent circular attachmentsSmallJoker2021-05-29
|
* Fix cloud fog being broken for high cloudsWuzzy2021-05-29
|
* Fix client crash on when con::PeerNotFoundException is thrown (#11286)savilli2021-05-24
|
* GUIEditBox: Allow selecting and copying read-only textsSmallJoker2021-05-22
|
* Fix curl_timeout being ignored for Lua HTTP fetchessfan52021-05-17
|
* Use --image-base instead of -Ttext-segment for lld linker on FreeBSD (#9367) ↵Dmitry Marakasov2021-05-15
| | | | (#11263)
* Fix overlays for 2D-drawn itemssfan52021-05-08
| | | | fixes #11248
* Fix build for newer versions of GCC (#11246)lhofhansl2021-05-06
|
* fix: extractZipFile is not part of Client but more generic.Loic Blot2021-05-06
| | | | This solve a crash from mainmenu while extracting the zip
* Use Irrlicht functions to query npot texture supportsfan52021-05-05
|
* fix: some code tidy about includes & irr namespacesLoic Blot2021-05-03
|
* refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot2021-05-03
|
* fix: don't use RenderingEngine singleton when it's possibleLoic Blot2021-05-03
|