This commit is contained in:
33333-33333 2026-05-21 03:13:39 +09:00
commit f420a3f8f3
13 changed files with 396 additions and 325 deletions

View file

@ -8,13 +8,9 @@ import {
smoothAdminRegionsTerrainAware,
snapAdminBoundariesToTerrain,
} from "./adminRegions.js";
import { pickEntities } from "./entitySelection.js";
import { createMapFields } from "./fields.js";
import { MinHeap } from "./graph.js";
import { CELL_SIZE, INF, MAP_H, MAP_W, SIZE, clamp, indexOf, inside, nearMapEdge, xyOf } from "./grid.js";
import { fbm, hash2, lerp, rand, smoothstep, valueNoise } from "./random.js";
import { CELL_SIZE, INF, MAP_H, MAP_W, SIZE, MinHeap, clamp, createMapFields, fbm, hash2, indexOf, inside, lerp, nearMapEdge, pickEntities, rand, smoothstep, valueNoise, xyOf } from "./mapUtils.js";
export { CELL_SIZE, MAP_H, MAP_W, indexOf } from "./grid.js";
export { CELL_SIZE, MAP_H, MAP_W, indexOf } from "./mapUtils.js";
function neighbors8(x, y) {
const out = [];