1
0
cuberite-2a/src/Simulator/IncrementalRedstoneSimulator
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
..
CMakeLists.txt Remove std::make_unique from redstone handler creation 2020-08-21 00:50:09 +01:00
CommandBlockHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
DoorHandler.h Fix doors and trapdoors closing on server restart 2020-08-25 21:38:49 +01:00
DropSpenserHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
ForEachSourceCallback.cpp Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
ForEachSourceCallback.h Minor style fixes 2020-08-28 21:42:37 +01:00
HopperHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
IncrementalRedstoneSimulator.cpp Remove std::make_unique from redstone handler creation 2020-08-21 00:50:09 +01:00
IncrementalRedstoneSimulator.h Remove std::make_unique from redstone handler creation 2020-08-21 00:50:09 +01:00
NoteBlockHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
ObserverHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
PistonHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
PoweredRailHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
PressurePlateHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
RedstoneBlockHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
RedstoneComparatorHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
RedstoneDataHelper.h Remove std::make_unique from redstone handler creation 2020-08-21 00:50:09 +01:00
RedstoneHandler.cpp Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
RedstoneHandler.h Minor style fixes 2020-08-28 21:42:37 +01:00
RedstoneLampHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
RedstoneRepeaterHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
RedstoneSimulatorChunkData.h Use tracing for explosions (#4845) 2020-09-12 18:57:44 +00:00
RedstoneToggleHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
RedstoneTorchHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
RedstoneWireHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
SmallGateHandler.h Fix doors and trapdoors closing on server restart 2020-08-25 21:38:49 +01:00
TNTHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
TrappedChestHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00
TripwireHookHandler.h Replace PowerData struct with PowerLevel 2020-08-21 00:50:09 +01:00