summaryrefslogtreecommitdiffstats
path: root/src/Generating/EndGen.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2016-02-06 11:37:34 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2016-02-06 11:37:34 +0100
commit6fdd7194c81be7234a126bdc3b48f0291fce3567 (patch)
tree7d5ac74b7385ce4ebf77588d80549c884c2b993c /src/Generating/EndGen.h
parentMerge pull request #2958 from LogicParrot/fence (diff)
parentBulk clearing of whitespace (diff)
downloadcuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar
cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.gz
cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.bz2
cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.lz
cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.xz
cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.tar.zst
cuberite-6fdd7194c81be7234a126bdc3b48f0291fce3567.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);