From b8fbba5eb92cda32b13d65f3704adf778da82f38 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Wed, 11 Nov 2015 10:32:42 +0100 Subject: Added PieceStructures generator. --- src/Generating/NetherFortGen.h | 45 ------------------------------------------ 1 file changed, 45 deletions(-) delete mode 100644 src/Generating/NetherFortGen.h (limited to 'src/Generating/NetherFortGen.h') 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; -} ; - - - - -- cgit v1.2.3