summaryrefslogblamecommitdiffstats
path: root/src/Generating/Ravines.h
blob: 30b47e9ecf632d761599dceb143255ac7c20ce7f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                        
                          






                         
                             
 

                                     

                                                  


                                           
        

                                                                        
        


                                                                                     




   

// Ravines.h

// Interfaces to the cStructGenRavines class representing the ravine structure generator





#pragma once

#include "GridStructGen.h"
#include "../Noise.h"





class cStructGenRavines :
	public cGridStructGen
{
	typedef cGridStructGen super;

public:
	cStructGenRavines(int a_Seed, int a_Size);
	
protected:
	class cRavine;  // fwd: Ravines.cpp
	
	cNoise m_Noise;
	int    m_Size;  // Max size, in blocks, of the ravines generated
	

	// cGridStructGen overrides:
	virtual cStructurePtr CreateStructure(int a_OriginX, int a_OriginZ) override;
} ;