aboutsummaryrefslogtreecommitdiff
path: root/src/particles.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-09HUD: Update selection mesh every frame (#12270)Lars Müller1-3/+5
Fixes outdated selection boxes after entity property changes.
2022-05-09Fix Minetest blaming the wrong mod for errors (#12241)Lars Müller3-9/+10
Covers the case where mods insert their callbacks manually into "minetest.registered_<callbacks>" (often to achieve a particular order of execution).
2022-05-09Docs: Recommend `self.name` (#12239)Lars Müller1-1/+1
2022-05-08Consolidate some data structures in MapBlockMeshsfan52-38/+44
2022-05-08Cache serialized mapblocks during sendingsfan52-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
2022-05-08item_entity: Cache collisionbox for use in on_stepsfan51-3/+7
I don't have absolute numbers but if calls to get_properties() take up 30%+ of on_step() execution time that's bound to matter.
2022-05-08Fix mapblock geometry optimisation not workingROllerozxa1-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
2022-05-08Remove unused variable WARN_INITZughy1-11/+0
2022-05-08Enable dependencies when enabling modpacks (#12202)Jude Melton-Houghton1-2/+1
2022-05-08Fix enabling of dependencies with identical names (#12253)Jude Melton-Houghton1-2/+7
2022-05-08Fix mods not being recursively enabledrubenwardy1-1/+1
Fixes #12290
2022-05-07Fix texture packs showing as "Nil (enabled)" in Content tabrubenwardy1-2/+2
Fixes #12285
2022-05-06Add benchmarks for json string serialize/deserialize (#12258)paradust714-4/+18190
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-06Enable chat clickable weblinks by default (#12115)Froggo3-3/+5
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-06Bump IrrlichtMt to 1.9.0mt5 in CIsfan56-7/+7
2022-05-06Declare all bundled libs as staticsfan53-3/+3
Otherwise it can happen that these are built as shared depending on the options passed to CMake, which obviously isn't intended.
2022-05-06Sort out some issues with our CI setupsfan57-37/+33
* add missing apt-get update where needed * move some jobs to run on ubuntu-20.04 * update actions plugins to latest * speed up the job that runs multiplayer tests
2022-05-04Fix Windows Visual Studio actions (#11176)LoneWolfHT2-13/+18
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-04Avoid rendering invisible faces of simple nodeboxes (#12262)x20482-13/+82
* Skip rendering faces adjacent to opaque nodes * Cancel out opposite faces of adjacent nodebox nodes of the same type Fixes #6409
2022-05-04hud_get: Return precision field for waypoints (#12215)Lars Müller1-0/+6
2022-05-04guiScalingFilter: Fix most memory leaks (#12256)SmallJoker2-3/+11
Calls to the cache function ended up creating a new texture regardless whether the texture is already cached.
2022-05-04Make logging cost free when there is no output target (#12247)paradust714-194/+338
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.
2022-05-04Add vector.combine (#11920)Lars Müller4-0/+20
2022-05-03ContentDB: Fix ungraceful crash on aliases when list download failsrubenwardy1-1/+1
Fixes #12267 and fixes #12154
2022-05-03Fix broken FPS/dtime counters in debug infosfan51-1/+1
was broken by a89afe1229e327da3c397a3912b2d43d2196ea2b
2022-05-02Async environment for mods to do concurrent tasks (#11131)sfan538-48/+1646
2022-05-02Fix synchronization issue at thread startsfan51-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
2022-05-02Refactor some Lua API functions in preparation for async envsfan58-45/+37
2022-05-02Reorganize some builtin functions in preparation for async envsfan55-233/+251
2022-05-02Remove some unused variable from Lua class wrapperssfan54-23/+20
2022-05-02Add German translation to AppData file (#12161)JakobDev1-0/+18
2022-05-01Initialize wield mesh colors when changing item. (#12254)x20481-0/+8
Fixes #12245
2022-04-30Deal with compiler warningssfan512-30/+30
2022-04-30Enable additional warning flagssfan51-7/+7
also make them work with the RelWithDebInfo build type
2022-04-30Run automated tests when lua files change (#12184)x20483-32/+103
* Run automated tests when lua files change * skip busted on devtest * use newer build env * Add .luacheckrc for games/devetest Co-authored-by: sfan5 <sfan5@live.de>
2022-04-29Update mods_here.txt to mention installing mods via CDB (#11876)qwerty123a21-1/+7
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-04-28Clean up some auth packet handling related codesfan59-98/+52
2022-04-28Fix password changing getting stuck if wrong password is entered oncesfan53-0/+13
2022-04-28Apply disallow_empty_password to password changes toosfan52-4/+14
2022-04-28Fix race condition in registration leading to duplicate create_auth callssfan51-1/+12
2022-04-28Refactor local time getter functions (#12221)Oblomov2-8/+29
This commit introduces mt_localtime() in src/gettime.h, a wrapper around the OS-specific thread-safe versions of localtime() (resp. localtime_s on Windows and localtime_r in other systems). Per the Open Group recommendation, «portable applications should call tzset() explicitly before using ctime_r() or localtime_r() because setting timezone information is optional for those functions», so we also do a one-shot call of tzset() (_tzset() on Windows to avoid warning C4996). The function is used to replace the localtime() calls in getTimestamp() and makeScreenshot(). (The only reminaing call to localtime() in the tree now is the one in the local copy of the Lua source code.)
2022-04-28Remove HW_buffer_counter after IrrlichtMt fix to remove HWBufferMap (#12232)paradust72-0/+7
Keep code and use version check instead, for backwards compatibility
2022-04-28Show unknown node in debug screen (#12230)Wuzzy1-3/+7
2022-04-28DevTest: Fix armorball sprite (#12228)Wuzzy2-1/+1
2022-04-27Support CSS Color Module Level 4 (#12204)Lars Müller2-1/+2
2022-04-24Fix texture packs not showing as enabled in mainmenurubenwardy1-1/+1
Fixes #12219
2022-04-24Fix invalid queued package element and path (#12218)Alex1-2/+1
2022-04-24DevTest: Add more test weapons and armorball modes (#11870)Wuzzy15-34/+129
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-24Fix worldaligned texturesGiuseppe Bilotta1-2/+5
As reported in #12197, b0b9732359d43325c8bd820abeb8417353365a0c introduces a regression in worldalign textures. The specific change that seems to be responsible for this issue is the change in order between the computation of the cuboid texture coordinates and the box edge correction. Fix #12197 by moving the box edge correction back to before the cuboid texture coordinates, as it used to be.
2022-04-24Fix some textures not being sent correctly to older clientsGiuseppe Bilotta1-3/+15
Since b2eb44afc50976dc0954c868977b5829f3ff8a19, a texture defined as `[combine:16x512:0,0=some_file.png;etc` will not be sent correctly from a 5.5 server to a 5.4 client due to the overeager detection of unsupported base modifier `[` introducing a spurious `blank.png^` before the modifier. Fix this by whitelisting which base modifiers can be passed through unchanged to the client, and prefix `blank.png` for the others (which at the moment is just [png:, but the list may grow larger as new base modifiers are added.)