1
0
Fork 0
cuberite-2a/src/Generating/RainbowRoadsGen.h

48 lines
813 B
C
Raw Normal View History

2014-06-05 21:44:31 +00:00
// RainbowRoadsGen.h
// Declares the cRainbowRoadsGen class representing the underwater base generator
#pragma once
#include "GridStructGen.h"
#include "PrefabPiecePool.h"
class cRainbowRoadsGen :
public cGridStructGen
{
typedef cGridStructGen super;
public:
cRainbowRoadsGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize);
2014-06-05 21:44:31 +00:00
protected:
class cRainbowRoads; // fwd: RainbowRoadsGen.cpp
/** The noise used for generating random numbers */
cNoise m_Noise;
2015-07-31 14:49:10 +00:00
/** Maximum depth of the generator tree */
2014-06-05 21:44:31 +00:00
int m_MaxDepth;
/** Maximum size, in X / Z blocks, of the structure (radius from the origin) */
2014-06-05 21:44:31 +00:00
int m_MaxSize;
// cGridStructGen overrides:
virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
2014-06-05 21:44:31 +00:00
} ;