Module veloren_world::sim

source ·

Modules

Structs

Enums

  • WORLD MAP.
  • 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).

Constants

  • Default base two logarithm of the world size, in chunks, per dimension.
  • The default world map.
  • 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

  • From https://github.com/fastscape-lem/fastscapelib-fortran/blob/master/src/Diffusion.f90
  • Finds the horizon map for sunlight for the given chunks.
  • Samples a MapSample at a chunk.
  • A sample function that grabs the connections at a chunk.

Type Aliases

  • Data for the most recent map type. Update this when you add a new map version.