aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-09-18Allow getmetatable in CSM (#12776)Jude Melton-Houghton
2022-09-18Client map: do frustum culling via planes (#12710)DS
2022-09-16Fix UAF in craft recipes (#12763)savilli
If you call minetest.clear_craft after minetest.register_alias_force, the craft definition reference may not be removed from m_output_craft_definitions leading to UAF.
2022-09-16Add support for MINETEST_USERDATA environment variable (#12639)William Breathitt Gray
The MINETEST_USER_PATH environment variable can be used to define a custom path for Minetest user data. If MINETEST_USER_PATH is empty or unset, the HOME (or APPDATA on Windows) environment variable is used as the default user data path; this ensures backwards compatibility with existing user setups.
2022-09-16Add paramtype2s for 4 horizontal rotations and 64 colors (#11431)Wuzzy
4dir is like facedir, but only for 4 horizontal directions: NESW. It is identical in behavior to facedir otherwise. The reason why game makers would want to use this over facedir is 1) simplicity and 2) you get 6 free bits. It can be used for things like chests and furnaces and you don't need or want them to "flip them on the side" (like you could with facedir). color4dir is like colorfacedir, but you get 64 colors instead of only 8.
2022-09-13Fix tooltips for dropdown, scrollbar and more (#12747)DS
2022-09-12Mainmenu: Properly sort mods and games (#12758)SmallJoker
This also removes trivial and unused pkgmgr functions Fixes a bug caused by sorting in 2133fc8
2022-09-11Fix potential use-after-free with item metadata (#12729)Jude Melton-Houghton
This fixes a use-after-free bug in the case where itemstack metadata is accessed after the itemstack has been garbage-collected.
2022-09-10Allow looped animation to be used safely with old clientssfan5
fixes #12657
2022-09-10Chat weblink: remove comma as delimiter (#12730)pecksin
2022-09-06Add documentation of sun/moon orientation/scale differences (#12145)DS
2022-09-06Code optimizations / refactor (#12704)Herman Semenov
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-09-06Implement rendering pipeline and post-processing (#12465)x2048
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: lhofhansl <lhofhansl@yahoo.com>
2022-09-04Convert entity glow value to color space before adding to the lightx2048
2022-08-24Fix texture_min_sizefluxionary
2022-08-19Prevent loading a world with unresolved dependencies (#12542)rubenwardy
2022-08-17Use Sky class to obtain directional light source position for shadows (#12662)x2048
* Also remove unused Sky::getSkyBodyOrbitTilt method Fixes misalignment of sun position and shadow direction at high tilt values.
2022-08-16Log sockets into tracestream instead of dstream (#12701)celeron55
2022-08-15Apply DPI Scaling to GUIModalMenu (#12693)Elliott Lester
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-14Limit force shadow update to urgent blocks (#12692)x2048
2022-08-14Add handling of environment variables to control terminal/logging colors ↵Lion
(#12641)
2022-08-13Reduce the use of porting::getTimeMs() when rendering frames (#12679)x2048
* Avoid calling TimeTaker too frequently in renderMapXXX * Calculate animation timer once per frame * Remove code that breaks rendering frame at 2000ms Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: sfan5 <sfan5@live.de>
2022-08-13Check hp_max > 0 for entities (#12667)Lars Müller
2022-08-13Allow buffer argument to VoxelManip:get_light_data (#12682)Jude Melton-Houghton
2022-08-13Remove default keybind for range select (#12632)fluxionary
Reason: accidental key presses, few use-cases.
2022-08-13Textures: introduce world-align overrides (#12540)SmallJoker
Many games do not care about world align textures, however texture packs should have the capabilities to change that if they have suitable textures. This commmit now introduces a node property override for world-align in particular to force a certain scale on the selected override tiles.
2022-08-12Physics overrides: Move values to a common struct (#12591)SmallJoker
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-10Fix crash when stars are resetZughy
2022-08-05Enable C++ stdlib assertions in debug flagssfan5
2022-08-04Bump protocol versionsfan5
Better late than never.
2022-08-04Disable dynamic shadow dropdown on OGLES2 (#12637)ROllerozxa
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-02Explicitly initialize value of particle parameter. Fixes #12621.x2048
2022-08-02Run Minetest update checker on startup (#7629)SmallJoker
This feature is enabled by default for non-Android release builds. Package maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it. Co-authored-by: rubenwardy <rw@rubenwardy.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-08-02Switch MeshUpdateQueue to better data structuresfan5
2022-08-02Ratelimit MeshUpdateQueue::cleanupCache() runssfan5
2022-08-02Add `minetest.settings` to CSM API and allow CSMs to provide ↵AFCMS
`settingtypes.txt` (#12131) Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-07-31Use legacy image implementation (no NNAA filter) when not using 9-slice ↵x2048
image (#12608)
2022-07-31Apply NetBSD string conversion workaround to OpenBSD as well (#12618)Mantar
2022-07-31Fix Android blank screen (#12604)ROllerozxa
Hardcode the variables to 0 on Android
2022-07-31HUD: Fix wrong minimum scale since 051181fSmallJoker
Caused by wrong interpretation of the settingtypes.txt format
2022-07-30Fix some warnings (#12615)rubenwardy
2022-07-29Fix media overriding regression (#12602)Lars Müller
2022-07-29Allow direction keys with autoforward againsfan5
This was unintentionally removed in commit 1d69a23. fixes #12048
2022-07-23Let core.get_mod_storage be called multiple times (#12572)Jude Melton-Houghton
2022-07-20Update minetest.conf.exampleupdatepo.sh
2022-07-19Restore flags texture to fix interlaced stereo mode (#12560)x2048
2022-07-19Offset cuboid origin after scaling the cuboid. (#12558)x2048
This avoids the problem of offset nodes with visual_scale > 1.
2022-07-17Fix automatic rotate for attached entities (#12392)Lars Müller
2022-07-17Remove workaround for normals not matching winding order (#12460)x2048
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-17Deprecate loading a world with unresolved dependencies (#12541)rubenwardy
Co-authored-by: sfan5 <sfan5@live.de>