aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-05-30Invalid float vector dimension range: clamp and warn instead of crashclampElias Fleckenstein
2022-05-29Fix use-after-free in node meta cleanupsfan5
bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7
2022-05-29Reject registering node with empty namesfan5
fixes #10769
2022-05-29Minor code improvements around active block keepingsfan5
2022-05-29Immediately activate blocks when a player joinssfan5
issue: #10884 This makes it possible for objects to immediately be activated, but doesn't guarantee it since blocks may still need be emerged.
2022-05-29Remove debug.get/setmetatable from security whiteliststefan
fixes #12216
2022-05-29Handle lua entity HP changes correctly (like punches)sfan5
fixes #11975
2022-05-29Make sure real disconnect reason isn't overwrittensfan5
bug introduced in 2f32044273d107e82fb1c35d4a0f616fa480cdf0
2022-05-29Fix linking with Postgres libs on older cmake versionssfan5
closes #12149
2022-05-29Remove remains of video mode queryingsfan5
2022-05-29Get rid of node metadata when it becomes emptysfan5
fixes #8943
2022-05-29Optimize Server::sendMetadataChanged a bitsfan5
The distance check also never worked as intended, now fixed.
2022-05-29Add API function to invoke player respawnsfan5
closes #12272
2022-05-29Protect a few more settings from being set from modssfan5
Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution.
2022-05-29Map opaque waving leaves to allfaces drawtypesfan5
fixes #9842
2022-05-29Improve a translation stringsfan5
fixes #11442
2022-05-26Force-update shadows when the world is changed (#12364)x2048
2022-05-26Reduce size of ContentFeatures structuresfan5
On my system this is a reduction from 4664 to 3704 bytes. This is not for the sake of saving RAM but ensuring commonly used structures fit into caches better.
2022-05-26Get rid of global buffer that would ruin concurrent MapBlock serializationsfan5
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-23Fix hash implementation for SerializedBlockCachesfan5
2022-05-23Use unordered_map instead of map for MapSectorsRichard Try
2022-05-23Add missing concurrency protection in logger (#12325)paradust7
2022-05-23Fix no_texture.png for unknown nodes with ID < 125 (#12329)Wuzzy
2022-05-22Replace all uses of core::list with std::list (#12313)paradust7
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-21Optimize JSON string (de)serialization routinessfan5
stringstreams were shown to be slow when reading/writing single characters and there is lots of potential by having functions perform on existing buffers whenever possible.
2022-05-21Improve testSerializeJsonString unit testssfan5
this also removes the requirement that / is escaped, there is no reason for doing so.
2022-05-21Deprecate game.conf name, use title instead (#12030)rubenwardy
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
2022-05-20Fix lighting of the wield mesh (#12341)x2048
* Assign node light to player before final color blend. Fixes day/night lightbank ratio for wield meshes * Update wield mesh light when changing mesh
2022-05-18Use std::map instead of core::map (#12301)paradust7
2022-05-17Remove confusing message in keybindings menusavilli
2022-05-15Initialize wield mesh color when wield_image is setDmitry Kostenko
#12245
2022-05-10Use native packer to transfer globals into async env(s)sfan5
2022-05-10Support packing arbitrary graphs (#12289)Jude Melton-Houghton
2022-05-10Fix cooking and fuel crafts with aliasesJude Melton-Houghton
2022-05-10Fix possible unreliable behavior due to uninitialized variablesOctavian
2022-05-09Add more Prometheus metrics (#12274)sfan5
2022-05-09HUD: Update selection mesh every frame (#12270)Lars Müller
Fixes outdated selection boxes after entity property changes.
2022-05-08Consolidate some data structures in MapBlockMeshsfan5
2022-05-08Cache serialized mapblocks during sendingsfan5
This reduces the (absolute) time spent in Server::SendBlocks() from 700ms to 300ms (relative) share of MapBlock::serialize() from 80% to 60% in a test setup with 10 players and many block changes
2022-05-08Fix mapblock geometry optimisation not workingROllerozxa
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
2022-05-06Add benchmarks for json string serialize/deserialize (#12258)paradust7
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-06Enable chat clickable weblinks by default (#12115)Froggo
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-04Fix Windows Visual Studio actions (#11176)LoneWolfHT
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-04Avoid rendering invisible faces of simple nodeboxes (#12262)x2048
* Skip rendering faces adjacent to opaque nodes * Cancel out opposite faces of adjacent nodebox nodes of the same type Fixes #6409