1
0

Added a BasicGeneratorTest.

This commit is contained in:
Mattes D
2019-09-02 06:46:40 +02:00
parent 878393a03d
commit d8d1e6e1d2
6 changed files with 344 additions and 9 deletions

View File

@@ -65,18 +65,18 @@ public:
// tolua_begin
void SetBlockType(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType);
BLOCKTYPE GetBlockType(int a_RelX, int a_RelY, int a_RelZ);
BLOCKTYPE GetBlockType(int a_RelX, int a_RelY, int a_RelZ) const;
void SetBlockMeta(int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_BlockMeta);
NIBBLETYPE GetBlockMeta(int a_RelX, int a_RelY, int a_RelZ);
NIBBLETYPE GetBlockMeta(int a_RelX, int a_RelY, int a_RelZ) const;
void SetBiome(int a_RelX, int a_RelZ, EMCSBiome a_BiomeID);
EMCSBiome GetBiome(int a_RelX, int a_RelZ);
EMCSBiome GetBiome(int a_RelX, int a_RelZ) const;
// These operate on the heightmap, so they could get out of sync with the data
// Use UpdateHeightmap() to re-calculate heightmap from the block data
void SetHeight(int a_RelX, int a_RelZ, HEIGHTTYPE a_Height);
HEIGHTTYPE GetHeight(int a_RelX, int a_RelZ);
HEIGHTTYPE GetHeight(int a_RelX, int a_RelZ) const;
// tolua_end