mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21:24 +01:00
refactor: markupPackFeatures
This commit is contained in:
parent
87d8c1024d
commit
f82fcbae0f
8 changed files with 271 additions and 178 deletions
|
|
@ -17,7 +17,7 @@ import {setDefaultEventHandlers} from "scripts/events";
|
|||
import {undraw} from "scripts/generation/generation";
|
||||
import {prompt} from "scripts/prompt";
|
||||
import {rankCells} from "scripts/rankCells";
|
||||
import {reGraph} from "scripts/reGraph";
|
||||
import {repackGrid, markupPackFeatures} from "scripts/reGraph";
|
||||
import {clearMainTip, showMainTip, tip} from "scripts/tooltips";
|
||||
import {createTypedArray, last} from "utils/arrayUtils";
|
||||
import {getColorScheme, getHeightColor} from "utils/colorUtils";
|
||||
|
|
@ -223,8 +223,8 @@ export function open(options) {
|
|||
OceanLayers(grid);
|
||||
calculateTemperatures(grid);
|
||||
generatePrecipitation(grid);
|
||||
reGraph(grid);
|
||||
reMarkFeatures(pack, newGrid);
|
||||
repackGrid(grid);
|
||||
markupPackFeatures(pack, newGrid);
|
||||
drawCoastline(pack);
|
||||
|
||||
Rivers.generate(pack, grid, erosionAllowed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue