Commit Graph

10550 Commits

Author SHA1 Message Date
lhofhansl 56d2567b5d
Separate drawlist from non-rendered blocks. (#13176) 2023-02-01 08:41:23 -08:00
kab0u 8bbb673c0b
Improve the documentation for chat command definition in lua_api.txt (#13168) 2023-01-31 17:31:48 +01:00
x2048 69fc206109
8x block meshes (#13133)
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-31 17:30:59 +01:00
lhofhansl cded6a3945
Display whole profiler numbers up to 999999 without scientific notation. (#13155) 2023-01-24 17:40:23 -08:00
x2048 b8aaad4f1e
Remove the 'loops' occlusion culler (#13169) 2023-01-23 10:58:29 +01:00
DS 8478796226
Decrease minimum for repeat_place_time (#13165) 2023-01-23 00:20:12 +01:00
sfan5 87d509e462
Implement --debugger option to improve UX when debugging crashes (#13157) 2023-01-23 00:19:30 +01:00
x2048 6f5703baf1
Clear exposure compensation state textures on creation (#13151) 2023-01-23 00:18:48 +01:00
veprogames cf5add1472
Use default values from cpp_api/s_env.cpp for register_abm in lua_api.txt (#13163) 2023-01-21 09:43:20 +01:00
maxchen32 47c8b5d57a
Fix a README mistake on option SPATIAL_LIBRARY (#13162) 2023-01-21 09:42:55 +01:00
x2048 ca13c51024
Fix concurrency in texture source (#13150) 2023-01-19 21:44:27 +01:00
Wuzzy e21d5613a6
Change DevTest header (font = "undefined medium") (#13147)
Font downloaded from https://undefined-medium.com/
2023-01-16 20:16:45 +01:00
SmallJoker ecd6d61697
Revisit F6 statistics formatting (#13126) 2023-01-16 20:16:23 +01:00
Muhammad Rifqi Priyo Susanto a2a280691c
Fix Enter key after creating a new world (#12997)
Prevents Enter key or "double-click" event to play the world just after creating a new world
2023-01-16 20:16:08 +01:00
Jude Melton-Houghton 2f9f0c0900
Improve chat history (#12975) 2023-01-14 16:14:37 -05:00
sfan5 8fded9d990
Disable Prometheus in singleplayer mode 2023-01-14 13:11:15 +01:00
Jude Melton-Houghton 3992a13f24
Improve `MetaDataRef:{get,set}_float` precision (#13130) 2023-01-12 15:40:34 -05:00
Jude Melton-Houghton 5f2925c59c
Increase `ftos` precision (#13141) 2023-01-12 14:12:31 -05:00
Jude Melton-Houghton 956026bb6b
Break long lines of option help (#13136) 2023-01-12 14:12:05 -05:00
Jude Melton-Houghton ab1fe80150
Error when string.split is given empty separator (#13132) 2023-01-10 09:25:48 -05:00
Wuzzy a3177b89d8
DevTest: `chest_of_everything` mod: Add search, bag, improve formspec (#13064) 2023-01-09 21:40:41 +01:00
x2048 139db66901
Remove mapblock cache for mesh generation. (#13124)
Reduces memory consumption and improves performance
2023-01-09 21:40:08 +01:00
Jude Melton-Houghton d69cb4fb5d
Always set globals in __newindex (#13131) 2023-01-09 15:00:49 -05:00
ROllerozxa d0b6f217ae
Add option to exclude Development Test from release packages (#13081)
* `INSTALL_DEVTEST` is the option name
2023-01-09 20:34:13 +01:00
ROllerozxa 390b5caaaa
Fix crash on Android with IrrlichtMt9 (#13123)
Caused by mouse control
2023-01-08 14:04:17 +01:00
iliekprogrammar fb28ca463e
Clamp player wieldindex when processing hotbar item selection (#13098) 2023-01-08 14:03:16 +01:00
lhofhansl 55804c56e9
Report collisionMoveSimple for client and server. (#13105) 2023-01-07 16:31:31 -08:00
David Leal d82d18bfb1
Replace minetest_game with "Minetest Game" where appropriate 2023-01-07 12:58:16 +01:00
Desour d603619ad3 Devtest: Add jukebox 2023-01-06 22:38:35 +01:00
Desour 4685849f89 Devtest: Rename soundstuff init.lua 2023-01-06 22:38:35 +01:00
Desour 07624125ef Devtest: Add branding iron
Allows giving names to objects.
2023-01-06 22:38:35 +01:00
ROllerozxa bb74da5903
Remove old rollback migration code (#13082) 2023-01-06 22:35:20 +01:00
x2048 6d45c243f8
Add dynamic exposure correction (#12959)
* Add uniform for frame delta time
* Adjust exposure in logarithmic (EV) space
* Add network support and LUA API
* Add testing mod
2023-01-06 22:33:25 +01:00
x2048 2715cc8bf6
Occlusion culling algorithm based on recursive descend (#13104)
Co-authored-by: DS <vorunbekannt75@web.de>
2023-01-06 22:31:06 +01:00
sfan5 059f62d7d6 Use consistent optimization flags for *BSD
This was added for seemingly no reason in c410e9182d (2014)
2023-01-05 23:09:51 +01:00
Awkanimus 0dbb20fd63
Document mod storage psql settings in world_format.txt 2023-01-05 21:59:08 +01:00
sfan5 6377ce921d Bump used IrrlichtMt version 2022-12-31 12:48:53 +01:00
x2048 89e7f72c92
Use multiple threads for mesh generation (#13062)
Co-authored-by: sfan5 <sfan5@live.de>
2022-12-27 18:44:18 +01:00
SmallJoker 03e710160f
Lua API: Document shader dependencies of set_lighting() (#13079) 2022-12-26 21:59:55 +01:00
lhofhansl 1e7804aaf6
Allow saturation to be controlled by the server. (#13075) 2022-12-25 16:15:32 -08:00
ROllerozxa afd5caa26a
Fully remove pageflip 3D mode (#13074) 2022-12-25 10:57:39 -05:00
ROllerozxa 7f01471141
Fix join game tab being slightly shorter than the others (#13073) 2022-12-25 10:57:21 -05:00
Jean-Patrick Guerrero 33363c2a7e
Fix progress bar look on HiDPI displays (#13055) 2022-12-24 12:26:56 -05:00
Jude Melton-Houghton d13b12b791
Store `MapEditEvent` blocks in a vector (#13071) 2022-12-24 12:21:59 -05:00
Jude Melton-Houghton 5c248c2d7d Add callback on_mapblocks_changed 2022-12-24 08:24:59 -05:00
Jude Melton-Houghton 7701e70dc9 Make MapEditEvent more complete
SetBlocksNotSent is no longer used.
2022-12-24 08:24:59 -05:00
ndren 62ee02b8ba
Set and unset relative mouse mode where necessary (#12636)
* Set and unset relative mouse mode where necessary

Co-authored-by: sfan5 <sfan5@live.de>
2022-12-24 09:38:30 +01:00
Gregor Parzefall 475f85fc91
Document the gain of auto-selected dig sounds 2022-12-21 13:29:43 +01:00
Jude Melton-Houghton 0fc97a1483
Use a Lua error handler that calls tostring (#11913) 2022-12-15 07:37:49 -05:00
Jude Melton-Houghton 1f3b5e553b
Fix `plantlike_rooted` world-aligned node base textures (#12994)
Co-authored-by: Wuzzy <Wuzzy@disroot.org>
2022-12-12 08:45:09 -05:00