1
0
cuberite-2a/src/Simulator
Tiger Wang 93adbdce9a
Use tracing for explosions (#4845)
* 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>
2020-09-12 18:57:44 +00:00
..
IncrementalRedstoneSimulator Use tracing for explosions (#4845) 2020-09-12 18:57:44 +00:00
CMakeLists.txt Upgrade to C++17 [CMake] (#4717) 2020-05-16 20:59:10 +01:00
DelayedFluidSimulator.cpp Corrected wakeup sequences 2020-08-04 18:15:18 +01:00
DelayedFluidSimulator.h Do not GetBlock individually in simulators 2020-08-04 18:15:18 +01:00
FireSimulator.cpp Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
FireSimulator.h Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
FloodyFluidSimulator.cpp Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
FloodyFluidSimulator.h Using Super. 2020-04-16 20:07:48 +00:00
FluidSimulator.cpp Using Super. 2020-04-16 20:07:48 +00:00
FluidSimulator.h Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
NoopFluidSimulator.h Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
NoopRedstoneSimulator.h Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
RedstoneSimulator.h Remove the redstone solid block handler 2020-08-08 18:22:16 +01:00
SandSimulator.cpp Use tracing for explosions (#4845) 2020-09-12 18:57:44 +00:00
SandSimulator.h Use tracing for explosions (#4845) 2020-09-12 18:57:44 +00:00
Simulator.cpp ChunkMap: do not wantonly make empty chunks 2020-08-28 21:22:44 +01:00
Simulator.h Remove the redstone solid block handler 2020-08-08 18:22:16 +01:00
SimulatorManager.cpp WakeUpSimulators correct Y computation 2020-08-05 08:35:37 +01:00
SimulatorManager.h Do not GetBlock individually in simulators 2020-08-04 18:15:18 +01:00
VanillaFluidSimulator.cpp Using Super. 2020-04-16 20:07:48 +00:00
VanillaFluidSimulator.h Using Super. 2020-04-16 20:07:48 +00:00
VaporizeFluidSimulator.cpp Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
VaporizeFluidSimulator.h Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00