summaryrefslogtreecommitdiffstats
path: root/src/Generating/EndGen.h
diff options
context:
space:
mode:
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);