1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-04 08:50:22 +02:00
Commit Graph

9819 Commits

Author SHA1 Message Date
a049e8267f Remove unused ITextSceneNode header (#11476)
Co-authored-by: hecktest <>
2021-07-22 00:55:20 +02:00
850293bae6 Remove unused header includes 2021-07-21 22:07:13 +02:00
6caed7073c Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
Also enable `ky` which appears to work fine.
2021-07-20 17:58:47 +02:00
40bee27e56 CSM: Do not index files within hidden directories
CSM would previously scan for files within .git or .svn directories, and also special files such as .gitignore
2021-07-17 16:44:06 +02:00
f4d8cc0f0b Add wallmounted support for plantlike and plantlike_rooted nodes (#11379) 2021-07-15 21:19:59 +02:00
68143ed8ec Fix documented default colors for set_sky 2021-07-14 17:14:45 +02:00
6cdb150c8b Remove hardcoded "You died." message in chat (#11443) 2021-07-12 20:32:27 +02:00
b7b5aad027 Fix revoke debug privs not reliably turn off stuff (#11409) 2021-07-12 20:32:18 +02:00
5c89a0e12a Fix build on Ubuntu 16.04 and macOS
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-12 12:03:39 +02:00
effb5356ca Avoid draw list and shadow map update in the same frame to reduce dtime 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-11 10:57:29 -07:00
f5706d444b Improve shadow rendering with non-default camera FOV (#11385)
* 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-11 08:15:19 -07:00
1d25d1f7ad Refactor video driver name retrieval (#11413)
Co-authored-by: hecktest <>
2021-07-11 09:50:34 +02:00
29522017a3 Fix typo in lua_api.txt 2021-07-10 16:37:18 -07:00
b93bbfde2c Script API: Fix segfault in remove_detached_inventory
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-10 14:34:36 +02:00
42fbc757b1 Use persistence instead of persist in NoiseParams examples 2021-07-10 14:19:33 +02:00
52128ae11e Add API for mods to hook liquid transformation events (#11405)
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-07-09 09:08:40 -04:00
e9bc59e376 Add .editorconfig (#11412)
* Add an .editorconfig to the repo root folder, providing code style hints for some text editors and making the code render properly in github.

Co-authored-by: hecktest <>
2021-07-03 23:05:15 +02:00
062fd2190e Auth API: Error when accessed prior to ServerEnv init (#11398) 2021-06-30 20:42:26 +02:00
827a7852e2 Remove unsupported video drivers (#11395)
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-30 20:42:15 +02:00
8cc04e0cb4 Run on_grant and on_revoke callbacks after privs change (#11387)
Callbacks were run too early. This changes the order to call after the privs are updated.
2021-06-30 20:40:45 +02:00
f2fd443262 Inventory: Make addList() consistent (#11382)
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-30 20:39:38 +02:00
72927b73ca Fix spurious shadow enablement in mainmenu
fixes #11394
2021-06-30 17:10:28 +02:00
fa4dee0e62 Use user provided lib/irrlichtmt if available (#11276)
Use user provided lib/irrlichtmt if available

Make it possible for a user to provide the IrrlichtMt dependency as
subdirectory at `lib/irrlichtmt`.
The subdirectory is added with the `EXCLUDE_FROM_ALL` flag to prevent
`libirrlichtmt.a` or other header files to be installed.

This enables the user to do the following to satisfy the IrrlichtMt
dependency:

git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt
cmake . -DRUN_IN_PLACE=TRUE
2021-06-29 10:57:19 +03:00
63fc728a84 Require 'basic_debug' priv to view gameplay-relevant debug info, require 'debug' priv to view wireframe (#9315)
Fixes #7245.
2021-06-24 21:21:19 +03:00
51bf4a6e26 Perform some quality assurance for translation strings (#11375) 2021-06-23 17:35:50 +01:00
c60a146e22 Rework Settings to support arbitrary hierarchies (#11352) 2021-06-23 15:22:31 +02:00
cec0dfcbbd Buildbot: Use posix on Win64 builds if available (#11355)
Use posix mingw-w64 toolchain on Win64 builds where applicable, avoids
many build errors when using buildwin64.sh to build 64 bit builds on
Ubuntu based Linux distributions
2021-06-22 19:59:09 +02:00
a8b7c8ff38 Server: Ignore whitespace-only chat messages 2021-06-22 19:47:18 +02:00
b5c09ada79 Document hypertext escaping (#11374) 2021-06-22 13:42:40 +01:00
a7143c2a8c Move build/android directory to root of project (#11283) 2021-06-21 20:51:42 +01:00
7fdbf3f231 Update builtin locale (#11371) 2021-06-21 18:55:55 +01:00
9d2e7fc983 Strip carriage returns from lines in settingtypes.txt (#11338)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2021-06-21 18:55:48 +01:00
4b9a51ff0d Update Dockerfile and improve build speed (#11313)
Use ninja to build image, rename docker build steps: builder and runtime, add argument for docker image version

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-21 18:55:38 +01:00
b28523bf38 Fix some typos in builtin (#11370) 2021-06-21 17:30:29 +01:00
2db6b07de1 Inventory: show error on invalid list names (#11368) 2021-06-20 17:21:50 +02:00
b10091be9b Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)
This check can be used by ABM to reduce CPU usage.
2021-06-20 17:21:35 +02:00
1805775f3d Make chat web links clickable (#11092)
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-20 17:20:24 +02:00
e1b297a14b Add roadmap (#10536) 2021-06-17 04:15:30 +01:00
88bda3d914 Update translation files 2021-06-16 18:28:05 +02:00
cb5dd0dae4 Update minetest.conf.example and dummy translation file 2021-06-16 18:27:45 +02:00
ce0541fc0e Translated using Weblate (Chinese (Simplified))
Currently translated at 95.1% (1290 of 1356 strings)
2021-06-16 18:23:10 +02:00
165986beb0 Translated using Weblate (Spanish)
Currently translated at 81.5% (1106 of 1356 strings)
2021-06-16 18:23:10 +02:00
3474b97921 Translated using Weblate (Esperanto)
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
5915941eba Translated using Weblate (Chinese (Traditional))
Currently translated at 75.6% (1026 of 1356 strings)
2021-06-16 18:23:10 +02:00
8575d68d49 Translated using Weblate (Norwegian Bokmål)
Currently translated at 58.1% (789 of 1356 strings)
2021-06-16 18:23:10 +02:00
42aa81befd Translated using Weblate (Esperanto)
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
392408401c Translated using Weblate (Marathi)
Currently translated at 8.6% (117 of 1356 strings)
2021-06-16 18:23:10 +02:00
dd3409c961 Added translation using Weblate (Marathi) 2021-06-16 18:23:10 +02:00
1a5279e911 Translated using Weblate (Russian)
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
a3b480e300 Translated using Weblate (Ukrainian)
Currently translated at 44.6% (606 of 1356 strings)
2021-06-16 18:23:10 +02:00