Modulesยง
Structsยง
- GenCdf ๐
- A structure that holds cached noise values and cumulative distribution functions for the input that led to those values. See the definition of InverseCdf for a description of how to interpret the types of its fields.
- GenCtx ๐
- GenOpts
- Location
- Nearest
Ways Data - Path
- Region
Info - SimChunk
- Way
- World
File Legacy - LEGACY: Remove when people stop caring.
- World
Map_ 0_ 5_ 0 - Version of the world map intended for use in Veloren 0.5.0.
- World
Map_ 0_ 7_ 0 - Version of the world map intended for use in Veloren 0.7.0.
- World
Opts - World
Sim
Enumsยง
- File
Opts - World
File - WORLD MAP.
- World
File Error - Errors when converting a map to the most recent type (currently, shared by the various map types, but at some point we might switch to version-specific errors if it feels worthwhile).
- World
SimStage
Constantsยง
- DEFAULT_
WORLD_ ๐CHUNKS_ LG - Default base two logarithm of the world size, in chunks, per dimension.
- DEFAULT_
WORLD_ MAP - The default world map.
- DEFAULT_
WORLD_ SEED - This is not the seed used to generate the default map, this seed was used to generate a better set of biomes on it as the original ones were unsuitable.
Functionsยง
- diffusion
- From https://github.com/fastscape-lem/fastscapelib-fortran/blob/master/src/Diffusion.f90
- get_
horizon_ map - Finds the horizon map for sunlight for the given chunks.
- sample_
pos - Samples a MapSample at a chunk.
- sample_
wpos - A sample function that grabs the connections at a chunk.
Type Aliasesยง
- Modern
Map - Data for the most recent map type. Update this when you add a new map version.