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.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/Generating/EndGen.h b/src/Generating/EndGen.h
index f9e3f6e53..f914dc340 100644
--- a/src/Generating/EndGen.h
+++ b/src/Generating/EndGen.h
@@ -25,10 +25,10 @@ public:
protected:
- /// Seed for the noise
+ /** Seed for the noise */
int m_Seed;
- /// The Perlin noise used for generating
+ /** The Perlin noise used for generating */
cPerlinNoise m_Perlin;
// XYZ size of the "island", in blocks:
@@ -49,19 +49,22 @@ protected:
int m_LastChunkX;
int m_LastChunkZ;
NOISE_DATATYPE m_NoiseArray[17 * 17 * 257]; // x + 17 * z + 17 * 17 * y
-
- /// Unless the LastChunk coords are equal to coords given, prepares the internal state (noise array)
+
+
+ /** 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
+ /** Generates the m_NoiseArray array for the current chunk */
void GenerateNoiseArray(void);
- /// Returns true if the chunk is outside of the island's dimensions
+ /** Returns true if the chunk is outside of the island's dimensions */
bool IsChunkOutsideRange(int a_ChunkX, int a_ChunkZ);
-
+
+
// cTerrainShapeGen overrides:
virtual void GenShape(int a_ChunkX, int a_ChunkZ, cChunkDesc::Shape & a_Shape) override;
+
// cTerrainCompositionGen overrides:
virtual void ComposeTerrain(cChunkDesc & a_ChunkDesc, const cChunkDesc::Shape & a_Shape) override;
virtual void InitializeCompoGen(cIniFile & a_IniFile) override;