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/TestRailsGen.h | 47 ------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 src/Generating/TestRailsGen.h (limited to 'src/Generating/TestRailsGen.h') diff --git a/src/Generating/TestRailsGen.h b/src/Generating/TestRailsGen.h deleted file mode 100644 index 88e38b368..000000000 --- a/src/Generating/TestRailsGen.h +++ /dev/null @@ -1,47 +0,0 @@ - -// TestRailsGen.h - -// Declares the cTestRailsGen class representing the testing rails generator - - - - - -#pragma once - -#include "GridStructGen.h" -#include "PrefabPiecePool.h" - - - - - -class cTestRailsGen : - public cGridStructGen -{ - typedef cGridStructGen super; - -public: - cTestRailsGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize); - -protected: - class cTestRails; // fwd: TestRailsGen.cpp - - - /** The noise used for generating random numbers */ - cNoise m_Noise; - - /** Maximum depth of the generator tree */ - int m_MaxDepth; - - /** Maximum size, in X / Z blocks, of the structure (radius from the origin) */ - int m_MaxSize; - - - // cGridStructGen overrides: - virtual cStructurePtr CreateStructure(int a_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override; -} ; - - - - -- cgit v1.2.3