![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Mixer that joins together finalized biomes and rivers. More...
#include <ProtIntGen.h>
Public Member Functions | |
cProtIntGenMixRivers (Underlying a_Biomes, Underlying a_Rivers) | |
virtual void | GetInts (int a_MinX, int a_MinZ, size_t a_SizeX, size_t a_SizeZ, int *a_Values) override |
Generates the array of specified size into a_Values, based on given min coords. More... | |
![]() | |
virtual | ~cProtIntGen () |
Force a virtual destructor in all descendants. More... | |
Protected Attributes | |
Underlying | m_Biomes |
Underlying | m_Rivers |
Private Types | |
typedef cProtIntGen | super |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< cProtIntGen > | Underlying |
Type of the generic interface used for storing links to the underlying generators. More... | |
![]() | |
static const int | m_BufferSize = PROT_INT_BUFFER_SIZE |
Maximum size of the generated area. More... | |
Mixer that joins together finalized biomes and rivers.
It first checks for oceans, if there is an ocean in the Biomes, it keeps the ocean. If there's no ocean, it checks Rivers for a river, if there is a river, it uses the Biomes to select either regular river or frozen river, based on the biome.
Definition at line 1109 of file ProtIntGen.h.
|
private |
Definition at line 1112 of file ProtIntGen.h.
|
inline |
Definition at line 1115 of file ProtIntGen.h.
|
inlineoverridevirtual |
Generates the array of specified size into a_Values, based on given min coords.
Implements cProtIntGen.
Definition at line 1122 of file ProtIntGen.h.
|
protected |
Definition at line 1162 of file ProtIntGen.h.
|
protected |
Definition at line 1163 of file ProtIntGen.h.