aboutsummaryrefslogtreecommitdiff
path: root/src/client (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch MeshUpdateQueue to better data structuresfan52022-08-022-8/+8
|
* Ratelimit MeshUpdateQueue::cleanupCache() runssfan52022-08-022-1/+12
|
* Fix Android blank screen (#12604)ROllerozxa2022-07-311-0/+4
| | | | Hardcode the variables to 0 on Android
* HUD: Fix wrong minimum scale since 051181fSmallJoker2022-07-311-1/+1
| | | | Caused by wrong interpretation of the settingtypes.txt format
* Fix some warnings (#12615)rubenwardy2022-07-303-4/+1
|
* Allow direction keys with autoforward againsfan52022-07-291-2/+4
| | | | | This was unintentionally removed in commit 1d69a23. fixes #12048
* Restore flags texture to fix interlaced stereo mode (#12560)x20482022-07-191-1/+6
|
* Offset cuboid origin after scaling the cuboid. (#12558)x20482022-07-191-5/+2
| | | This avoids the problem of offset nodes with visual_scale > 1.
* Fix automatic rotate for attached entities (#12392)Lars Müller2022-07-171-1/+1
|
* Remove workaround for normals not matching winding order (#12460)x20482022-07-171-16/+0
| | | Co-authored-by: sfan5 <sfan5@live.de>
* Refactor ModConfigurationrubenwardy2022-07-141-1/+16
|
* Make BlendMode::alpha the fallback for unknown future blend modesDmitry Kostenko2022-07-131-7/+5
|
* Animated particlespawners and more (#11545)Lexi Hale2022-07-132-88/+424
| | | | | Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
* Sounds: Various little improvements (#12486)SmallJoker2022-07-092-58/+52
| | | | | Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
* Enforce limits of settings that could cause buggy behaviour (#12450)SmallJoker2022-07-0912-36/+42
| | | Enforces the setting value bounds that are currently only limited by the GUI (settingtypes.txt).
* Release shadow mapping resources when not needed (#12497)x20482022-07-095-31/+45
|
* FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)Vincent Robinson2022-07-032-24/+33
| | | | | | | | | | | * 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
* Allow to set maximum star opacity at daytime (#11663)Wuzzy2022-07-023-2/+7
|
* Remove an unused method and header includessfan52022-06-282-7/+0
|
* Fix two memleak reports from Coverity (#12466)JosiahWI2022-06-261-1/+1
|
* Re-order sound-related code (#12382)SmallJoker2022-06-203-12/+12
| | | | | | | | 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.
* Fix CAO light calculation issuesfan52022-06-191-1/+1
|
* Fix updating glow on entitiessfan52022-06-172-5/+3
| | | | was broken in #10021 more than 2 years ago(!)
* No damage effects on hp_max change (#11846)Lars Müller2022-06-113-0/+5
|
* Mapblock Mesh BspTree: Increase the depth of block-level splitsx20482022-06-071-3/+8
| | | | ... before going node-level triangle search. Fixes transparent grass on transparent land
* Add register dialog to separate login/register (#12185)rubenwardy2022-06-054-45/+20
| | | | | | | | | | 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
* Properly keep noclip state in Game and ClientMapsfan52022-06-033-17/+23
|
* Remove obsolete eye_height related workaroundsfan52022-06-032-23/+1
| | | | | | 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.
* Make sure real disconnect reason isn't overwrittensfan52022-05-291-1/+1
| | | | bug introduced in 2f32044273d107e82fb1c35d4a0f616fa480cdf0
* Remove remains of video mode queryingsfan52022-05-292-16/+0
|
* Force-update shadows when the world is changed (#12364)x20482022-05-263-6/+19
|
* Improve code in mapblock_mesh.cpp a bitsfan52022-05-261-21/+13
|
* Quantize light frustum calculations (#12357)x20482022-05-231-1/+19
| | | | | | | * Quantize light frustum calculations Reduces shadow flicker * Fix function name to match conventions
* Fixes needed to use irrArray backed by std::vector (#12263)paradust72022-05-224-33/+47
|
* Don't ignore server disconnects in client codesfan52022-05-211-3/+5
| | | | | If the server stops talking to us without saying bye we should actually end the in-game session with an error message.
* Improve shadow filters (#12195)x20482022-05-213-0/+5
| | | | | | | | | * 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
* Fix lighting of upright_sprite entities (#12336)x20482022-05-201-6/+2
| | | Use MeshNode materials to set the light since ReadOnlyMaterials is now false
* Fix lighting of the wield mesh (#12341)x20482022-05-203-3/+11
| | | | | * Assign node light to player before final color blend. Fixes day/night lightbank ratio for wield meshes * Update wield mesh light when changing mesh
* Use std::map instead of core::map (#12301)paradust72022-05-181-1/+0
|
* Initialize wield mesh color when wield_image is setDmitry Kostenko2022-05-151-0/+3
| | | | #12245
* HUD: Update selection mesh every frame (#12270)Lars Müller2022-05-091-3/+5
| | | Fixes outdated selection boxes after entity property changes.
* Consolidate some data structures in MapBlockMeshsfan52022-05-082-38/+44
|
* Fix mapblock geometry optimisation not workingROllerozxa2022-05-081-1/+0
| | | | Caused by the depth sorting PR marking not only transparent nodes to be ignored but also opaque ones with the TILE_MATERIAL_BASIC material type
* Avoid rendering invisible faces of simple nodeboxes (#12262)x20482022-05-042-13/+82
| | | | | | * Skip rendering faces adjacent to opaque nodes * Cancel out opposite faces of adjacent nodebox nodes of the same type Fixes #6409
* guiScalingFilter: Fix most memory leaks (#12256)SmallJoker2022-05-042-3/+11
| | | | Calls to the cache function ended up creating a new texture regardless whether the texture is already cached.
* Make logging cost free when there is no output target (#12247)paradust72022-05-042-2/+2
| | | | | The logging streams now do almost no work when there is no output target for them. For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
* Fix broken FPS/dtime counters in debug infosfan52022-05-031-1/+1
| | | | was broken by a89afe1229e327da3c397a3912b2d43d2196ea2b
* Initialize wield mesh colors when changing item. (#12254)x20482022-05-011-0/+8
| | | Fixes #12245
* Deal with compiler warningssfan52022-04-308-19/+18
|
* Refactor local time getter functions (#12221)Oblomov2022-04-281-3/+2
| | | | | | | | | | | | | | | | | This commit introduces mt_localtime() in src/gettime.h, a wrapper around the OS-specific thread-safe versions of localtime() (resp. localtime_s on Windows and localtime_r in other systems). Per the Open Group recommendation, «portable applications should call tzset() explicitly before using ctime_r() or localtime_r() because setting timezone information is optional for those functions», so we also do a one-shot call of tzset() (_tzset() on Windows to avoid warning C4996). The function is used to replace the localtime() calls in getTimestamp() and makeScreenshot(). (The only reminaing call to localtime() in the tree now is the one in the local copy of the Lua source code.)