summaryrefslogtreecommitdiffstats
path: root/src/Generating/EndGen.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-02-05 22:45:45 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-02-05 22:50:18 +0100
commitca6ef58b1ee8521e4b940ee4883dee714960e413 (patch)
tree8532add455224b07c07a759e3d906f50c0695888 /src/Generating/EndGen.h
parentMerge pull request #2972 from marvinkopf/PlayerAutoComplete (diff)
downloadcuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.gz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.bz2
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.lz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.xz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.zst
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.zip
Diffstat (limited to 'src/Generating/EndGen.h')
-rw-r--r--src/Generating/EndGen.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Generating/EndGen.h b/src/Generating/EndGen.h
index f914dc340..5008c2670 100644
--- a/src/Generating/EndGen.h
+++ b/src/Generating/EndGen.h
@@ -22,12 +22,12 @@ class cEndGen :
{
public:
cEndGen(int a_Seed);
-
+
protected:
/** Seed for the noise */
int m_Seed;
-
+
/** The Perlin noise used for generating */
cPerlinNoise m_Perlin;
@@ -35,16 +35,16 @@ protected:
int m_IslandSizeX;
int m_IslandSizeY;
int m_IslandSizeZ;
-
+
// XYZ Frequencies of the noise functions:
NOISE_DATATYPE m_FrequencyX;
NOISE_DATATYPE m_FrequencyY;
NOISE_DATATYPE m_FrequencyZ;
-
+
// Minimum and maximum chunk coords for chunks inside the island area. Chunks outside won't get calculated at all
int m_MinChunkX, m_MaxChunkX;
int m_MinChunkZ, m_MaxChunkZ;
-
+
// Noise array for the last chunk (in the noise range)
int m_LastChunkX;
int m_LastChunkZ;
@@ -53,10 +53,10 @@ protected:
/** Unless the LastChunk coords are equal to coords given, prepares the internal state (noise array) */
void PrepareState(int a_ChunkX, int a_ChunkZ);
-
+
/** Generates the m_NoiseArray array for the current chunk */
void GenerateNoiseArray(void);
-
+
/** Returns true if the chunk is outside of the island's dimensions */
bool IsChunkOutsideRange(int a_ChunkX, int a_ChunkZ);