summaryrefslogtreecommitdiffstats
path: root/src/Generating/FinishGen.h
diff options
context:
space:
mode:
authorp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 10:58:30 +0100
committerp-mcgowan <mickeymcgowan@shaw.ca>2014-12-02 10:58:30 +0100
commit2d93274a90a86829ff6edfa02dd575c8811a6cfd (patch)
treee591f68f6eb6d3cb364139c1c4573f557b3eb3d5 /src/Generating/FinishGen.h
parentanimal terrain finisher (diff)
downloadcuberite-2d93274a90a86829ff6edfa02dd575c8811a6cfd.tar
cuberite-2d93274a90a86829ff6edfa02dd575c8811a6cfd.tar.gz
cuberite-2d93274a90a86829ff6edfa02dd575c8811a6cfd.tar.bz2
cuberite-2d93274a90a86829ff6edfa02dd575c8811a6cfd.tar.lz
cuberite-2d93274a90a86829ff6edfa02dd575c8811a6cfd.tar.xz
cuberite-2d93274a90a86829ff6edfa02dd575c8811a6cfd.tar.zst
cuberite-2d93274a90a86829ff6edfa02dd575c8811a6cfd.zip
Diffstat (limited to 'src/Generating/FinishGen.h')
-rw-r--r--src/Generating/FinishGen.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h
index 38bb93d2a..c8575f4d1 100644
--- a/src/Generating/FinishGen.h
+++ b/src/Generating/FinishGen.h
@@ -123,7 +123,7 @@ class cFinishGenSoulsandRims :
public cFinishGen
{
public:
- cFinishGenSoulsandRims(int a_Seed) :
+ cFinishGenSoulsandRims(int a_Seed) :
m_Noise(a_Seed)
{
}
@@ -319,26 +319,26 @@ protected:
class cFinishGenPassiveMobs :
- public cFinishGen
+ public cFinishGen
{
public:
- cFinishGenPassiveMobs(int a_Seed, cIniFile & a_IniFile, eDimension a_Dimension);
+ cFinishGenPassiveMobs(int a_Seed, cIniFile & a_IniFile, eDimension a_Dimension);
protected:
- cNoise m_Noise;
- int m_AnimalProbability; // Chance, [0..100], that an animal pack will be generated in a chunk
- cFastRandom m_Random;
+ cNoise m_Noise;
+ int m_AnimalProbability; // Chance, [0..100], that an animal pack will be generated in a chunk
+ cFastRandom m_Random;
- // cFinishGen override:
- virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
+ // cFinishGen override:
+ virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
- // Tries to spawn a mob in the center of the pack. If successful, spawns 0-5 more.
- bool TrySpawnAnimals(cChunkDesc & a_ChunkDesc, int x, int y, int z, eMonsterType AnimalToSpawn);
+ // Tries to spawn a mob in the center of the pack. If successful, spawns 0-5 more.
+ bool TrySpawnAnimals(cChunkDesc & a_ChunkDesc, int x, int y, int z, eMonsterType AnimalToSpawn);
- // Gets a random mob from biome-dependant list
- eMonsterType GetRandomMob(cChunkDesc & a_ChunkDesc);
+ // Gets a random mob from biome-dependant list
+ eMonsterType GetRandomMob(cChunkDesc & a_ChunkDesc);
} ;