Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Properly keep noclip state in Game and ClientMap | sfan5 | 2022-06-03 | 3 | -17/+23 | |
| | ||||||
* | Remove obsolete eye_height related workaround | sfan5 | 2022-06-03 | 2 | -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. | |||||
* | Add helper functions to make tool usable n times (#12047) | Wuzzy | 2022-06-03 | 6 | -3/+48 | |
| | ||||||
* | Fix use-after-free in node meta cleanup | sfan5 | 2022-05-29 | 1 | -1/+3 | |
| | | | | bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7 | |||||
* | Reject registering node with empty name | sfan5 | 2022-05-29 | 1 | -0/+3 | |
| | | | | fixes #10769 | |||||
* | Minor code improvements around active block keeping | sfan5 | 2022-05-29 | 2 | -9/+17 | |
| | ||||||
* | Immediately activate blocks when a player joins | sfan5 | 2022-05-29 | 2 | -2/+9 | |
| | | | | | | issue: #10884 This makes it possible for objects to immediately be activated, but doesn't guarantee it since blocks may still need be emerged. | |||||
* | Remove debug.get/setmetatable from security whitelist | stefan | 2022-05-29 | 1 | -2/+0 | |
| | | | | fixes #12216 | |||||
* | Handle lua entity HP changes correctly (like punches) | sfan5 | 2022-05-29 | 2 | -10/+21 | |
| | | | | fixes #11975 | |||||
* | Make sure real disconnect reason isn't overwritten | sfan5 | 2022-05-29 | 1 | -1/+1 | |
| | | | | bug introduced in 2f32044273d107e82fb1c35d4a0f616fa480cdf0 | |||||
* | Fix linking with Postgres libs on older cmake versions | sfan5 | 2022-05-29 | 1 | -0/+1 | |
| | | | | closes #12149 | |||||
* | Remove remains of video mode querying | sfan5 | 2022-05-29 | 2 | -16/+0 | |
| | ||||||
* | Get rid of node metadata when it becomes empty | sfan5 | 2022-05-29 | 2 | -7/+12 | |
| | | | | fixes #8943 | |||||
* | Optimize Server::sendMetadataChanged a bit | sfan5 | 2022-05-29 | 2 | -20/+21 | |
| | | | | The distance check also never worked as intended, now fixed. | |||||
* | Add API function to invoke player respawn | sfan5 | 2022-05-29 | 4 | -3/+25 | |
| | | | | closes #12272 | |||||
* | Protect a few more settings from being set from mods | sfan5 | 2022-05-29 | 1 | -4/+17 | |
| | | | | Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution. | |||||
* | Map opaque waving leaves to allfaces drawtype | sfan5 | 2022-05-29 | 1 | -2/+9 | |
| | | | | fixes #9842 | |||||
* | Improve a translation string | sfan5 | 2022-05-29 | 1 | -4/+2 | |
| | | | | fixes #11442 | |||||
* | Force-update shadows when the world is changed (#12364) | x2048 | 2022-05-26 | 3 | -6/+19 | |
| | ||||||
* | Reduce size of ContentFeatures structure | sfan5 | 2022-05-26 | 4 | -125/+143 | |
| | | | | | | 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. | |||||
* | Get rid of global buffer that would ruin concurrent MapBlock serialization | sfan5 | 2022-05-26 | 1 | -15/+19 | |
| | ||||||
* | Improve code in mapblock_mesh.cpp a bit | sfan5 | 2022-05-26 | 1 | -21/+13 | |
| | ||||||
* | Quantize light frustum calculations (#12357) | x2048 | 2022-05-23 | 1 | -1/+19 | |
| | | | | | | | * Quantize light frustum calculations Reduces shadow flicker * Fix function name to match conventions | |||||
* | Fix hash implementation for SerializedBlockCache | sfan5 | 2022-05-23 | 1 | -3/+2 | |
| | ||||||
* | Use unordered_map instead of map for MapSectors | Richard Try | 2022-05-23 | 2 | -2/+2 | |
| | ||||||
* | Add missing concurrency protection in logger (#12325) | paradust7 | 2022-05-23 | 2 | -4/+16 | |
| | ||||||
* | Fix no_texture.png for unknown nodes with ID < 125 (#12329) | Wuzzy | 2022-05-23 | 1 | -1/+1 | |
| | ||||||
* | Replace all uses of core::list with std::list (#12313) | paradust7 | 2022-05-22 | 16 | -148/+36 | |
| | ||||||
* | Fixes needed to use irrArray backed by std::vector (#12263) | paradust7 | 2022-05-22 | 6 | -55/+77 | |
| | ||||||
* | Don't ignore server disconnects in client code | sfan5 | 2022-05-21 | 1 | -3/+5 | |
| | | | | | If the server stops talking to us without saying bye we should actually end the in-game session with an error message. | |||||
* | Optimize JSON string (de)serialization routines | sfan5 | 2022-05-21 | 1 | -104/+113 | |
| | | | | | | 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. | |||||
* | Improve testSerializeJsonString unit tests | sfan5 | 2022-05-21 | 3 | -21/+62 | |
| | | | | | this also removes the requirement that / is escaped, there is no reason for doing so. | |||||
* | Deprecate game.conf name, use title instead (#12030) | rubenwardy | 2022-05-21 | 6 | -14/+70 | |
| | ||||||
* | Improve shadow filters (#12195) | x2048 | 2022-05-21 | 4 | -1/+6 | |
| | | | | | | | | | * 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) | x2048 | 2022-05-20 | 1 | -6/+2 | |
| | | | Use MeshNode materials to set the light since ReadOnlyMaterials is now false | |||||
* | Fix lighting of the wield mesh (#12341) | x2048 | 2022-05-20 | 3 | -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) | paradust7 | 2022-05-18 | 4 | -27/+25 | |
| | ||||||
* | Remove confusing message in keybindings menu | savilli | 2022-05-17 | 1 | -1/+1 | |
| | ||||||
* | Initialize wield mesh color when wield_image is set | Dmitry Kostenko | 2022-05-15 | 1 | -0/+3 | |
| | | | | #12245 | |||||
* | Use native packer to transfer globals into async env(s) | sfan5 | 2022-05-10 | 4 | -8/+9 | |
| | ||||||
* | Support packing arbitrary graphs (#12289) | Jude Melton-Houghton | 2022-05-10 | 2 | -46/+62 | |
| | ||||||
* | Fix cooking and fuel crafts with aliases | Jude Melton-Houghton | 2022-05-10 | 1 | -2/+4 | |
| | ||||||
* | Fix possible unreliable behavior due to uninitialized variables | Octavian | 2022-05-10 | 1 | -0/+1 | |
| | ||||||
* | Add more Prometheus metrics (#12274) | sfan5 | 2022-05-09 | 10 | -119/+224 | |
| | ||||||
* | HUD: Update selection mesh every frame (#12270) | Lars Müller | 2022-05-09 | 1 | -3/+5 | |
| | | | Fixes outdated selection boxes after entity property changes. | |||||
* | Consolidate some data structures in MapBlockMesh | sfan5 | 2022-05-08 | 2 | -38/+44 | |
| | ||||||
* | Cache serialized mapblocks during sending | sfan5 | 2022-05-08 | 2 | -13/+45 | |
| | | | | | | | 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 | |||||
* | Fix mapblock geometry optimisation not working | ROllerozxa | 2022-05-08 | 1 | -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 | |||||
* | Add benchmarks for json string serialize/deserialize (#12258) | paradust7 | 2022-05-06 | 8 | -0/+188 | |
| | | | Co-authored-by: sfan5 <sfan5@live.de> | |||||
* | Enable chat clickable weblinks by default (#12115) | Froggo | 2022-05-06 | 1 | -1/+3 | |
| | | | Co-authored-by: rubenwardy <rw@rubenwardy.com> |