aboutsummaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
2023-03-07Add keybind to swap items between handsHEADdual_wieldingElias Fleckenstein
2023-03-07Add setting to mirror handsElias Fleckenstein
2023-03-07Dual wieldingLizzy Fleckenstein
2023-03-05Tile: Fix segfault caused by invalid PNG dataSmallJoker
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-26Sky: transmit body_orbit_tilt to client. (#13193)sofar
This obsoletes the current client-side setting entirely. The server can transmit the tilt to the client directly and will send 0.0f as default value. Co-authored-by: x2048 <codeforsmile@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
2023-02-22Fix a -Wreorder warningDS
2023-02-21Reduce client's packet processing budget per iteration from 100 to 10ms. ↵lhofhansl
(#13237)
2023-02-20Fix rounding errors when slicing the shadow draw list (#13226)x2048
2023-02-20Add chat HUD flag (#13189)Alex
2023-02-18Remove dead code behind Irrlicht version checkssfan5
2023-02-18Source image tracking in tile generation (#12514)20kdc
2023-02-16Add mesh-holding blocks to shadow drawlist. (#13203)lhofhansl
When mesh chunking and shadows are enabled, make sure that the mesh-holding blocks are added to the shadow drawlist. Otherwise those portions of the shadows will not be rendered.
2023-02-08Generalize mesh chunking, and make it configurable. (#13179)lhofhansl
* Generalize mesh chunking. Set 3x3x3 chunks. * Make mesh chunk size configurable... Default to 1 (off). * Extract all mesh grid maths into a dedicated class --------- Co-authored-by: x2048 <codeforsmile@gmail.com>
2023-02-01Separate drawlist from non-rendered blocks. (#13176)lhofhansl
2023-01-318x block meshes (#13133)x2048
Reduce the number of drawcalls by generating a mesh per 8 blocks (2x2x2). Only blocks with even coordinates (lowest bit set to 0) will get a mesh. Note: This also removes the old 'loops' algorithm for building the draw list, because it produces visual artifacts and cannot be made compatible with the approach of having a mesh for every 8th block without hurting performance. Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com> Co-authored-by: Lars <larsh@apache.org> Co-authored-by: sfan5 <sfan5@live.de>
2023-01-23Remove the 'loops' occlusion culler (#13169)x2048
2023-01-23Decrease minimum for repeat_place_time (#13165)DS
2023-01-23Clear exposure compensation state textures on creation (#13151)x2048
2023-01-19Fix concurrency in texture source (#13150)x2048
2023-01-16Revisit F6 statistics formatting (#13126)SmallJoker
2023-01-09Remove mapblock cache for mesh generation. (#13124)x2048
Reduces memory consumption and improves performance
2023-01-08Fix crash on Android with IrrlichtMt9 (#13123)ROllerozxa
Caused by mouse control
2023-01-08Clamp player wieldindex when processing hotbar item selection (#13098)iliekprogrammar
2023-01-06Add dynamic exposure correction (#12959)x2048
* Add uniform for frame delta time * Adjust exposure in logarithmic (EV) space * Add network support and LUA API * Add testing mod
2023-01-06Occlusion culling algorithm based on recursive descend (#13104)x2048
Co-authored-by: DS <vorunbekannt75@web.de>
2022-12-27Use multiple threads for mesh generation (#13062)x2048
Co-authored-by: sfan5 <sfan5@live.de>
2022-12-25Allow saturation to be controlled by the server. (#13075)lhofhansl
2022-12-25Fully remove pageflip 3D mode (#13074)ROllerozxa
2022-12-24Fix progress bar look on HiDPI displays (#13055)Jean-Patrick Guerrero
2022-12-24Set and unset relative mouse mode where necessary (#12636)ndren
* Set and unset relative mouse mode where necessary Co-authored-by: sfan5 <sfan5@live.de>
2022-12-10Prevent air acceleration with 0 jump speed (#13036)Jude Melton-Houghton
2022-12-10Avoid out-of-bounds memory access in attached node placement prediction (#13038)Jude Melton-Houghton
2022-11-30Remove shader caching hack. (#12991)lhofhansl
2022-11-30Android: Segmentation fault fix, PendingIntent flag, and other fixes (#12960)Muhammad Rifqi Priyo Susanto
* Android: Segmentation fault fix, PendingIntent flag, and other fixes - Information about the crosshair is sent after camera initialization. - Since API 31, PendingIntent requires mutability flag. - super (class) is called in onRequestPermissionsResult(). - GameActivity suppresses "unused" warning since most of its methods are called from native code. - Non-null safety is added for nullable function calls. - Warning/error logging is added for various function calls' return value. * Move utility functions into Utils.java - Some nullable functions are changed to be non-null functions. - Some null checking outside it is removed. - More annotations are added to functions and parameters.
2022-11-28Wrap debug text on screen (#12978)Jude Melton-Houghton
2022-11-24Rename "mod metadata" to "mod storage" everywhereJude Melton-Houghton
2022-11-24Add support for attached facedir/4dir nodes (#11432)Wuzzy
2022-11-23Fix entity visiblity in bright artificial light (#12906)x2048
2022-11-20Avoid shadow flicker at certain angles (#12961)x2048
Change the way look direction and camera position are quantized when calculating light frustum
2022-11-20Object selection: Improve distance checks (#12974)DS
2022-11-18Add configurable saturation (#12865)lhofhansl
* Add configurable saturation Co-authored-by: Pevernow <3450354617@qq.com> Co-authored-by: x2048 <codeforsmile@gmail.com> Author: Lars <larsh@apache.org>
2022-11-09Resize hotbar immediately before drawing (#12930)x2048
2022-11-09Fix typos and en_US/en_GB inconsistency in various files (#12902)Abdou-31
2022-11-03Reduce exposure of various internals (#12885)Loïc Blot
* refactoring(StaticObjectList): don't expose m_active and m_stored anymore This prevents our old crap code where anyone can access to StaticObjectList. use proper modifiers. It also permits to do a short cleanup on MapBlock using a helper * refactoring(MapBlock): reduce a bit exposed m_active_blocks variable * refactoring: MapBlock::m_node_timers is now private We already had various helpers to perform this privatization, just use it. Also factorize the MapBlock stepping code for timers using already existing code and importing them from ServerEnvironment to MapBlock. It's currently done pretty straight forward without any inheritance as MapBlock is just used everywhere, maybe in a future we'll have ServerMapBlock over MapBlock. Currently for a simple function let's just use proper objects and add a comment warning * refactoring(Server): fix duplicated function for add/remove node * refactoring(guiFormSpecMenu): add removeAll function to prevent duplicated code * refactoring(ShadowRenderer) + perf: code quality + increase performance * All callers are already using the point and we should never test a function with nullptr node, it's a bug. Removed workaround which was hacky and fix the bug * Drop clientmap lookup from shadowrendered, just use directly its pointer and forbid to push it in the generic list * Reduce memory pressure on the renderShadowObject by preventing deallocating and reallocating multiple vectors on each node * refactoring(MapBlock): reduce exposure of MapBlock::m_static_objects It's not complete as some parts of the code are pretty nested, but it's better than before :) * fix: better working on new functions & drop unwanted 2 lines Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com> Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2022-11-02Improve bloom effect (#12916)x2048
* Remove the built-in exposure factor of 2.5 * Add physics-based bloom (https://learnopengl.com/Guest-Articles/2022/Phys.-Based-Bloom) * Add luminance scaling for bloom layer to simulate HDR * Add setting to control bloom strength
2022-10-31Send crosshair setting after the touch screen GUI has been initialized (#12910)Muhammad Rifqi Priyo Susanto
2022-10-30Enable negative values for sun/moon orbit tilt (Northern hemisphere) (#12904)x2048
2022-10-30Add comments explaining use of entity glowx2048