diff options
author | Mattes D <github@xoft.cz> | 2015-12-03 13:07:23 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-12-03 13:07:23 +0100 |
commit | 3fb356648453169758a9f5649f0ed4c5925d911f (patch) | |
tree | 57c90ff51aaeac4b1c2e05538a9f486da0a19f28 /src/Generating/NetherFortGen.h | |
parent | Merge pull request #2696 from Gargaj/breeding (diff) | |
parent | Changed Nether defaults to use PieceStructures. (diff) | |
download | cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.gz cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.bz2 cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.lz cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.xz cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.tar.zst cuberite-3fb356648453169758a9f5649f0ed4c5925d911f.zip |
Diffstat (limited to 'src/Generating/NetherFortGen.h')
-rw-r--r-- | src/Generating/NetherFortGen.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/Generating/NetherFortGen.h b/src/Generating/NetherFortGen.h deleted file mode 100644 index 9b31aa0e2..000000000 --- a/src/Generating/NetherFortGen.h +++ /dev/null @@ -1,45 +0,0 @@ - -// NetherFortGen.h - -// Declares the cNetherFortGen class representing the nether fortress generator - - - - - -#pragma once - -#include "ComposableGenerator.h" -#include "PrefabPiecePool.h" -#include "GridStructGen.h" - - - - - -class cNetherFortGen : - public cGridStructGen -{ - typedef cGridStructGen super; - -public: - cNetherFortGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth); - -protected: - friend class cNetherFortPerfTest; // fwd: NetherFortGen.cpp - class cNetherFort; // fwd: NetherFortGen.cpp - - /** Maximum depth of the piece-generator tree */ - int m_MaxDepth; - - /** The pool of pieces to use for generating. Static, so that it's shared by multiple generators. */ - static cPrefabPiecePool m_PiecePool; - - - // cGridStructGen overrides: - virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override; -} ; - - - - |