surface

package
v0.0.0-...-35ed743 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MesaTable map[int]MesaSurface
View Source
var SurfaceTable map[int]SurfaceParams

Functions

func GenerateSurface

func GenerateSurface(
	chunkPos world.ChunkPos,
	chunk *chunk.Chunk,
	WGRand *wgrandom.WGRandom,
)

Types

type MesaSurface

type MesaSurface struct {
	BrycePillars bool
	ClayMaterial,
	HardClayMaterial uint32
	HasForest bool
}

type SurfaceParams

type SurfaceParams struct {
	SeaFloorDepth int16
	SeaFloorMaterial,
	FoundationMaterial,
	MidMaterial,
	TopMaterial,
	SeaMaterial uint32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL