Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Averages the values of the underlying 4 * 4 neighbors. More...
#include <ProtIntGen.h>
Public Member Functions | |
cProtIntGenAvg4Values (Underlying a_Underlying) | |
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... | |
Public Member Functions inherited from cProtIntGen | |
virtual | ~cProtIntGen () |
Force a virtual destructor in all descendants. More... | |
Protected Attributes | |
Underlying | m_Underlying |
Private Types | |
using | Super = cProtIntGen |
Additional Inherited Members | |
Public Types inherited from cProtIntGen | |
using | Underlying = std::shared_ptr< cProtIntGen > |
Type of the generic interface used for storing links to the underlying generators. More... | |
Static Protected Attributes inherited from cProtIntGen | |
static const int | m_BufferSize = PROT_INT_BUFFER_SIZE |
Maximum size of the generated area. More... | |
Averages the values of the underlying 4 * 4 neighbors.
Definition at line 382 of file ProtIntGen.h.
|
private |
Definition at line 385 of file ProtIntGen.h.
|
inline |
Definition at line 389 of file ProtIntGen.h.
|
inlineoverridevirtual |
Generates the array of specified size into a_Values, based on given min coords.
Implements cProtIntGen.
Definition at line 395 of file ProtIntGen.h.
|
protected |
Definition at line 424 of file ProtIntGen.h.