mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
Merge branch 'master' into chore/add-biome
This commit is contained in:
commit
88204ee354
3 changed files with 0 additions and 4 deletions
1
package-lock.json
generated
1
package-lock.json
generated
|
|
@ -2163,7 +2163,6 @@
|
||||||
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peer": true,
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -595,7 +595,6 @@ class HeightmapModule {
|
||||||
async generate(graph: any): Promise<Uint8Array> {
|
async generate(graph: any): Promise<Uint8Array> {
|
||||||
TIME && console.time("defineHeightmap");
|
TIME && console.time("defineHeightmap");
|
||||||
const id = (byId("templateInput")! as HTMLInputElement).value;
|
const id = (byId("templateInput")! as HTMLInputElement).value;
|
||||||
|
|
||||||
Math.random = Alea(seed);
|
Math.random = Alea(seed);
|
||||||
const isTemplate = id in heightmapTemplates;
|
const isTemplate = id in heightmapTemplates;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,14 +7,12 @@ declare global {
|
||||||
var grid: any;
|
var grid: any;
|
||||||
var graphHeight: number;
|
var graphHeight: number;
|
||||||
var graphWidth: number;
|
var graphWidth: number;
|
||||||
|
|
||||||
var TIME: boolean;
|
var TIME: boolean;
|
||||||
var WARN: boolean;
|
var WARN: boolean;
|
||||||
var ERROR: boolean;
|
var ERROR: boolean;
|
||||||
|
|
||||||
var heightmapTemplates: any;
|
var heightmapTemplates: any;
|
||||||
var Names: any;
|
var Names: any;
|
||||||
|
|
||||||
var pointsInput: HTMLInputElement;
|
var pointsInput: HTMLInputElement;
|
||||||
var heightExponentInput: HTMLInputElement;
|
var heightExponentInput: HTMLInputElement;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue