Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | Fix Windows Visual Studio actions (#11176) | LoneWolfHT | 2022-05-04 | 1 | -3/+4 |
| | | | Co-authored-by: rubenwardy <rw@rubenwardy.com> | ||||
* | Avoid rendering invisible faces of simple nodeboxes (#12262) | x2048 | 2022-05-04 | 2 | -13/+82 |
| | | | | | | * Skip rendering faces adjacent to opaque nodes * Cancel out opposite faces of adjacent nodebox nodes of the same type Fixes #6409 | ||||
* | hud_get: Return precision field for waypoints (#12215) | Lars Müller | 2022-05-04 | 1 | -0/+6 |
| | |||||
* | guiScalingFilter: Fix most memory leaks (#12256) | SmallJoker | 2022-05-04 | 2 | -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) | paradust7 | 2022-05-04 | 12 | -190/+332 |
| | | | | | 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 info | sfan5 | 2022-05-03 | 1 | -1/+1 |
| | | | | was broken by a89afe1229e327da3c397a3912b2d43d2196ea2b | ||||
* | Async environment for mods to do concurrent tasks (#11131) | sfan5 | 2022-05-02 | 28 | -43/+1316 |
| | |||||
* | Fix synchronization issue at thread start | sfan5 | 2022-05-02 | 1 | -3/+3 |
| | | | | | | | | | | If a newly started thread immediately exits then m_running would immediately be set to false again and the caller would be stuck waiting for m_running to become true forever. Since a mutex for synchronizing startup already exists we can simply move the while loop into it. see also: #5134 which introduced m_start_finished_mutex | ||||
* | Refactor some Lua API functions in preparation for async env | sfan5 | 2022-05-02 | 8 | -45/+37 |
| | |||||
* | Remove some unused variable from Lua class wrappers | sfan5 | 2022-05-02 | 4 | -23/+20 |
| | |||||
* | Initialize wield mesh colors when changing item. (#12254) | x2048 | 2022-05-01 | 1 | -0/+8 |
| | | | Fixes #12245 | ||||
* | Deal with compiler warnings | sfan5 | 2022-04-30 | 12 | -30/+30 |
| | |||||
* | Enable additional warning flags | sfan5 | 2022-04-30 | 1 | -7/+7 |
| | | | | also make them work with the RelWithDebInfo build type | ||||
* | Clean up some auth packet handling related code | sfan5 | 2022-04-28 | 9 | -98/+52 |
| | |||||
* | Fix password changing getting stuck if wrong password is entered once | sfan5 | 2022-04-28 | 3 | -0/+13 |
| |