More changes, im going to bed
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
// the shape of the world and which biome each column gets, from a generator's data (see generator.ts): its density
|
||||
// functions compiled for one seed. generate_overworld calls density and cave through here, so engine access mods can
|
||||
// hook them. bworld's overworld is shaped after tectonic (https://github.com/Apollounknowndev/tectonic, MIT), its
|
||||
// splines are in mods/bworld/worldgen/density_function/overworld
|
||||
// functions compiled for one seed. generate_noise_chunk calls density and cave through here, so engine access mods can
|
||||
// hook them
|
||||
import { type Density, DensityCompiler } from "./density.ts";
|
||||
import { type DensityJson, type NoiseSettingsJson, range_test, type RangeJson } from "./data.ts";
|
||||
import type { Generator } from "./generator.ts";
|
||||
@@ -25,7 +24,7 @@ interface CompiledRule {
|
||||
holds(climate: number[], surface: number, steep: boolean): boolean;
|
||||
}
|
||||
|
||||
export class OverworldTerrain {
|
||||
export class NoiseTerrain {
|
||||
readonly seed: string;
|
||||
readonly settings: NoiseSettingsJson;
|
||||
readonly compiler: DensityCompiler;
|
||||
|
||||
Reference in New Issue
Block a user