Luanti 5.19.0-dev
Loading...
Searching...
No Matches
mapgen_fractal.cpp File Reference
#include "mapgen.h"
#include <cmath>
#include "voxel.h"
#include "noise.h"
#include "mapnode.h"
#include "map.h"
#include "nodedef.h"
#include "voxelalgorithms.h"
#include "settings.h"
#include "emerge.h"
#include "dungeongen.h"
#include "cavegen.h"
#include "mg_biome.h"
#include "mg_ore.h"
#include "mg_decoration.h"
#include "mapgen_fractal.h"
Include dependency graph for mapgen_fractal.cpp:

Functions

static bool is_zero (float value)

Variables

const FlagDesc flagdesc_mapgen_fractal []

Function Documentation

◆ is_zero()

bool is_zero ( float value)
static

References is_zero().

Referenced by MapgenFractal::getFractalAtPoint(), and is_zero().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ flagdesc_mapgen_fractal

const FlagDesc flagdesc_mapgen_fractal[]
Initial value:
= {
{"terrain", MGFRACTAL_TERRAIN},
{NULL, 0}
}
#define MGFRACTAL_TERRAIN
Definition mapgen_fractal.h:11

Referenced by MapgenFractalParams::readParams(), MapgenFractalParams::setDefaultSettings(), and MapgenFractalParams::writeParams().