aboutsummaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
2022-09-18Client map: do frustum culling via planes (#12710)DS
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-10Allow looped animation to be used safely with old clientssfan5
fixes #12657
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-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-14Limit force shadow update to urgent blocks (#12692)x2048
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-12Physics overrides: Move values to a common struct (#12591)SmallJoker
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-04Disable dynamic shadow dropdown on OGLES2 (#12637)ROllerozxa
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-02Switch MeshUpdateQueue to better data structuresfan5
2022-08-02Ratelimit MeshUpdateQueue::cleanupCache() runssfan5
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-29Allow direction keys with autoforward againsfan5
This was unintentionally removed in commit 1d69a23. fixes #12048
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-14Refactor ModConfigurationrubenwardy
2022-07-13Make BlendMode::alpha the fallback for unknown future blend modesDmitry Kostenko
2022-07-13Animated particlespawners and more (#11545)Lexi Hale
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
2022-07-09Sounds: Various little improvements (#12486)SmallJoker
Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
2022-07-09Enforce limits of settings that could cause buggy behaviour (#12450)SmallJoker
Enforces the setting value bounds that are currently only limited by the GUI (settingtypes.txt).
2022-07-09Release shadow mapping resources when not needed (#12497)x2048
2022-07-03FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)Vincent Robinson
* FormSpec: 9-slice images and animated_images * Add fgimg_middle; clean up code * Address issues, add tests * Fix stupid error; bump formspec version * Re-add image[] elements without a size
2022-07-02Allow to set maximum star opacity at daytime (#11663)Wuzzy
2022-06-28Remove an unused method and header includessfan5
2022-06-26Fix two memleak reports from Coverity (#12466)JosiahWI
2022-06-20Re-order sound-related code (#12382)SmallJoker
Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated 'fade' and 'pitch' values on server-side where only one was used anyway. SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included. Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the future. Per-type version numbers are kept for now as a safety rope in a special case.
2022-06-19Fix CAO light calculation issuesfan5
2022-06-17Fix updating glow on entitiessfan5
was broken in #10021 more than 2 years ago(!)
2022-06-11No damage effects on hp_max change (#11846)Lars Müller
2022-06-07Mapblock Mesh BspTree: Increase the depth of block-level splitsx2048
... before going node-level triangle search. Fixes transparent grass on transparent land
2022-06-05Add register dialog to separate login/register (#12185)rubenwardy
New users find Minetest's account system confusing. This change moves username/password to a new dialog, with login and register buttons added to the Join Game tab. The old registration confirmation dialog is removed in favour of the new dialog. Fixes #8138
2022-06-03Properly keep noclip state in Game and ClientMapsfan5
2022-06-03Remove obsolete eye_height related workaroundsfan5
This was added a long time ago in 42bbd5c9ae06a8d8ffb7915599097ead6f848755 and meant to fix prevent the view becoming black when jumping into a ceiling, this no longer happens today.
2022-05-29Make sure real disconnect reason isn't overwrittensfan5
bug introduced in 2f32044273d107e82fb1c35d4a0f616fa480cdf0
2022-05-29Remove remains of video mode queryingsfan5
2022-05-26Force-update shadows when the world is changed (#12364)x2048
2022-05-26Improve code in mapblock_mesh.cpp a bitsfan5
2022-05-23Quantize light frustum calculations (#12357)x2048
* Quantize light frustum calculations Reduces shadow flicker * Fix function name to match conventions
2022-05-22Fixes needed to use irrArray backed by std::vector (#12263)paradust7
2022-05-21Don't ignore server disconnects in client codesfan5
If the server stops talking to us without saying bye we should actually end the in-game session with an error message.
2022-05-21Improve shadow filters (#12195)x2048
* Rewrite shadow filtering for the new distortion * Calculate penumbra radius using a single sample * Avoid peter-panning effect due to filtering of short shadows * Add adaptive filter quality for soft shadows * Avoid sharp shadows on surfaces without normals (e.g. plants) * Increase default and maximum soft shadow radius * Make line numbers in shader errors match the code
2022-05-20Fix lighting of upright_sprite entities (#12336)x2048
Use MeshNode materials to set the light since ReadOnlyMaterials is now false