1
0
Fork 0
cuberite-2a/src/Simulator
Tiger Wang 868cd94ee9
Prepare ChunkData for BlockState storage (#5105)
* Rename ChunkData Creatable test

* Add missing Y-check in RedstoneWireHandler

* Remove ChunkDef.h dependency in Scoreboard

* Prepare ChunkData for BlockState storage

+ Split chunk block, meta, block & sky light storage
+ Load the height map from disk
- Reduce duplicated code in ChunkData
- Remove saving MCSBiomes, there aren't any
- Remove the allocation pool, ref #4315, #3864

* fixed build

* fixed test

* fixed the debug compile

Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com>
2021-03-05 14:03:55 +01:00
..
IncrementalRedstoneSimulator Prepare ChunkData for BlockState storage (#5105) 2021-03-05 14:03:55 +01: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 Convert most calls to blocking GetHeight/GetBiomeAt to direct chunk accesses 2021-01-11 16:39:56 +00:00
FireSimulator.h Always use relative coordinates in AddBlock 2020-08-02 15:52:06 +01:00
FloodyFluidSimulator.cpp BlockHandler initialisation is a constant expression (#4891) 2020-09-20 13:50:52 +00: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 Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
SimulatorManager.cpp Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) 2020-10-05 10:27:14 +00: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