summaryrefslogtreecommitdiffstats
path: root/src/Physics/Explodinator.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-02-07Explodinator: fix divide by zeroTiger Wang1-1/+1
2020-10-08Merged OnBreak with OnPlayerBreak (#4967)12xx121-2/+3
Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-09-12Use tracing for explosions (#4845)Tiger Wang1-0/+20
* TNT: Implement tracing algorithm + Add intensity tracing * Fix iterating over all players to SendExplosion, even those not in range * Implemented TNT entity interaction * Fixed misaligned destruction tracing * Finalise TNT algorithm - Remove BlockArea and just use chunks Using SetBlock makes it so that we can update everything properly, and does appear to be faster. * BlockInfo learns about explosion attentuation * Rename Explodinator parameters * TNT: pull block destruction into common function Co-authored-by: Alexander Harkness <me@bearbin.net>