summaryrefslogtreecommitdiffstats
path: root/src/Generating/Ravines.h
blob: 3e41c5ce66247d99966770c56f945d2acdad7c89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

// 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_GridX, int a_GridZ, int a_OriginX, int a_OriginZ) override;
} ;