aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-04-13Enable stencil shadowsstencil_shadowsLizzy Fleckenstein
Needs https://github.com/LizzyFleckenstein03/irrlicht to compile. TODO: - make lighting directional (figure out z-fighting issues) - set light angle to sun angle - add dynamic lights for torches (use light manager?) - shadow map terrain - finally get some sleep
2023-04-11Remove formspec_default_bg_color/opacity settings (#13419)rubenwardy
These settings are unnecessary. They only apply when formspecs don't have a background/bgcolor set. In practice, most games do theme their GUIs. Removing low value settings simplifies code and improves UX by decluttering the settings menu Split out from #12140
2023-04-11Get rid of global dummySoundManagerDesour
There is no need for this to be globally unique.
2023-04-11Use smart-ptrs in GUIEngineDesour
2023-04-11Add make_irrDesour
2023-04-10Add node pos to node damage HP change reason (#13196)Riley Adams
2023-04-09Do not call updateDrawList, updateDrawListShadow, and touchMapBlocks in the ↵Lars
same frame
2023-04-09Add a default direction light for shadowsLars
2023-04-08Drop ENABLE_GLES optionsfan5
ENABLE_GLES predates forking Irrlicht. Its primary use was to distinguish Irrlicht-ogles from upstream version as Minetest could be compiled with either. That's not necessary anymore and gets in the way sometimes.
2023-04-08Move video_driver default selection to runtimesfan5
2023-04-08Get rid of wgettextDesour
2023-04-08Remove fast faces (#13216)Vitaliy
Co-authored-by: Lars <larsh@apache.org>
2023-04-08Particle spawner: Fix missing parametersSmallJoker
The changes done to clientpackethandler.cpp and server.cpp move the compatibility code into a protocol version check so that older code parts can easily be removed in the future (e.g. bump of minimal version).
2023-04-08Particle spawner: Move definitions to sourceSmallJoker
Long functions were moved to the source file to keep the header short to speed up compiling. This has no functional change.
2023-04-07Lua API: Catch serialization error for chat messages (#13337)SmallJoker
Prevents server errors caused by too long chat messages from the Lua API.
2023-04-07Limit formspec fields to 640K (#13380)SmallJoker
Fixes an issue where long inputs could cause issues when dealing with formspecs. The expected data is usually below 1 KiB, however that's not a technical limit.
2023-04-03Take mesh-bounding-sphere into account in updateDrawListShadowLars
2023-04-03Revert "Add mesh-holding blocks to shadow drawlist. (#13203)"Lars
This reverts commit 2a8becd650a8adaa86fd7f76122ea75f11f49dad.
2023-04-02Revert "Enable connected glass by default (#13242)"SmallJoker
This reverts commit a93f3542d92e87c3d728f067358e6f42b31cfe96 for the upcoming 5.7.0 release. See https://github.com/minetest/minetest/issues/8290 for a detailed discussion.
2023-04-01Corrections to loops and BFS cullers (#13375)x2048
* Reset usage timers in loops culler * Correctly touch map blocks when using bfs culler * Align use of variables * Report statistics when using loop culler
2023-04-01Do not rely on ZSTD_CLEVEL_DEFAULT definesfan5
2023-03-30Restart map-send cycle if visible blocks are soon to be unloaded. (#13277)lhofhansl
* Restart map-send cycle if visible blocks are soon to be unloaded. * Reset completion timer when camera or position changed. Co-authored-by: sfan5 <sfan5@live.de>
2023-03-30Return 'loops' occlusion culler under a setting (#13352)x2048
* Add occlusion_culler setting to minetest.conf.example * Add raytraced occlusion culling to 'loops' algorithm --------- Co-authored-by: sfan5 <sfan5@live.de>
2023-03-29Bump protocol versionsfan5
and correct documentation of previous version
2023-03-27Fix safeLoadFile() skipping 2 chars too much from the shebang (#13310)DS
2023-03-24Safely handle block deletion (#13315)DS
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2023-03-24Return shadow_sky_body_orbit_tilt settingx2048
Used as a default value when the game does not change the value via API (e.g. legacy server)
2023-03-20Move rendering engine reset after deletion of game objectsx2048
2023-03-19Move drawing of wield tool into a dedicated step of the pipeline (#13338)x2048
2023-03-19Fix server-side formspec state keeping issue (#13332)luk3yx
2023-03-19Remove obsolete rendering core init code (#13341)x2048
Also removes duplicate call to shadow render step
2023-03-16Remove default keybind for pitchmove (#13319)Gregor Parzefall
2023-03-16Fix occasional black screen on startupx2048
2023-03-13Update nodes in LBM loopJude Melton-Houghton
2023-03-13Improvement of #12974: better linear independent vector (#12979)DS
2023-03-12Fix rendertarget size being saved as screensize (#13313)DS
2023-03-12Fix infinite viewing_range (#13225)lhofhansl
Use a simplified version of the old loops culler for infinite viewing range.
2023-03-11Fix ChatPrompt crash in very narrow windows (#13305)DS
In very narrow windows, `m_cols` can be small (i.e. 0). Hence, `m_view <= m_line.size() + 1 - m_cols` does not guarantee `m_view <= m_line.size()`. `std::string::substr(pos, npos)` requires `pos <= size()`.
2023-03-11Scale culler steps proportionally to the mesh sizes (#13250)x2048
2023-03-09Update minetest.conf.example and translation fileupdatepo.sh
2023-03-05Reduce server CPU consumed by occlusion culling. (#13260)lhofhansl
Cache blocks already occluded at a specific distance. The RemoteClient typically visits the same distance multiple time - especially at larger distances, so this saves significant CPU from recalculating the occlusion state of blocks.
2023-03-05Minor adjustments now that OpenGLES 2 is the default driver on Android (#12391)ROllerozxa
2023-03-05Tile: Fix segfault caused by invalid PNG dataSmallJoker
2023-03-03Remove accidental emacs files.Lars
2023-03-03Log server map send cycle time. (#13259)lhofhansl
* Measure server map send time per player.
2023-03-02Re-enable verbose logging on Androidsfan5
Without recompiling, there's no way to see it in logcat otherwise.
2023-03-02Enable connected glass by default (#13242)PrairieWind
2023-03-01Drop dependency on IrrCompileConfignumzero
The only remaining thing is IRRLICHT_SDK_VERSION via irrlicht.h
2023-02-27Add minetest.get_player_window_information() (#12367)rubenwardy
2023-02-27Fix for #13255: Check if client has a block even if the server has unloaded ↵lhofhansl
it. (#13256)