Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include "IntGen.h"
Go to the source code of this file.
Classes | |
struct | cProtIntGenBiomes::cBiomesInGroups |
class | cProtIntGen |
Interface that all the generator classes provide. More... | |
class | cProtIntGenAddIslands |
Generates the underlying numbers and then randomly changes some ocean group pixels into random land biome group pixels, based on the predefined chance. More... | |
class | cProtIntGenAddRnd |
Adds a random value in range [-a_HalfRange, +a_HalfRange] to each of the underlying values. More... | |
class | cProtIntGenAddToOcean |
Turns some of the oceans into the specified biome. More... | |
class | cProtIntGenAlternateBiomes |
Changes biomes in the parent data into an alternate versions (usually "hill" variants), in such places that have their alterations set. More... | |
class | cProtIntGenAvg4Values |
Averages the values of the underlying 4 * 4 neighbors. More... | |
class | cProtIntGenAvgValues |
Averages the values of the underlying 2 * 2 neighbors. More... | |
class | cProtIntGenBeaches |
Converts land biomes at the edge of an ocean into the respective beach biome. More... | |
class | cProtIntGenBiomeEdges |
Adds an edge between two specifically incompatible biomes, such as mesa and forest. More... | |
class | cProtIntGenBiomeGroupEdges |
A filter that adds an edge biome group between two biome groups that need an edge between them. More... | |
class | cProtIntGenBiomes |
Turns biome group indices into real biomes. More... | |
class | cProtIntGenChoice |
Generates a 2D array of random integers in the specified range [0 . More... | |
class | cProtIntGenLandOcean |
Decides between the ocean and landmass biomes. More... | |
class | cProtIntGenMBiomes |
Changes biomes in the parent data into their alternate versions ("M" variants), in such places that have their alterations set. More... | |
class | cProtIntGenMixRivers |
Mixer that joins together finalized biomes and rivers. More... | |
class | cProtIntGenRareBiomeGroups |
Adds a "rare" flag to random biome groups, based on the given chance. More... | |
class | cProtIntGenReplaceRandomly |
Randomly replaces pixels of one value to another value, using the given chance. More... | |
class | cProtIntGenRiver |
Generates a river based on the underlying data. More... | |
class | cProtIntGenRndAvg |
Replaces random underlying values with the average of the neighbors. More... | |
class | cProtIntGenRndBetween |
Replaces random underlying values with a random value in between the max and min of the neighbors. More... | |
class | cProtIntGenRndChoice |
Replaces random values of the underlying data with random integers in the specified range [Min . More... | |
class | cProtIntGenSetRandomly |
Changes random pixels of the underlying data to the specified value. More... | |
class | cProtIntGenSmooth |
Smoothes out some artifacts generated by the zooming - mostly single-pixel values. More... | |
class | cProtIntGenWeightAvg< WeightCenter, WeightCardinal, WeightDiagonal > |
Averages the values of the underlying 3 * 3 neighbors with custom weight. More... | |
class | cProtIntGenWithNoise |
Provides additional cNoise member and its helper functions. More... | |
class | cProtIntGenZoom |
Zooms the underlying value array to twice the size. More... | |
Macros | |
#define | PROT_INT_BUFFER_SIZE 900 |
Maximum size of the generated area. More... | |
#define PROT_INT_BUFFER_SIZE 900 |
Maximum size of the generated area.
This value is used only if there isn't an override in place. To adjust the actual buffer size, just do a "#define PROT_INT_BUFFER_SIZE 9000" before including this header. Note, however, that you should use a consistent value throughout a single project.
Definition at line 36 of file ProtIntGen.h.