mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor: import d3
This commit is contained in:
parent
1847772d74
commit
98ae3292fc
83 changed files with 709 additions and 69 deletions
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
import "./components";
|
||||
// @ts-expect-error js-module
|
||||
import {defineSvg} from "./modules/define-svg";
|
||||
// @ts-expect-error js-module
|
||||
import {clearLegend} from "./modules/legend";
|
||||
// @ts-expect-error js-module
|
||||
import {Rulers} from "./modules/measurers";
|
||||
|
|
@ -37,8 +39,8 @@ statesNeutral = 1; // statesEditor growth parameter
|
|||
applyStoredOptions();
|
||||
|
||||
rulers = new Rulers();
|
||||
biomesData = Biomes.getDefault();
|
||||
nameBases = Names.getNameBases(); // cultures-related data
|
||||
biomesData = window.Biomes.getDefault();
|
||||
nameBases = window.Names.getNameBases(); // cultures-related data
|
||||
|
||||
// voronoi graph extension, cannot be changed after generation
|
||||
graphWidth = getInputNumber("mapWidthInput");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue