mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 02:01:22 +01:00
refactor: generation script
This commit is contained in:
parent
00d8d28d76
commit
c0f6ce00ef
11 changed files with 112 additions and 97 deletions
|
|
@ -10,7 +10,7 @@ import {parseError} from "utils/errorUtils";
|
|||
import {calculateVoronoi, findCell} from "utils/graphUtils";
|
||||
import {link} from "utils/linkUtils";
|
||||
import {minmax, rn} from "utils/numberUtils";
|
||||
import {regenerateMap} from "scripts/generation";
|
||||
import {regenerateMap} from "scripts/generation/generation";
|
||||
import {reMarkFeatures} from "modules/markup";
|
||||
import {closeDialogs} from "dialogs/utils";
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import {applyDropdownOption} from "utils/nodeUtils";
|
|||
import {minmax, rn} from "utils/numberUtils";
|
||||
import {gauss, P, rand, rw} from "utils/probabilityUtils";
|
||||
import {byId, stored} from "utils/shorthands";
|
||||
import {regenerateMap} from "scripts/generation";
|
||||
import {regenerateMap} from "scripts/generation/generation";
|
||||
import {fitScaleBar} from "modules/measurers";
|
||||
import {openDialog} from "dialogs";
|
||||
import {closeDialogs} from "dialogs/utils";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {parseError} from "utils/errorUtils";
|
|||
import {rn, minmax} from "utils/numberUtils";
|
||||
import {debounce} from "utils/functionUtils";
|
||||
import {restoreLayers} from "layers";
|
||||
import {undraw} from "scripts/generation";
|
||||
import {undraw} from "scripts/generation/generation";
|
||||
import {closeDialogs} from "dialogs/utils";
|
||||
|
||||
window.UISubmap = (function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue