diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-22 02:28:31 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-22 02:28:31 +0800 |
| commit | ef78374c316587fb585b72e6d427cd6e61203655 (patch) | |
| tree | 9eb176889054c07449debaf2a9d169ffe1851a0d /src/LivingVillage.Desktop/LivingVillage.Desktop.fsproj | |
| parent | 5e036da9dfb1fe7f9e4f5e48414a8a1176292655 (diff) | |
| download | living-village-ef78374c316587fb585b72e6d427cd6e61203655.tar.gz | |
feat(mapgen): 参数化确定性生成器与视口裁剪(P20 第一步)
- 新增纯函数 MapGen:尺寸参数化(默认 64x48,可 256x192),splitmix64
随机游走河道 + 2-3 octave value noise + 泊松式布点;核心区整平后以 BFS
校验 5x6=30 个 spawn 全部可达,不可达确定性修整并复验。
- visibleTileRange/visibleTileCount 纯函数,drawWorld 改为调用之(行为不变);
drawMapFitted/drawMapViewport 仅证据用。
- 存档沿用 v2/v3 边界字段,补参数化边界 round-trip 测试,未改 Sim 语义。
- 回归:Desktop 109->115、Kernel 89->90;final_digest 与基线一致。
Diffstat (limited to 'src/LivingVillage.Desktop/LivingVillage.Desktop.fsproj')
| -rw-r--r-- | src/LivingVillage.Desktop/LivingVillage.Desktop.fsproj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LivingVillage.Desktop/LivingVillage.Desktop.fsproj b/src/LivingVillage.Desktop/LivingVillage.Desktop.fsproj index d57036b..739b750 100644 --- a/src/LivingVillage.Desktop/LivingVillage.Desktop.fsproj +++ b/src/LivingVillage.Desktop/LivingVillage.Desktop.fsproj @@ -9,6 +9,7 @@ <Compile Include="VillagePresentation.fs" /> <Compile Include="WorldBootstrap.fs" /> <Compile Include="ProceduralMap.fs" /> + <Compile Include="MapGen.fs" /> <Compile Include="VillageArt.fs" /> <Compile Include="ChineseText.fs" /> <Compile Include="CjkGlyphAtlas.fs" /> |
