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>
This commit is contained in:
34
tests/ChunkData/Creatable.cpp
Normal file
34
tests/ChunkData/Creatable.cpp
Normal file
@@ -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()
|
||||
);
|
||||
Reference in New Issue
Block a user