1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-22 07:38:48 -05:00
minetest/builtin
Auke Kok d7908ee494 Convert nodeupdate to non-recursive
This took me a while to figure out. We no longer visit all 9 block
around and with the touched node, but instead visit adjacent plus
self. We then walk -non- recursively through all neigbors and if
they cause a nodeupdate, we just keep walking until it ends. On
the way back we prune the tail.

I've tested this with 8000+ sand nodes. Video result is here:

  https://youtu.be/liKKgLefhFQ

Took ~ 10 seconds to process and return to normal.
2016-04-11 00:01:28 -04:00
..
async Use "core" namespace internally 2014-05-08 13:02:04 -04:00
common Faster insertion into table 2016-03-06 23:42:04 +00:00
fstk Faster insertion into table 2016-03-06 23:42:04 +00:00
game Convert nodeupdate to non-recursive 2016-04-11 00:01:28 -04:00
mainmenu Mainmenu: Refactor tab UI code 2016-04-08 02:25:04 -04:00
init.lua Mainmenu: Refactor tab UI code 2016-04-08 02:25:04 -04:00
settingtypes.txt Mgv7: Decrease cliff steepness 2016-03-30 01:53:14 +01:00