summaryrefslogtreecommitdiffstats
path: root/src/Generating/DungeonRoomsFinisher.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-24 21:56:25 +0100
committerMattes D <github@xoft.cz>2014-11-24 21:56:25 +0100
commit9f4562289e4e0dfddd590f39e9f008ed8bf6da4d (patch)
tree758fac8b34ebf688986f1000cfa15a79bbebedab /src/Generating/DungeonRoomsFinisher.h
parentMerge pull request #1611 from mc-server/SpawnPrepare (diff)
parentAdded TwoHeights shape generator. (diff)
downloadcuberite-9f4562289e4e0dfddd590f39e9f008ed8bf6da4d.tar
cuberite-9f4562289e4e0dfddd590f39e9f008ed8bf6da4d.tar.gz
cuberite-9f4562289e4e0dfddd590f39e9f008ed8bf6da4d.tar.bz2
cuberite-9f4562289e4e0dfddd590f39e9f008ed8bf6da4d.tar.lz
cuberite-9f4562289e4e0dfddd590f39e9f008ed8bf6da4d.tar.xz
cuberite-9f4562289e4e0dfddd590f39e9f008ed8bf6da4d.tar.zst
cuberite-9f4562289e4e0dfddd590f39e9f008ed8bf6da4d.zip
Diffstat (limited to 'src/Generating/DungeonRoomsFinisher.h')
-rw-r--r--src/Generating/DungeonRoomsFinisher.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/DungeonRoomsFinisher.h b/src/Generating/DungeonRoomsFinisher.h
index 09dd0448a..e5828f989 100644
--- a/src/Generating/DungeonRoomsFinisher.h
+++ b/src/Generating/DungeonRoomsFinisher.h
@@ -23,15 +23,15 @@ class cDungeonRoomsFinisher :
public:
/** Creates a new dungeon room finisher.
- a_HeightGen is the underlying height generator, so that the rooms can always be placed under the terrain.
+ a_ShapeGen is the underlying terrain shape generator, so that the rooms can always be placed under the terrain.
a_MaxSize and a_MinSize are the maximum and minimum sizes of the room's internal (air) area, in blocks across.
a_HeightDistrib is the string defining the height distribution for the rooms (cProbabDistrib format). */
- cDungeonRoomsFinisher(cTerrainHeightGenPtr a_HeightGen, int a_Seed, int a_GridSize, int a_MaxSize, int a_MinSize, const AString & a_HeightDistrib);
+ cDungeonRoomsFinisher(cTerrainShapeGenPtr a_ShapeGen, int a_Seed, int a_GridSize, int a_MaxSize, int a_MinSize, const AString & a_HeightDistrib);
protected:
- /** The height gen that is used for limiting the rooms' Y coords */
- cTerrainHeightGenPtr m_HeightGen;
+ /** The shape gen that is used for limiting the rooms' Y coords */
+ cTerrainShapeGenPtr m_ShapeGen;
/** Maximum half-size (from center to wall) of the dungeon room's inner (air) area. Default is 3 (vanilla). */
int m_MaxHalfSize;