From 868cd94ee9a5a0638c014a4cc42224f01ff234c8 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Fri, 5 Mar 2021 13:03:55 +0000 Subject: 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> --- tests/ChunkData/Creatable.cpp | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tests/ChunkData/Creatable.cpp (limited to 'tests/ChunkData/Creatable.cpp') diff --git a/tests/ChunkData/Creatable.cpp b/tests/ChunkData/Creatable.cpp new file mode 100644 index 000000000..278885b9d --- /dev/null +++ b/tests/ChunkData/Creatable.cpp @@ -0,0 +1,34 @@ + +#include "Globals.h" +#include "../TestHelpers.h" +#include "ChunkData.h" + + + + + +static void Test() +{ + LOGD("Test started"); + + ChunkBlockData train; + ChunkLightData buffer; + + /* + + /-|===D + / |===D + /---| + / | + ====/=====|=============== + + */ +} + + + + + +IMPLEMENT_TEST_MAIN("ChunkData Creatable", + Test() +); -- cgit v1.2.3